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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SchemeModuleBaseCech.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.CosimplicialForget |
| 8 | |
| 9 | /-! # Complex Forget -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.ComplexForget |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.AlgebraicTopology _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | theorem coefficientCechComplex_d_succ |
| 19 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 20 | {ι : Type u} (U : ι → X.Opens) (i : ℕ) : |
| 21 | (Intrinsic.CoefficientCechComplex.coefficientCechComplex ρ M U).d i (i + 1) = |
| 22 | AlternatingCofaceMapComplex.objD |
| 23 | ((FormalCoproduct.cosimplicialObjectFunctor |
| 24 | (FormalCoproduct.mk _ U).cech).obj (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M)) i := by |
| 25 | change ((FormalCoproduct.cochainComplexFunctor |
| 26 | (FormalCoproduct.mk _ U).cech).obj (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M)).d |
| 27 | i (i + 1) = _ |
| 28 | rw [FormalCoproduct.cochainComplexFunctor_obj_d] |
| 29 | exact (CochainComplex.of_d _ _ i).trans rfl |
| 30 | |
| 31 | theorem cechComplex_d_succ |
| 32 | {X : Scheme.{u}} (M : X.Modules) {ι : Type u} |
| 33 | (U : ι → X.Opens) (i : ℕ) : |
| 34 | ((cechComplexFunctor U).obj (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf M).obj).d i (i + 1) = |
| 35 | AlternatingCofaceMapComplex.objD |
| 36 | ((FormalCoproduct.cosimplicialObjectFunctor |
| 37 | (FormalCoproduct.mk _ U).cech).obj (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf M).obj) i := by |
| 38 | change ((FormalCoproduct.cochainComplexFunctor |
| 39 | (FormalCoproduct.mk _ U).cech).obj (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf M).obj).d i (i + 1) = _ |
| 40 | rw [FormalCoproduct.cochainComplexFunctor_obj_d] |
| 41 | exact (CochainComplex.of_d _ _ i).trans rfl |
| 42 | |
| 43 | theorem coefficientCechCosimplicialIso_comm_d |
| 44 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 45 | {ι : Type u} (U : ι → X.Opens) (i : ℕ) : |
| 46 | (CosimplicialForget.coefficientCechCosimplicialIso ρ M U).hom.app (SimplexCategory.mk i) ≫ |
| 47 | AlternatingCofaceMapComplex.objD |
| 48 | ((FormalCoproduct.cosimplicialObjectFunctor |
| 49 | (FormalCoproduct.mk _ U).cech).obj (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf M).obj) i = |
| 50 | (Module.ProductForget.moduleForget R).map |
| 51 | (AlternatingCofaceMapComplex.objD |
| 52 | ((FormalCoproduct.cosimplicialObjectFunctor |
| 53 | (FormalCoproduct.mk _ U).cech).obj |
| 54 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M)) i) ≫ |
| 55 | (CosimplicialForget.coefficientCechCosimplicialIso ρ M U).hom.app |
| 56 | (SimplexCategory.mk (i + 1)) := by |
| 57 | simp only [AlternatingCofaceMapComplex.objD, Functor.map_sum, |
| 58 | Functor.map_zsmul, Preadditive.comp_sum, Preadditive.sum_comp, |
| 59 | Preadditive.comp_zsmul, Preadditive.zsmul_comp] |
| 60 | apply Finset.sum_congr rfl |
| 61 | intro k _ |
| 62 | exact congrArg ((-1 : ℤ) ^ (k : ℕ) • ·) |
| 63 | ((CosimplicialForget.coefficientCechCosimplicialIso ρ M U).hom.naturality |
| 64 | (SimplexCategory.δ k)).symm |
| 65 | |
| 66 | /-- Forgetting the base module structure on `coefficientCechComplex` gives the native |
| 67 | additive Cech complex of the underlying sheaf. -/ |
| 68 | noncomputable def coefficientCechComplexForgetIso |
| 69 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 70 | {ι : Type u} (U : ι → X.Opens) : |
| 71 | (((Module.ProductForget.moduleForget R).mapHomologicalComplex (.up ℕ)).obj |
| 72 | (Intrinsic.CoefficientCechComplex.coefficientCechComplex ρ M U)) ≅ |
| 73 | (cechComplexFunctor U).obj (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf M).obj := |
| 74 | HomologicalComplex.Hom.isoOfComponents |
| 75 | (fun n => (CosimplicialForget.coefficientCechCosimplicialIso ρ M U).app (SimplexCategory.mk n)) (by |
| 76 | intro i j hij |
| 77 | simp only [ComplexShape.up_Rel] at hij |
| 78 | subst j |
| 79 | rw [Functor.mapHomologicalComplex_obj_d] |
| 80 | rw [coefficientCechComplex_d_succ, cechComplex_d_succ] |
| 81 | exact coefficientCechCosimplicialIso_comm_d ρ M U i) |
| 82 | |
| 83 | @[simp] |
| 84 | theorem coefficientCechComplexForgetIso_hom_f |
| 85 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 86 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 87 | (coefficientCechComplexForgetIso ρ M U).hom.f n = |
| 88 | (CosimplicialForget.coefficientCechCosimplicialIso ρ M U).hom.app (SimplexCategory.mk n) := |
| 89 | rfl |
| 90 | |
| 91 | /-- The forgetful complex comparison preserves every concrete intersection component. -/ |
| 92 | theorem coefficientCechComplexForgetIso_component |
| 93 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 94 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) (i : Fin (n + 1) → ι) : |
| 95 | (coefficientCechComplexForgetIso ρ M U).hom.f n ≫ |
| 96 | Pi.π (fun a : Fin (n + 1) → ι => |
| 97 | M.presheaf.obj (op (∏ᶜ fun k : Fin (n + 1) => U (a k)))) i = |
| 98 | (Module.ProductForget.moduleForget R).map |
| 99 | (Pi.π (fun a : Fin (n + 1) → ι => Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n a) i) := by |
| 100 | rw [coefficientCechComplexForgetIso_hom_f] |
| 101 | exact CosimplicialForget.coefficientCechCosimplicialIso_hom_π ρ M U (SimplexCategory.mk n) i |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.ComplexForget |