Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Moduli |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.ReferenceFrame |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.FiniteCoordinates |
| 4 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.SplitCoordinates |
| 5 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.LocalPadic |
| 6 | |
| 7 | /-! # Prime Bounds -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrimeBounds.Intrinsic |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! All bounds needed by the retained test and the chosen integral model |
| 14 | are fixed before the prime. The split-coordinate bound applies to every |
| 15 | later q-adic choice, including the one required by comparison. -/ |
| 16 | |
| 17 | open scoped Classical _root_.Matrix |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.ReferenceFrame.ParameterChoices |
| 20 | |
| 21 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 22 | |
| 23 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 24 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 25 | (hμ : P.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 26 | {MpR MpF MpA : Type} [Group MpR] [Group MpF] [Group MpA] |
| 27 | (W : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.WeilData (Fin s × Fin 3) MpR MpF MpA) |
| 28 | (R : PreprimeCalibration.Intrinsic.RetainedPreprimeData E P hP hμ v hv W) |
| 29 | (M : Moduli.Intrinsic.RetainedModuli E P hP hμ v hv W R) |
| 30 | |
| 31 | def retainedSplitCoordinateBound : ℕ := (PELModuli.CMPoints.SplitCoordinates.exists_split_coordinates_bound E).choose |
| 32 | |
| 33 | def retainedQadicChoiceBound : ℕ := |
| 34 | (PELModuli.CMPoints.LocalPadic.exists_qadicChoice_bound M.integral.base.embedding).choose |
| 35 | |
| 36 | def retainedPrimeBounds : Finset ℕ := |
| 37 | {2, R.thetaTest.level, |
| 38 | Intrinsic.FiniteCoordinates.nativeCoordinateBound E P hP v R.coordinates R.pairing, |
| 39 | Intrinsic.ReferenceFrame.ParameterChoices.referenceFrameBound E P hP, M.level, M.integral.base.denominator, |
| 40 | ∏ i, P.polarizationType i, retainedSplitCoordinateBound E, |
| 41 | retainedQadicChoiceBound E P hP hμ v hv W R M} |
| 42 | |
| 43 | def retainedPrimeBound : ℕ := (retainedPrimeBounds E P hP hμ v hv W R M).sup id |
| 44 | |
| 45 | structure RetainedPrimeConditions (q : ℕ) [Fact q.Prime] : Prop where |
| 46 | test_large : max 2 (max R.thetaTest.level |
| 47 | (Intrinsic.FiniteCoordinates.nativeCoordinateBound E P hP v R.coordinates R.pairing)) < q |
| 48 | frame_large : Intrinsic.ReferenceFrame.ParameterChoices.referenceFrameBound E P hP < q |
| 49 | level_coprime : q.Coprime M.level |
| 50 | denominator_coprime : q.Coprime M.integral.base.denominator |
| 51 | polarization_coprime : q.Coprime (∏ i, P.polarizationType i) |
| 52 | split_coordinates : ∀ (K : Type) [Field K] [NumberField K] |
| 53 | (κ : K →+* ℂ) (iota : E →+* K) (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q), |
| 54 | j.HasSplitCoordinates iota |
| 55 | qadic_choice : PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt M.integral.base.extension.carrier q → |
| 56 | Nonempty (PELModuli.CMPoints.Arithmetic.QadicChoice M.integral.base.extension.carrier M.integral.base.embedding q) |
| 57 | |
| 58 | theorem retained_prime_conditions {q : ℕ} [Fact q.Prime] |
| 59 | (hq : retainedPrimeBound E P hP hμ v hv W R M < q) : |
| 60 | RetainedPrimeConditions E P hP hμ v hv W R M q := by |
| 61 | have hb : ∀ n ∈ retainedPrimeBounds E P hP hμ v hv W R M, n < q := by |
| 62 | intro n hn |
| 63 | exact lt_of_le_of_lt (Finset.le_sup (f := id) hn) hq |
| 64 | have htwo : 2 < q := hb _ (by simp [retainedPrimeBounds]) |
| 65 | have htest : R.thetaTest.level < q := hb _ (by simp [retainedPrimeBounds]) |
| 66 | have hcoord : Intrinsic.FiniteCoordinates.nativeCoordinateBound E P hP v R.coordinates R.pairing < q := |
| 67 | hb _ (by simp [retainedPrimeBounds]) |
| 68 | have hframe : Intrinsic.ReferenceFrame.ParameterChoices.referenceFrameBound E P hP < q := hb _ (by simp [retainedPrimeBounds]) |
| 69 | have hlevel : M.level < q := hb _ (by simp [retainedPrimeBounds]) |
| 70 | have hden : M.integral.base.denominator < q := hb _ (by simp [retainedPrimeBounds]) |
| 71 | have hpol : (∏ i, P.polarizationType i) < q := hb _ (by simp [retainedPrimeBounds]) |
| 72 | have hsplit : retainedSplitCoordinateBound E < q := hb _ (by simp [retainedPrimeBounds]) |
| 73 | have hchoice : retainedQadicChoiceBound E P hP hμ v hv W R M < q := |
| 74 | hb _ (by simp [retainedPrimeBounds]) |
| 75 | have hpolpos : 0 < ∏ i, P.polarizationType i := by |
| 76 | apply Finset.prod_pos |
| 77 | intro i _ |
| 78 | exact hP.2.2.2.2.2.2.2.2.2.2.2.2.2.1 i |
| 79 | refine ⟨max_lt htwo (max_lt htest hcoord), hframe, ?_, ?_, ?_, ?_, ?_⟩ |
| 80 | · exact Nat.coprime_of_lt_prime |
| 81 | (lt_of_lt_of_le (by decide : 0 < 3) M.level_ge_three).ne' hlevel (Fact.out : q.Prime) |
| 82 | · exact Nat.coprime_of_lt_prime M.integral.base.denominator_ne_zero hden (Fact.out : q.Prime) |
| 83 | · exact Nat.coprime_of_lt_prime hpolpos.ne' hpol (Fact.out : q.Prime) |
| 84 | · intro K _ _ κ iota j |
| 85 | exact (PELModuli.CMPoints.SplitCoordinates.exists_split_coordinates_bound E).choose_spec K κ iota q j hsplit |
| 86 | · exact (PELModuli.CMPoints.LocalPadic.exists_qadicChoice_bound M.integral.base.embedding).choose_spec q hchoice |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrimeBounds.Intrinsic |