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.AbelianModuli.HilbertConstruction.AcyclicSheafResolution |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 3 | |
| 4 | /-! # Sheaf Complex Global Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SheafComplexGlobalSections.IntrinsicCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An exact nonnegative complex of acyclic additive sheaves remains exact |
| 11 | on global sections. A zero next term makes the corresponding section map surjective. -/ |
| 12 | open scoped ZeroObject |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | universe u |
| 15 | variable {X : TopCat.{u}} |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false in |
| 18 | theorem acyclic_sheafComplex_sections_exact |
| 19 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{u} X) ℕ) (hK : K.Acyclic) |
| 20 | (hH : ∀ i q, Subsingleton (CategoryTheory.Sheaf.H (K.X i) (q + 1))) |
| 21 | (n : ℕ) (x : (K.X (n + 1)).obj.obj (op ⊤)) |
| 22 | (hx : (K.d (n + 1) (n + 2)).hom.app (op ⊤) x = 0) : |
| 23 | ∃ y : (K.X n).obj.obj (op ⊤), (K.d n (n + 1)).hom.app (op ⊤) y = x := by |
| 24 | let e : (0 : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) ⟶ K.X 0 := 0 |
| 25 | have w : e ≫ K.d 0 1 = 0 := zero_comp |
| 26 | have hs : (K.sc' 0 0 1).Exact := |
| 27 | (K.exactAt_iff' 0 0 1 (by simp) (by simp)).mp (hK 0) |
| 28 | have : Mono (K.d 0 1) := hs.mono_g (K.shape 0 0 (by simp)) |
| 29 | have haug : (ShortComplex.mk e (K.d 0 1) w).Exact := |
| 30 | ((ShortComplex.mk e (K.d 0 1) w).exact_iff_mono rfl).mpr inferInstance |
| 31 | have hpos (i : ℕ) : (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K i).Exact := |
| 32 | (K.exactAt_iff' i (i + 1) (i + 2) (by simp) (by simp)).mp (hK (i + 1)) |
| 33 | exact AcyclicSheafResolution.IntrinsicCech.acyclicResolution_sections_exact_succ K e w haug hpos |
| 34 | (fun q => CategoryTheory.Sheaf.subsingleton_H_of_isZero (isZero_zero _) (q + 1)) hH n x hx |
| 35 | |
| 36 | theorem acyclic_sheafComplex_last_sections_surjective |
| 37 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{u} X) ℕ) (hK : K.Acyclic) |
| 38 | (hH : ∀ i q, Subsingleton (CategoryTheory.Sheaf.H (K.X i) (q + 1))) |
| 39 | (n : ℕ) (hnext : IsZero (K.X (n + 2))) : |
| 40 | Function.Surjective ((K.d n (n + 1)).hom.app (op (⊤ : Opens X))) := by |
| 41 | intro x |
| 42 | apply acyclic_sheafComplex_sections_exact K hK hH n x |
| 43 | rw [hnext.eq_of_tgt (K.d (n + 1) (n + 2)) 0] |
| 44 | rfl |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SheafComplexGlobalSections.IntrinsicCech |