Mazur 13 port: diskCoord_double_mod_sq_of_cross
ProvedMazurProof.N13MumfordCenteredDoublingJet.diskCoord_double_mod_sq_of_crossThe two odd cross coefficients determine the actual doubled disk coordinates modulo the square of the original moving coordinate ideal. The constant and linear coefficients first put both coordinates of Q in the ideal of P; cancellation of the unit Q.x₁ is the only local-ring step. The remaining difference between polynomial and disk coordinates is a product of two first-order coordinates, hence quadratic.
This lemma is one step of a machine-checked proof that the genus-two curve
(a model of ) has no rational affine points other than the cusps , which gives the case of Mazur's torsion theorem. The proof is Xiang Huang's Lean development, ported to this Mathlib and split into one node per large lemma; definitions live in the layered entries MazurN13_L0, MazurN13_L1, ….
import Mathlib import Definitions.Def_MazurN13_L1 set_option backward.isDefEq.respectTransparency false set_option backward.isDefEq.respectTransparency.types false open MazurProof MazurProof.N13MumfordCenteredDoublingJet open Polynomial attribute [local instance] MazurProof.N13MumfordCenteredDoublingJet.instFactPrimeOfNatNat_fLT
theorem MazurProof.N13MumfordCenteredDoublingJet.diskCoord_double_mod_sq_of_cross (P Q : DiskPair) (h₁ : (P.u ^ 2 - N13AbelChartBase.baseSmoothMumford.u * Q.u).coeff 1 ∈ N13TwoAdicKernelChart.coordIdeal N13TwoAdicAbelChartData.DiskPair.coord P * N13TwoAdicKernelChart.coordIdeal N13TwoAdicAbelChartData.DiskPair.coord P) (h₃ : (P.u ^ 2 - N13AbelChartBase.baseSmoothMumford.u * Q.u).coeff 3 ∈ N13TwoAdicKernelChart.coordIdeal N13TwoAdicAbelChartData.DiskPair.coord P * N13TwoAdicKernelChart.coordIdeal N13TwoAdicAbelChartData.DiskPair.coord P) (i : Fin 2) : N13TwoAdicAbelChartData.DiskPair.coord Q i - (N13TwoAdicAbelChartData.DiskPair.coord P i + N13TwoAdicAbelChartData.DiskPair.coord P i) ∈ N13TwoAdicKernelChart.coordIdeal N13TwoAdicAbelChartData.DiskPair.coord P * N13TwoAdicKernelChart.coordIdeal N13TwoAdicAbelChartData.DiskPair.coord P := by sorry