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.ReferenceFamily.CoefficientSingularSheafResolution |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InjectiveSingularSheafSections |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.IntegerCoefficients |
| 4 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.AugmentationNaturality |
| 5 | |
| 6 | /-! # Integer Singular Sheaf Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegerSingularSheafComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual singular cohomology compared with ordinary locally constant |
| 13 | abelian-sheaf cohomology for injective integral coefficient modules. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.AugmentationNaturality OAI.AlgebraicGeometry.SheafCohomology.IntegerCoefficients.Projective |
| 18 | |
| 19 | abbrev integerModuleForget := forget₂ (ModuleCat.{0} ℤ) AddCommGrpCat.{0} |
| 20 | |
| 21 | variable (M : ModuleCat.{0} ℤ) (X : TopCat.{0}) |
| 22 | |
| 23 | def integerCoefficientSheafForget : TopCat.Sheaf (ModuleCat.{0} ℤ) X ⥤ |
| 24 | TopCat.Sheaf AddCommGrpCat.{0} X := SheafCohomology.IntegerCoefficients.Projective.integerSheafForget X |
| 25 | |
| 26 | instance integerCoefficientSheafForget_equivalence : (integerCoefficientSheafForget X).IsEquivalence := |
| 27 | inferInstanceAs (SheafCohomology.IntegerCoefficients.Projective.integerSheafForget X).IsEquivalence |
| 28 | |
| 29 | instance integerCoefficientSheafForget_additive : (integerCoefficientSheafForget X).Additive := |
| 30 | SheafCohomology.IntegerCoefficients.Projective.integerSheafForget_additive X |
| 31 | |
| 32 | abbrev integerLocallyConstantAbelianSheaf : TopCat.Sheaf AddCommGrpCat.{0} X := |
| 33 | (integerCoefficientSheafForget X).obj (LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf M X) |
| 34 | |
| 35 | abbrev integerAbelianSingularResolution : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ := |
| 36 | ((integerCoefficientSheafForget X).mapHomologicalComplex (.up ℕ)).obj (CoefficientSingularSheafResolution.coefficientSingularSheafComplex M X) |
| 37 | |
| 38 | def integerConstantAbelianZeroIso [LocallyPathConnectedSpace X] : |
| 39 | integerLocallyConstantAbelianSheaf M X ≅ (integerAbelianSingularResolution M X).homology 0 := |
| 40 | (integerCoefficientSheafForget X).mapIso (CoefficientSingularSheafResolution.coefficientLocallyConstantSheafZeroIso M X) ≪≫ |
| 41 | (((CoefficientSingularSheafResolution.coefficientSingularSheafComplex M X).sc 0).mapHomologyIso (integerCoefficientSheafForget X)).symm |
| 42 | |
| 43 | theorem integerAbelianSingularResolution_exact [StronglyLocallyContractibleSpace X] (n : ℕ) : |
| 44 | (integerAbelianSingularResolution M X).ExactAt (n + 1) := |
| 45 | (CoefficientSingularSheafResolution.coefficientSingularSheaf_exact M X n).map (integerCoefficientSheafForget X) |
| 46 | |
| 47 | theorem integerAbelianSingularResolution_flasque [MetrizableSpace X] (n : ℕ) : |
| 48 | TopCat.Sheaf.IsFlasque ((integerAbelianSingularResolution M X).X n) := by |
| 49 | have := CoefficientSingularSheafResolution.coefficientSingularSheaf_flasque M X n |
| 50 | constructor |
| 51 | intro U V i |
| 52 | change Epi (integerModuleForget.map (((CoefficientSingularSheafResolution.coefficientSingularSheafComplex M X).X n).obj.map i)) |
| 53 | infer_instance |
| 54 | |
| 55 | def integerSingularSectionsForgetIso : |
| 56 | ((integerModuleForget.mapHomologicalComplex (.up ℕ)).obj (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularSheafGlobalSections M X)) ≅ |
| 57 | CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (integerAbelianSingularResolution M X) := |
| 58 | HomologicalComplex.Hom.isoOfComponents (fun _ => Iso.refl _) (by |
| 59 | intro i j _ |
| 60 | change integerModuleForget.map |
| 61 | (((CoefficientSingularSheafResolution.coefficientSingularSheafComplex M X).d i j).hom.app (op ⊤)) ≫ 𝟙 _ = |
| 62 | 𝟙 _ ≫ integerModuleForget.map |
| 63 | (((CoefficientSingularSheafResolution.coefficientSingularSheafComplex M X).d i j).hom.app (op ⊤)) |
| 64 | simp only [Category.comp_id, Category.id_comp]) |
| 65 | |
| 66 | def integerSingularSectionsHomologyIso (n : ℕ) : |
| 67 | integerModuleForget.obj ((AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularSheafGlobalSections M X).homology n) ≅ |
| 68 | (CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (integerAbelianSingularResolution M X)).homology n := |
| 69 | (((AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularSheafGlobalSections M X).sc n).mapHomologyIso integerModuleForget).symm ≪≫ |
| 70 | (HomologicalComplex.homologyFunctor AddCommGrpCat.{0} (.up ℕ) n).mapIso |
| 71 | (integerSingularSectionsForgetIso M X) |
| 72 | |
| 73 | variable [StronglyLocallyContractibleSpace X] [LocallyPathConnectedSpace X] |
| 74 | |
| 75 | def integerSingularBettiSheafMap (n : ℕ) : |
| 76 | integerModuleForget.obj (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology M X (n + 1)) ⟶ |
| 77 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj |
| 78 | (integerLocallyConstantAbelianSheaf M X) := |
| 79 | integerModuleForget.map (HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M X) (n + 1)) ≫ |
| 80 | (integerSingularSectionsHomologyIso M X (n + 1)).hom ≫ |
| 81 | DivisorClass.Chern.Intrinsic.AugmentationNaturality.nativeSectionCohomologyMapOfZero (X := X) (integerAbelianSingularResolution M X) |
| 82 | (integerAbelianSingularResolution_exact M X) (integerConstantAbelianZeroIso M X) n |
| 83 | |
| 84 | theorem integerSingularBettiSheafMap_isIso [Injective M] [MetrizableSpace X] (n : ℕ) : |
| 85 | IsIso (integerSingularBettiSheafMap M X n) := by |
| 86 | let : MetricSpace X := metrizableSpaceMetric X |
| 87 | have := InjectiveSingularSheafSections.InjectiveSingularComparison.quasiIso_singularCochainsToSheafSections M X |
| 88 | have hi : IsIso (DivisorClass.Chern.Intrinsic.AugmentationNaturality.nativeSectionCohomologyMapOfZero (X := X) (integerAbelianSingularResolution M X) |
| 89 | (integerAbelianSingularResolution_exact M X) (integerConstantAbelianZeroIso M X) n) := by |
| 90 | have hc := DivisorClass.Chern.Intrinsic.SectionNaturality.nativeSectionCohomologyMap_eq_flasque (X := X) (integerAbelianSingularResolution M X) |
| 91 | (integerAbelianSingularResolution_flasque M X) (integerAbelianSingularResolution_exact M X) n |
| 92 | have : IsIso (DivisorClass.Chern.Intrinsic.SectionCohomologyMap.nativeSectionCohomologyMap (X := X) (integerAbelianSingularResolution M X) |
| 93 | (integerAbelianSingularResolution_exact M X) n) := |
| 94 | (congrArg IsIso hc).mpr inferInstance |
| 95 | unfold DivisorClass.Chern.Intrinsic.AugmentationNaturality.nativeSectionCohomologyMapOfZero |
| 96 | exact IsIso.comp_isIso' this |
| 97 | (((Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).mapIso |
| 98 | (integerConstantAbelianZeroIso M X)).isIso_inv) |
| 99 | unfold integerSingularBettiSheafMap |
| 100 | infer_instance |
| 101 | |
| 102 | def integerSingularBettiSheafIso [Injective M] [MetrizableSpace X] (n : ℕ) : |
| 103 | integerModuleForget.obj (AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology M X (n + 1)) ≅ |
| 104 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj |
| 105 | (integerLocallyConstantAbelianSheaf M X) := by |
| 106 | have := integerSingularBettiSheafMap_isIso M X n |
| 107 | exact asIso (integerSingularBettiSheafMap M X n) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegerSingularSheafComparison |