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.CrystallineGroupLaw |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CrystallineEndAction |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.Specialization |
| 4 | |
| 5 | /-! # Crystalline -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Crystalline.CM.Hecke |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! GeometricComparison's actual Hecke presentations agree with the rational action |
| 12 | on crystalline H1. The same comparison carries their Frobenius polynomial |
| 13 | to the specified de Rham operators. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped TensorProduct |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CrystallineEndAction.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke |
| 18 | |
| 19 | variable {K : Type} [Field K] [NumberField K] |
| 20 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 21 | {H : Type} [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 22 | |
| 23 | def crystallineHecke (h : H) : Module.End ℚ_[q] A.Crystalline := |
| 24 | (ρ.presentation h).sum (fun f r => (r : ℚ_[q]) • A.crystallinePullback f) |
| 25 | |
| 26 | theorem crystallineFrobenius_eq_pullback : A.crystallineFrobenius = |
| 27 | NumberTheory.PadicHodge.GeometricComparison.Crystalline.CoefficientAdapter.rationalPullback q (FormalGeometry.Completion.Frobenius.Construction.finiteFieldSchemeFrobenius (ZMod q) A.specialFiber.scheme) := rfl |
| 28 | |
| 29 | theorem rationalAction_specializedHecke |
| 30 | (hgroup : CrystallineMonoidAction.CM.End.GroupLawIdentity q A.specialFiber.scheme) (h : H) : |
| 31 | CrystallineEndAction.CM.rationalAction q A.specialFiber.scheme hgroup |
| 32 | (MulOpposite.op (Specialized.CM.Hecke.specializedHeckeAction A ρ h)) = crystallineHecke A ρ h := by |
| 33 | let act : FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd A.specialFiber.scheme →+ Module.End ℚ_[q] A.Crystalline := |
| 34 | (CrystallineEndAction.CM.rationalAction q A.specialFiber.scheme hgroup).toRingHom.toAddMonoidHom.comp |
| 35 | MulOpposite.opAddEquiv.toAddMonoidHom |
| 36 | change act (Specialized.CM.Hecke.specializedHeckeAction A ρ h) = _ |
| 37 | rw [← Specialized.CM.Hecke.specializedHeckeAction_presentation, map_finsuppSum] |
| 38 | apply Finsupp.sum_congr |
| 39 | intro f _ |
| 40 | change CrystallineEndAction.CM.rationalAction q A.specialFiber.scheme hgroup |
| 41 | (MulOpposite.op ((ρ.presentation h f) ⊗ₜ[ℤ] Specialized.CM.Hecke.specialEndOfExtending A f)) = _ |
| 42 | rw [CrystallineEndAction.CM.rationalAction_tmul] |
| 43 | rfl |
| 44 | |
| 45 | theorem comparison_hecke |
| 46 | (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 47 | (hc : ∀ f x, cmp (A.crystallinePullback f x) = A.deRhamPullback f (cmp x)) |
| 48 | (h : H) (x : A.Crystalline) : |
| 49 | cmp (crystallineHecke A ρ h x) = A.deRhamHecke ρ h (cmp x) := by |
| 50 | simp only [crystallineHecke, NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.deRhamHecke, Finsupp.sum, |
| 51 | LinearMap.sum_apply, LinearMap.smul_apply, map_sum, map_smul, hc] |
| 52 | |
| 53 | theorem comparison_conj_hecke |
| 54 | (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 55 | (hc : ∀ f x, cmp (A.crystallinePullback f x) = A.deRhamPullback f (cmp x)) (h : H) : |
| 56 | cmp.conjRingEquiv (crystallineHecke A ρ h) = A.deRhamHecke ρ h := by |
| 57 | apply LinearMap.ext |
| 58 | intro x |
| 59 | change cmp (crystallineHecke A ρ h (cmp.symm x)) = _ |
| 60 | rw [comparison_hecke A ρ cmp hc, cmp.apply_symm_apply] |
| 61 | |
| 62 | theorem crystallineHecke_commute |
| 63 | (hgroup : CrystallineMonoidAction.CM.End.GroupLawIdentity q A.specialFiber.scheme) (h k : H) : |
| 64 | Commute (crystallineHecke A ρ h) (crystallineHecke A ρ k) := by |
| 65 | have hs : Commute (Specialized.CM.Hecke.specializedHeckeAction A ρ h) (Specialized.CM.Hecke.specializedHeckeAction A ρ k) := by |
| 66 | change Specialized.CM.Hecke.specializedHeckeAction A ρ h * Specialized.CM.Hecke.specializedHeckeAction A ρ k = _ |
| 67 | rw [← map_mul, mul_comm h k, map_mul] |
| 68 | have hm := hs.op.map (CrystallineEndAction.CM.rationalAction q A.specialFiber.scheme hgroup) |
| 69 | simpa only [rationalAction_specializedHecke] using hm |
| 70 | |
| 71 | theorem crystallineFrobenius_hecke_commute |
| 72 | (hgroup : CrystallineMonoidAction.CM.End.GroupLawIdentity q A.specialFiber.scheme) (h : H) : |
| 73 | Commute A.crystallineFrobenius (crystallineHecke A ρ h) := by |
| 74 | have hm := (FormalGeometry.Completion.Endomorphisms.Construction.rationalAlgebraicFrobenius_commutes (ZMod q) A.specialFiber.scheme |
| 75 | (Specialized.CM.Hecke.specializedHeckeAction A ρ h)).op.map (CrystallineEndAction.CM.rationalAction q A.specialFiber.scheme hgroup) |
| 76 | rw [crystallineFrobenius_eq_pullback] |
| 77 | simpa only [CrystallineEndAction.CM.rationalAction_frobenius, rationalAction_specializedHecke] using hm |
| 78 | |
| 79 | theorem deRhamHecke_commute |
| 80 | (hgroup : CrystallineMonoidAction.CM.End.GroupLawIdentity q A.specialFiber.scheme) |
| 81 | (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 82 | (hc : ∀ f x, cmp (A.crystallinePullback f x) = A.deRhamPullback f (cmp x)) (h k : H) : |
| 83 | Commute (A.deRhamHecke ρ h) (A.deRhamHecke ρ k) := by |
| 84 | have hm := (crystallineHecke_commute A ρ hgroup h k).map cmp.conjRingEquiv |
| 85 | simpa only [comparison_conj_hecke A ρ cmp hc] using hm |
| 86 | |
| 87 | theorem deRhamFrobenius_hecke_commute |
| 88 | (hgroup : CrystallineMonoidAction.CM.End.GroupLawIdentity q A.specialFiber.scheme) |
| 89 | (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 90 | (hc : ∀ f x, cmp (A.crystallinePullback f x) = A.deRhamPullback f (cmp x)) (h : H) : |
| 91 | Commute (cmp.conjRingEquiv A.crystallineFrobenius) (A.deRhamHecke ρ h) := by |
| 92 | have hm := (crystallineFrobenius_hecke_commute A ρ hgroup h).map cmp.conjRingEquiv |
| 93 | simpa only [comparison_conj_hecke A ρ cmp hc] using hm |
| 94 | |
| 95 | theorem comparisonFrobenius_linear |
| 96 | (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 97 | (phi : A.Crystalline ≃ₗ[ℚ_[q]] A.Crystalline) |
| 98 | (hphi : phi.toLinearMap = A.crystallineFrobenius) : |
| 99 | cmp.conjRingEquiv A.crystallineFrobenius = |
| 100 | (cmp.symm.trans (phi.trans cmp)).toLinearMap := by |
| 101 | rw [← hphi] |
| 102 | rfl |
| 103 | |
| 104 | theorem crystalline_polynomial_from_specialized |
| 105 | (hgroup : CrystallineMonoidAction.CM.End.GroupLawIdentity q A.specialFiber.scheme) (h : Fin 3 → H) |
| 106 | (hp : Ordinary.Polynomial.CM.heckePolynomialValue q |
| 107 | (FormalGeometry.Completion.Endomorphisms.Construction.rationalAlgebraicFrobenius (ZMod q) A.specialFiber.scheme) |
| 108 | (fun i => Specialized.CM.Hecke.specializedHeckeAction A ρ (h i)) = 0) : |
| 109 | Ordinary.Polynomial.CM.heckePolynomialValue q A.crystallineFrobenius |
| 110 | (fun i => crystallineHecke A ρ (h i)) = 0 := by |
| 111 | have hc := CrystallineEndAction.CM.crystalline_polynomial q A.specialFiber.scheme hgroup |
| 112 | (fun i => Specialized.CM.Hecke.specializedHeckeAction A ρ (h i)) hp |
| 113 | rw [crystallineFrobenius_eq_pullback] |
| 114 | simpa only [rationalAction_specializedHecke] using hc |
| 115 | |
| 116 | theorem deRham_polynomial_from_crystalline |
| 117 | (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 118 | (hc : ∀ f x, cmp (A.crystallinePullback f x) = A.deRhamPullback f (cmp x)) |
| 119 | (h : Fin 3 → H) |
| 120 | (hp : Ordinary.Polynomial.CM.heckePolynomialValue q A.crystallineFrobenius |
| 121 | (fun i => crystallineHecke A ρ (h i)) = 0) : |
| 122 | Ordinary.Polynomial.CM.heckePolynomialValue q (cmp.conjRingEquiv A.crystallineFrobenius) |
| 123 | (fun i => A.deRhamHecke ρ (h i)) = 0 := by |
| 124 | have hmap := congrArg cmp.conjRingEquiv hp |
| 125 | simpa only [Ordinary.Polynomial.CM.heckePolynomialValue, map_sub, map_add, |
| 126 | map_mul, map_pow, map_nsmul, map_zero, comparison_conj_hecke A ρ cmp hc] using hmap |
| 127 | |
| 128 | /-- The full comparison prerequisite supplies the H1 group law on the |
| 129 | product model. The original model's comparison then transports the |
| 130 | actual special-fiber polynomial with its given Hecke presentations. -/ |
| 131 | theorem deRham_polynomial_from_full_GeometricComparison |
| 132 | (hGeometricComparison : NumberTheory.PadicHodge.GeometricComparisonAdapter.CM.ExtremeSlopes.GeometricComparisonInput) |
| 133 | (κ : K →+* AlgebraicClosure ℚ) (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 134 | (iota : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 135 | (hplace : (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp jq = iota.comp κ) |
| 136 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (jComplex.comp κ)).scheme.left |
| 137 | (A.complexFiber (jComplex.comp κ)).scheme.hom) |
| 138 | (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) |
| 139 | (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 140 | (hc : ∀ f x, cmp (A.crystallinePullback f x) = A.deRhamPullback f (cmp x)) |
| 141 | (h : Fin 3 → H) |
| 142 | (hp : Ordinary.Polynomial.CM.heckePolynomialValue q |
| 143 | (FormalGeometry.Completion.Endomorphisms.Construction.rationalAlgebraicFrobenius (ZMod q) A.specialFiber.scheme) |
| 144 | (fun i => Specialized.CM.Hecke.specializedHeckeAction A ρ (h i)) = 0) : |
| 145 | Ordinary.Polynomial.CM.heckePolynomialValue q (cmp.conjRingEquiv A.crystallineFrobenius) |
| 146 | (fun i => A.deRhamHecke ρ (h i)) = 0 := |
| 147 | deRham_polynomial_from_crystalline A ρ cmp hc h |
| 148 | (crystalline_polynomial_from_specialized A ρ |
| 149 | (CrystallineGroupLaw.CM.groupLaw_from_full_GeometricComparison A hGeometricComparison κ jComplex iota hplace P ℓ hℓq) h hp) |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Crystalline.CM.Hecke |