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.MappingConeContractions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.RestrictionLimits |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.MapCoverEquality |
| 4 | |
| 5 | /-! # Complex Local Exactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.ComplexLocalExactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Zero modules and exact complexes are detected on actual open restrictions. Local contracting homotopies therefore imply global exactness. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u v |
| 14 | |
| 15 | theorem module_zero_of_restricted_zero {X : Scheme.{u}} {ι : Type v} |
| 16 | (U : ι → X.Opens) (hU : ∀ x : X, ∃ i, x ∈ U i) (M : X.Modules) |
| 17 | (hM : ∀ i, IsZero ((Scheme.Modules.restrictFunctor (U i).ι).obj M)) : IsZero M := by |
| 18 | apply (IsZero.iff_id_eq_zero M).mpr |
| 19 | apply MapCoverEquality.moduleMap_eq_of_restrict_cover U hU |
| 20 | intro i |
| 21 | exact (hM i).eq_of_src _ _ |
| 22 | |
| 23 | theorem cochain_acyclic_of_contractible {C : Type u} [Category.{v} C] [Abelian C] |
| 24 | (K : CochainComplex C ℤ) (hK : Nonempty (Homotopy (𝟙 K) 0)) : K.Acyclic := by |
| 25 | obtain ⟨h⟩ := hK |
| 26 | intro i |
| 27 | apply (K.exactAt_iff_isZero_homology i).mpr |
| 28 | apply (IsZero.iff_id_eq_zero _).mpr |
| 29 | simpa only [HomologicalComplex.homologyMap_id, HomologicalComplex.homologyMap_zero] |
| 30 | using h.homologyMap_eq i |
| 31 | |
| 32 | local instance e33LocalExactnessPullbackAdditive {X Y : Scheme.{u}} (f : Y ⟶ X) : |
| 33 | (Scheme.Modules.pullback f).Additive := by |
| 34 | have := preservesBinaryBiproducts_of_preservesBinaryCoproducts (Scheme.Modules.pullback f) |
| 35 | exact CategoryTheory.Functor.additive_of_preservesBinaryBiproducts _ |
| 36 | |
| 37 | theorem moduleComplex_acyclic_of_pullback_contractible_cover {X : Scheme.{u}} {ι : Type v} |
| 38 | (K : CochainComplex X.Modules ℤ) (U : ι → X.Opens) |
| 39 | (hU : ∀ x : X, ∃ i, x ∈ U i) |
| 40 | (hK : ∀ i, Nonempty (Homotopy |
| 41 | (𝟙 (((Scheme.Modules.pullback (U i).ι).mapHomologicalComplex (.up ℤ)).obj K)) 0)) : |
| 42 | K.Acyclic := by |
| 43 | intro n |
| 44 | apply (K.exactAt_iff_isZero_homology n).mpr |
| 45 | apply module_zero_of_restricted_zero U hU (K.homology n) |
| 46 | intro i |
| 47 | let R := Scheme.Modules.restrictFunctor (U i).ι |
| 48 | let : PreservesLimits R := RestrictionLimits.moduleRestrictFunctor_preservesLimits (U i).ι |
| 49 | let : PreservesColimits R := |
| 50 | preservesColimits_of_natIso (Scheme.Modules.restrictFunctorIsoPullback (U i).ι).symm |
| 51 | let : R.Additive := Functor.additive_of_preserves_binary_products R |
| 52 | let e := (NatIso.mapHomologicalComplex |
| 53 | (Scheme.Modules.restrictFunctorIsoPullback (U i).ι) (.up ℤ)).app K |
| 54 | have hR := MappingConeContractions.cochainContractible_of_iso e (hK i) |
| 55 | have hzero := (((R.mapHomologicalComplex (.up ℤ)).obj K).exactAt_iff_isZero_homology n).mp |
| 56 | (cochain_acyclic_of_contractible _ hR n) |
| 57 | exact ((K.sc n).mapHomologyIso R).isZero_iff.mp hzero |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.ComplexLocalExactness |