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.Ordered.CoefficientCechTerms |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PresheafAdditive |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FormalCoproductEvaluationAdditive |
| 4 | import Mathlib.CategoryTheory.Sites.SheafCohomology.Cech |
| 5 | |
| 6 | /-! # Coefficient Cech Complex -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.CoefficientCechComplex |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The native tuple-indexed Čech complex retains its actual coefficient-module structure. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 16 | |
| 17 | def coefficientCechComplex (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 18 | {ι : Type u} (U : ι → X.Opens) : CochainComplex (ModuleCat.{u} R) ℕ := |
| 19 | (cechComplexFunctor U).obj (Coefficient.ModulePresheaf.coefficientModulePresheaf c M) |
| 20 | |
| 21 | def coefficientCechComplexFunctor (c : R →+* Γ(X, ⊤)) |
| 22 | {ι : Type u} (U : ι → X.Opens) : X.Modules ⥤ CochainComplex (ModuleCat.{u} R) ℕ := |
| 23 | Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor c ⋙ cechComplexFunctor U |
| 24 | |
| 25 | @[simp] theorem coefficientCechComplexFunctor_obj (c : R →+* Γ(X, ⊤)) |
| 26 | {ι : Type u} (U : ι → X.Opens) (M : X.Modules) : |
| 27 | (coefficientCechComplexFunctor c U).obj M = coefficientCechComplex c M U := rfl |
| 28 | |
| 29 | instance moduleCatNativeCechComplexFunctor_preservesZeroMorphisms |
| 30 | {ι : Type u} (U : ι → X.Opens) : |
| 31 | (cechComplexFunctor (A := ModuleCat.{u} R) U).PreservesZeroMorphisms where |
| 32 | map_zero F G := by |
| 33 | apply HomologicalComplex.Hom.ext |
| 34 | funext n |
| 35 | change Limits.Pi.map (fun _ ↦ 0) = 0 |
| 36 | refine Pi.hom_ext _ _ fun i ↦ ?_ |
| 37 | rw [Pi.map_π, comp_zero] |
| 38 | exact zero_comp.symm |
| 39 | |
| 40 | instance coefficientCechComplexFunctor_preservesZeroMorphisms |
| 41 | (c : R →+* Γ(X, ⊤)) {ι : Type u} (U : ι → X.Opens) : |
| 42 | (coefficientCechComplexFunctor c U).PreservesZeroMorphisms where |
| 43 | map_zero M N := by |
| 44 | change (cechComplexFunctor U).map ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor c).map (0 : M ⟶ N)) = 0 |
| 45 | have h : (Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor c).map (0 : M ⟶ N) = 0 := rfl |
| 46 | rw [h] |
| 47 | exact Functor.map_zero _ _ _ |
| 48 | |
| 49 | def coefficientCechXIsoPi (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 50 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 51 | (coefficientCechComplex c M U).X n ≅ |
| 52 | ModuleCat.of R (∀ i : Fin (n + 1) → ι, Ordered.CoefficientCechTerms.coefficientCechFactor c M U n i) := |
| 53 | ModuleCat.piIsoPi _ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.CoefficientCechComplex |