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.SmallCover |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Sheaf |
| 3 | |
| 4 | /-! # Large Module At -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LargeModuleAt.LargeModuleFlasqueCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original small-cover Cech complex of a large flasque module sheaf |
| 11 | is exact in positive degrees. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | |
| 15 | universe u v w |
| 16 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 17 | (F : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{max u v w} R)) |
| 18 | {ι : Type} (U : ι → Opens X) |
| 19 | |
| 20 | def underlyingSheaf : TopCat.Sheaf AddCommGrpCat.{max u v w} X := |
| 21 | (sheafCompose (Opens.grothendieckTopology X) |
| 22 | (forget₂ (ModuleCat.{max u v w} R) AddCommGrpCat.{max u v w})).obj F |
| 23 | |
| 24 | instance underlying_flasque [hF : TopCat.Presheaf.IsFlasque (X := X) F.obj] : |
| 25 | TopCat.Sheaf.IsFlasque (underlyingSheaf R X F) where |
| 26 | epi i := by |
| 27 | let := hF.epi i |
| 28 | change Epi ((forget₂ (ModuleCat.{max u v w} R) AddCommGrpCat.{max u v w}).map (F.obj.map i)) |
| 29 | infer_instance |
| 30 | |
| 31 | theorem exactAt_succ [TopCat.Presheaf.IsFlasque (X := X) F.obj] (hU : iSup U = ⊤) (n : ℕ) : |
| 32 | ((cechComplexFunctor U).obj F.obj).ExactAt (n + 1) := by |
| 33 | let G := forget₂ (ModuleCat.{max u v w} R) AddCommGrpCat.{max u v w} |
| 34 | let K := (cechComplexFunctor U).obj F.obj |
| 35 | have h := SmallCover.SmallCoverFlasqueCech.exactAt_succ.{v, max u w} X (underlyingSheaf R X F) U hU n |
| 36 | have hm : ((G.mapHomologicalComplex (.up ℕ)).obj K).ExactAt (n + 1) := |
| 37 | h.of_iso (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G (FormalCoproduct.mk ι U).cech F.obj).symm |
| 38 | rw [HomologicalComplex.exactAt_iff' _ n (n + 1) (n + 2) (by simp) (by simp)] at hm ⊢ |
| 39 | exact (ShortComplex.moduleCat_exact_iff _).mpr ((ShortComplex.ab_exact_iff _).mp hm) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LargeModuleAt.LargeModuleFlasqueCech |