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.HeckeCycles.Intrinsic.SpecialDetection |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryPolynomial |
| 3 | |
| 4 | /-! # Detected Polynomial -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.DetectedPolynomial.CM |
| 11 | |
| 12 | /-! The actual prime-field Frobenius satisfies the Hecke polynomial. |
| 13 | IntegralModel generation and CMPoints density supply detection, while the ordinary |
| 14 | Frobenius action and component preservation are proved from geometry. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius.CM.Ordinary OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseProduct.CM |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.PointFrobenius.CM |
| 21 | |
| 22 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 23 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 24 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 25 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) (a : M.Family) |
| 26 | |
| 27 | local notation "act" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointEvaluation.CM.action (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM.specialAlbanese R a) (OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q) |
| 28 | local notation "aκ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a |
| 29 | |
| 30 | theorem polynomial_from_actual_ordinary_formulas |
| 31 | (hs : Smooth (M.integral a).toOver.hom) |
| 32 | (hS : ∀ i, Smooth ((M.components a).S i).hom) |
| 33 | (hA : ∀ i, AlbaneseProduct.CM.GoodGroupGeometry ((M.components a).A i).X) |
| 34 | (hgenerate : ∀ i, ∃ n : ℕ, 0 < n ∧ |
| 35 | ∀ t : PELModuli.IntegralModel.Base.GeometricPoint M.arithmetic.base, |
| 36 | Function.Surjective ((M.components a).sumOfDifferences i n t)) |
| 37 | (ho : IsOpen (R.ordinaryLocus a)) |
| 38 | (hd : ∀ x : R.geom a, Dense {y : connectedComponent x | R.IsOrdinary a y.val}) |
| 39 | (H : Fin 3 → FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (Intrinsic.Frobenius.CM.specialAlbanese R a).X) |
| 40 | (Z : Intrinsic.Detection.CM.ordinaryPoints R a → Intrinsic.Detection.CM.ordinaryPoints R a) |
| 41 | (Y : Intrinsic.Detection.CM.ordinaryPoints R a → Multiset (Intrinsic.Detection.CM.ordinaryPoints R a)) |
| 42 | (hH : ∀ (i : Fin 3) (x y : Intrinsic.Detection.CM.ordinaryPoints R a), x.1 = y.1 → |
| 43 | act (H i) (aκ x - aκ y) = |
| 44 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q (PointFrobenius.CM.ordinaryFrobenius R a hs) Z Y i x).map aκ).sum - |
| 45 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q (PointFrobenius.CM.ordinaryFrobenius R a hs) Z Y i y).map aκ).sum) : |
| 46 | Polynomial.CM.heckePolynomialValue q |
| 47 | (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (Intrinsic.Frobenius.CM.specialAlbanese R a).X) H = 0 := by |
| 48 | apply Intrinsic.SpecialDetection.CM.algebraic_detection R a hS hA hgenerate ho hd |
| 49 | intro x y hxy |
| 50 | exact SpecialOrdinaryPolynomial.CM.Ordinary.polynomial_annihilates_actual_ordinary_differences R a |
| 51 | hs H Z Y hH x y hxy |
| 52 | |
| 53 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.DetectedPolynomial.CM |
| 54 | |
| 55 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData |
| 56 | |
| 57 | /-! Compact predicates for the literal ordinary formulas and their |
| 58 | Frobenius polynomial, parameterized by operators on the original |
| 59 | Albanese. Their definitions contain no native evaluation-field data. -/ |
| 60 | |
| 61 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 62 | open scoped _root_.CategoryTheory.MonObj |
| 63 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM |
| 64 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius.CM.Ordinary OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseProduct.CM |
| 65 | |
| 66 | def Formulas {S G J : Type} [AddCommGroup G] (q : ℕ) |
| 67 | (component : S → J) (image : S → G) (X Z : S → S) (Y : S → Multiset S) |
| 68 | (H : Fin 3 → G → G) : Prop := |
| 69 | ∀ (i : Fin 3) (x y : S), component x = component y → |
| 70 | H i (image x - image y) = |
| 71 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q X Z Y i x).map image).sum - |
| 72 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q X Z Y i y).map image).sum |
| 73 | |
| 74 | def AlgebraFormulas {B S G J : Type} [AddCommGroup G] (q : ℕ) |
| 75 | (component : S → J) (image : S → G) (act : B → G → G) |
| 76 | (X Z : S → S) (Y : S → Multiset S) (H : Fin 3 → B) : Prop := |
| 77 | Formulas q component image X Z Y (fun i => act (H i)) |
| 78 | |
| 79 | theorem algebraFormulas_of_formulas {B S G J : Type} [AddCommGroup G] (q : ℕ) |
| 80 | (component : S → J) (image : S → G) (act : B → G → G) |
| 81 | (X Z : S → S) (Y : S → Multiset S) (H : Fin 3 → B) |
| 82 | (h : Formulas q component image X Z Y (fun i => act (H i))) : |
| 83 | AlgebraFormulas q component image act X Z Y H := h |
| 84 | |
| 85 | def Polynomial {B : Type*} [Ring B] (q : ℕ) (Φ : B) (H : Fin 3 → B) : Prop := |
| 86 | Polynomial.CM.heckePolynomialValue q Φ H = 0 |
| 87 | |
| 88 | theorem formulas_congr {S G J : Type} [AddCommGroup G] (q : ℕ) |
| 89 | (component : S → J) (image : S → G) (X : S → S) |
| 90 | {Z Z' : S → S} {Y Y' : S → Multiset S} {H H' : Fin 3 → G → G} |
| 91 | (hZ : Z = Z') (hY : Y = Y') (hH : H = H') |
| 92 | (h : Formulas q component image X Z Y H) : |
| 93 | Formulas q component image X Z' Y' H' := by |
| 94 | subst Z' |
| 95 | subst Y' |
| 96 | subst H' |
| 97 | exact h |
| 98 | |
| 99 | theorem polynomial_value {B : Type*} [Ring B] (q : ℕ) (Φ : B) (H : Fin 3 → B) |
| 100 | (h : Polynomial q Φ H) : Polynomial.CM.heckePolynomialValue q Φ H = 0 := h |
| 101 | |
| 102 | theorem polynomial_congr {B : Type*} [Ring B] (q : ℕ) (Φ : B) |
| 103 | {H H' : Fin 3 → B} (hH : H = H') (h : Polynomial q Φ H) : Polynomial q Φ H' := by |
| 104 | subst H' |
| 105 | exact h |
| 106 | |
| 107 | variable {E K : Type} [Field E] [NumberField E] |
| 108 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 109 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 110 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) (a : M.Family) |
| 111 | |
| 112 | local notation "act" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointEvaluation.CM.action (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM.specialAlbanese R a) (OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q) |
| 113 | |
| 114 | theorem polynomial_of_formulas |
| 115 | (hs : Smooth (M.integral a).toOver.hom) |
| 116 | (hS : ∀ i, Smooth ((M.components a).S i).hom) |
| 117 | (hA : ∀ i, AlbaneseProduct.CM.GoodGroupGeometry ((M.components a).A i).X) |
| 118 | (hgenerate : ∀ i, ∃ n : ℕ, 0 < n ∧ |
| 119 | ∀ t : PELModuli.IntegralModel.Base.GeometricPoint M.arithmetic.base, |
| 120 | Function.Surjective ((M.components a).sumOfDifferences i n t)) |
| 121 | (ho : IsOpen (R.ordinaryLocus a)) |
| 122 | (hd : ∀ x : R.geom a, Dense {y : connectedComponent x | R.IsOrdinary a y.val}) |
| 123 | (H : Fin 3 → FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (Intrinsic.Frobenius.CM.specialAlbanese R a).X) |
| 124 | (Z : Intrinsic.Detection.CM.ordinaryPoints R a → Intrinsic.Detection.CM.ordinaryPoints R a) |
| 125 | (Y : Intrinsic.Detection.CM.ordinaryPoints R a → Multiset (Intrinsic.Detection.CM.ordinaryPoints R a)) |
| 126 | (h : Formulas q (fun z : Intrinsic.Detection.CM.ordinaryPoints R a => z.1) (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a) |
| 127 | (PointFrobenius.CM.ordinaryFrobenius R a hs) Z Y (fun i => act (H i))) : |
| 128 | Polynomial q (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (Intrinsic.Frobenius.CM.specialAlbanese R a).X) H := |
| 129 | polynomial_from_actual_ordinary_formulas R a |
| 130 | hs hS hA hgenerate ho hd H Z Y h |
| 131 | |
| 132 | theorem polynomial_of_algebra_formulas |
| 133 | (hs : Smooth (M.integral a).toOver.hom) |
| 134 | (hS : ∀ i, Smooth ((M.components a).S i).hom) |
| 135 | (hA : ∀ i, AlbaneseProduct.CM.GoodGroupGeometry ((M.components a).A i).X) |
| 136 | (hgenerate : ∀ i, ∃ n : ℕ, 0 < n ∧ |
| 137 | ∀ t : PELModuli.IntegralModel.Base.GeometricPoint M.arithmetic.base, |
| 138 | Function.Surjective ((M.components a).sumOfDifferences i n t)) |
| 139 | (ho : IsOpen (R.ordinaryLocus a)) |
| 140 | (hd : ∀ x : R.geom a, Dense {y : connectedComponent x | R.IsOrdinary a y.val}) |
| 141 | (H : Fin 3 → FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (Intrinsic.Frobenius.CM.specialAlbanese R a).X) |
| 142 | (Z : Intrinsic.Detection.CM.ordinaryPoints R a → Intrinsic.Detection.CM.ordinaryPoints R a) |
| 143 | (Y : Intrinsic.Detection.CM.ordinaryPoints R a → Multiset (Intrinsic.Detection.CM.ordinaryPoints R a)) |
| 144 | (h : AlgebraFormulas q (fun z : Intrinsic.Detection.CM.ordinaryPoints R a => z.1) (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a) |
| 145 | (fun f => ⇑(act f)) |
| 146 | (PointFrobenius.CM.ordinaryFrobenius R a hs) Z Y H) : |
| 147 | Polynomial q (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (Intrinsic.Frobenius.CM.specialAlbanese R a).X) H := |
| 148 | polynomial_from_actual_ordinary_formulas R a |
| 149 | hs hS hA hgenerate ho hd H Z Y h |
| 150 | |
| 151 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI |