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.Affine.CechShortExact |
| 2 | import Mathlib.Algebra.Homology.HomologySequence |
| 3 | |
| 4 | /-! # Cech Cokernel -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.CechCokernel.AffineCechAcyclic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Positive Čech vanishing on rational affine charts is stable under taking the cokernel of an embedding into an injective sheaf. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable (R : Type) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 15 | |
| 16 | theorem cokernel (S : ShortComplex (Sheaf (Opens.grothendieckTopology X.left) (ModuleCat R))) |
| 17 | (hS : S.ShortExact) [Injective S.X₂] (hA : CechAcyclic.AffineCechAcyclic.Acyclic R X S.X₁) : CechAcyclic.AffineCechAcyclic.Acyclic R X S.X₃ := by |
| 18 | intro A _ _ _ f _ t ht n |
| 19 | have hC := CechShortExact.AffineCechAcyclic.shortExact R X S A f (fun a : t => a.val) hS hA |
| 20 | have hI := CechAcyclic.AffineCechAcyclic.injective R X S.X₂ A f t ht n |
| 21 | have hK := hA A f t ht (n + 1) |
| 22 | rw [HomologicalComplex.exactAt_iff_isZero_homology] |
| 23 | exact (hC.homology_exact₃ (n + 1) (n + 2) (by simp)).isZero_X₂ |
| 24 | (hI.isZero_homology.eq_of_src _ _) (hK.isZero_homology.eq_of_tgt _ _) |
| 25 | |
| 26 | end |
| 27 | |
| 28 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.CechCokernel.AffineCechAcyclic |