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.NumberTheory.PadicHodge.GeometricComparison.BettiGroupAction |
| 2 | import Mathlib.Algebra.Algebra.Opposite |
| 3 | |
| 4 | /-! # Hecke Action -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native Hecke presentations give a genuine rational algebra action on Betti cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | variable {K : Type} [Field K] [NumberField K] |
| 16 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 17 | (j : K →+* ℂ) |
| 18 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 19 | |
| 20 | def Geometry.AbelianH1Model.rationalBettiAction : |
| 21 | (AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd A.variety.scheme)ᵐᵒᵖ →ₐ[ℚ] Module.End ℚ (A.Betti j) := |
| 22 | AlgHom.opComm ((AlgHom.liftEquiv ℤ ℚ (AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.variety.scheme) |
| 23 | (Module.End ℚ (A.Betti j))ᵐᵒᵖ) |
| 24 | (AlgHom.opComm.symm (A.algebraicBettiRingAction j P).toIntAlgHom)) |
| 25 | |
| 26 | theorem Geometry.AbelianH1Model.rationalBettiAction_tmul (r : ℚ) (f : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.variety.scheme) : |
| 27 | A.rationalBettiAction j P (MulOpposite.op (r ⊗ₜ[ℤ] f)) = r • A.algebraicBettiPullback j f := rfl |
| 28 | |
| 29 | variable {H : Type} [CommRing H] [Algebra ℚ H] |
| 30 | |
| 31 | def Geometry.AbelianH1Model.bettiHeckeAction (ρ : A.HeckeRealization H) : H →ₐ[ℚ] Module.End ℚ (A.Betti j) := |
| 32 | (A.rationalBettiAction j P).comp |
| 33 | (ρ.action.toOpposite (fun h k => (Commute.all h k).map ρ.action.toMonoidHom)) |
| 34 | |
| 35 | theorem Geometry.AbelianH1Model.bettiHeckeAction_apply (ρ : A.HeckeRealization H) (h : H) : |
| 36 | A.bettiHeckeAction j P ρ h = A.bettiHecke j ρ h := by |
| 37 | classical |
| 38 | change A.rationalBettiAction j P (MulOpposite.op (ρ.action h)) = _ |
| 39 | rw [← ρ.represents h] |
| 40 | simp only [Finsupp.sum, Finset.op_sum, map_sum, Geometry.AbelianH1Model.rationalBettiAction_tmul] |
| 41 | rfl |
| 42 | |
| 43 | include P in |
| 44 | theorem Geometry.AbelianH1Model.bettiHecke_commute (ρ : A.HeckeRealization H) (h k : H) : |
| 45 | Commute (A.bettiHecke j ρ h) (A.bettiHecke j ρ k) := by |
| 46 | rw [← A.bettiHeckeAction_apply j P ρ h, ← A.bettiHeckeAction_apply j P ρ k] |
| 47 | exact (Commute.all h k).map (A.bettiHeckeAction j P ρ).toMonoidHom |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.GeometricComparison |