Mazur 13 port: exists_monic_square_root_of_relation
ProvedMazurProof.PadeZeroConstantSquare.exists_monic_square_root_of_relationhuang-flt-portmazur-full-torsionmazur-n13-portorder13
A unit-times-square identity with a monic quadratic-or-smaller factor forces that factor to be a monic square.
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, ….
Preamble
import Mathlib
set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false
open Polynomial
variable {K : Type*} [Field K]Formal statement
theorem MazurProof.PadeZeroConstantSquare.exists_monic_square_root_of_relation {q a l u : K[X]} (hq : IsUnit q) (hl : l ≠ 0) (huMonic : u.Monic) (huDeg : u.natDegree ≤ 2) (hRelation : q * l ^ 2 = a ^ 2 * u) : ∃ b : K[X], b.Monic ∧ b.natDegree ≤ 1 ∧ u = b ^ 2 := by sorrySource
Xiang Huang, FLT fork, https://github.com/xiangyazi24/FLT/blob/51bbb4f/FLT/Assumptions/MazurProof/PadeZeroConstantSquare.lean#L57