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.CoefficientCech.DegreeZeroLinearity |
| 2 | import Mathlib.RingTheory.Flat.CategoryTheory |
| 3 | |
| 4 | /-! # First Differential Injectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.FirstDifferentialInjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Vanishing global sections makes the first coefficient Cech differential injective. Tensoring on the right by a flat module preserves this actual differential's injectivity. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 12 | open _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] |
| 16 | |
| 17 | theorem moduleCochain_firstDifferential_injective |
| 18 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (hC : C.ExactAt 0) : |
| 19 | Function.Injective (C.d 0 1) := by |
| 20 | have hs : (C.sc' 0 0 1).Exact := |
| 21 | (C.exactAt_iff' 0 0 1 (by simp) (by simp)).mp hC |
| 22 | have hzero : C.d 0 0 = 0 := C.shape 0 0 (by simp) |
| 23 | intro x y hxy |
| 24 | have hsub : C.d 0 1 (x - y) = 0 := by rw [map_sub, hxy, sub_self] |
| 25 | obtain ⟨z, hz⟩ := ((C.sc' 0 0 1).moduleCat_exact_iff.mp hs) (x - y) hsub |
| 26 | change C.d 0 0 z = x - y at hz |
| 27 | apply sub_eq_zero.mp |
| 28 | calc |
| 29 | x - y = C.d 0 0 z := hz.symm |
| 30 | _ = 0 := by rw [hzero]; rfl |
| 31 | |
| 32 | theorem coefficientCech_firstDifferential_injective_of_sections_zero |
| 33 | {X : Scheme.{u}} (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 34 | {ι : Type u} (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 35 | (hM : Subsingleton Γ(M, ⊤)) : |
| 36 | Function.Injective ((Intrinsic.CoefficientCechComplex.coefficientCechComplex c M U).d 0 1) := by |
| 37 | let : Subsingleton ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor c).obj M) := hM |
| 38 | have hz : IsZero ((Intrinsic.CoefficientCechComplex.coefficientCechComplex c M U).homology 0) := |
| 39 | (CoefficientCech.DegreeZeroLinearity.coefficientCechZeroSectionsModuleIso c M U hU).isZero_iff.mp |
| 40 | (ModuleCat.isZero_of_subsingleton _) |
| 41 | exact moduleCochain_firstDifferential_injective (Intrinsic.CoefficientCechComplex.coefficientCechComplex c M U) |
| 42 | (((Intrinsic.CoefficientCechComplex.coefficientCechComplex c M U).exactAt_iff_isZero_homology 0).mpr hz) |
| 43 | |
| 44 | theorem coefficientCech_tensorRight_firstDifferential_injective |
| 45 | {X : Scheme.{u}} (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 46 | {ι : Type u} (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 47 | (hM : Subsingleton Γ(M, ⊤)) (V : ModuleCat.{u} R) [Module.Flat R V] : |
| 48 | Function.Injective ((tensorRight V ⋙ HilbertConstruction.Module.ProductForget.moduleForget R).map |
| 49 | ((Intrinsic.CoefficientCechComplex.coefficientCechComplex c M U).d 0 1)) := by |
| 50 | have : Mono ((Intrinsic.CoefficientCechComplex.coefficientCechComplex c M U).d 0 1) := |
| 51 | (ModuleCat.mono_iff_injective _).mpr |
| 52 | (coefficientCech_firstDifferential_injective_of_sections_zero c M U hU hM) |
| 53 | have : Mono ((tensorRight V ⋙ HilbertConstruction.Module.ProductForget.moduleForget R).map |
| 54 | ((Intrinsic.CoefficientCechComplex.coefficientCechComplex c M U).d 0 1)) := inferInstance |
| 55 | exact (AddCommGrpCat.mono_iff_injective _).mp this |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.FirstDifferentialInjectivity |