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.CoherentCrystallineComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AbelianProjectivePresentation |
| 3 | |
| 4 | /-! # Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.Comparison.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The full GeometricComparison comparison and ordinary polynomial use a constructed |
| 11 | projective presentation of the actual Albanese. An auxiliary prime |
| 12 | different from q is chosen internally. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke |
| 17 | |
| 18 | variable {K : Type} [Field K] [NumberField K] |
| 19 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 20 | (κ : K →+* AlgebraicClosure ℚ) (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 21 | (iota : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 22 | {H : Type} [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 23 | |
| 24 | def Conclusion (h : Fin 3 → H) : Prop := |
| 25 | ∃ hD : FiniteDimensional ℚ_[q] A.DeRham, |
| 26 | ∃ hC : FiniteDimensional ℚ_[q] A.Crystalline, |
| 27 | ∃ hB : FiniteDimensional ℂ (A.ComplexBetti (jComplex.comp κ)), |
| 28 | letI := hD |
| 29 | letI := hC |
| 30 | letI := hB |
| 31 | ∃ (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 32 | (φ : A.Crystalline ≃ₗ[ℚ_[q]] A.Crystalline) |
| 33 | (Fil : NumberTheory.PadicHodge.GeometricComparison.Linear.FiniteFiltration ℚ_[q] A.DeRham), |
| 34 | φ.toLinearMap = A.crystallineFrobenius ∧ Fil.step = A.Fil ∧ |
| 35 | let φdR := cmp.symm.trans (φ.trans cmp) |
| 36 | (∀ h k, Commute (A.deRhamHecke ρ h) (A.deRhamHecke ρ k)) ∧ |
| 37 | (∀ h, Commute φdR.toLinearMap (A.deRhamHecke ρ h)) ∧ |
| 38 | Ordinary.Polynomial.CM.heckePolynomialValue q φdR.toLinearMap |
| 39 | (fun i => A.deRhamHecke ρ (h i)) = 0 ∧ |
| 40 | NumberTheory.PadicHodge.ExtremeSlopesNewtonSummands.CM.Adapter.VerifiedNativePurityComparison A κ jComplex iota H ρ (AbelianProjectivePresentation.CM.presentation A (jComplex.comp κ)) Fil φdR |
| 41 | |
| 42 | theorem polynomial_and_purity |
| 43 | (hGeometricComparison : NumberTheory.PadicHodge.GeometricComparisonAdapter.CM.ExtremeSlopes.GeometricComparisonInput) |
| 44 | (hplace : (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp jq = iota.comp κ) |
| 45 | (h : Fin 3 → H) |
| 46 | (hp : Ordinary.Polynomial.CM.heckePolynomialValue q |
| 47 | (FormalGeometry.Completion.Endomorphisms.Construction.rationalAlgebraicFrobenius (ZMod q) A.specialFiber.scheme) |
| 48 | (fun i => Specialized.CM.Hecke.specializedHeckeAction A ρ (h i)) = 0) : |
| 49 | Conclusion A κ jComplex iota ρ h := by |
| 50 | let ℓ : ℕ := if q = 2 then 3 else 2 |
| 51 | have hprime : ℓ.Prime := by |
| 52 | dsimp only [ℓ] |
| 53 | split <;> decide |
| 54 | let : Fact ℓ.Prime := ⟨hprime⟩ |
| 55 | have hℓq : ℓ ≠ q := by |
| 56 | dsimp only [ℓ] |
| 57 | split <;> omega |
| 58 | exact CoherentCrystallineComparison.CM.polynomial_and_purity_from_full_GeometricComparison |
| 59 | A κ jComplex iota ρ (AbelianProjectivePresentation.CM.presentation A (jComplex.comp κ)) |
| 60 | hGeometricComparison hplace ℓ hℓq h hp |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.Comparison.CM |