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.LocallyConstantModuleSheaf |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.StalkExactness |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.SheafFlasque |
| 4 | |
| 5 | /-! # Coefficient Singular Sheaf Resolution -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientSingularSheafResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The singular sheaf complex resolves the actual locally constant sheaf |
| 12 | for every coefficient module. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 15 | |
| 16 | attribute [local instance] AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForget₂PreservesFilteredColimits |
| 17 | AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForgetPreservesFilteredColimits |
| 18 | |
| 19 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 20 | |
| 21 | abbrev coefficientSingularSheafComplex := AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X) |
| 22 | |
| 23 | theorem coefficientLocallyConstantAugmentation_d : |
| 24 | LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation M X ≫ (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X).d 0 1 = 0 := by |
| 25 | apply NatTrans.ext |
| 26 | funext U |
| 27 | exact AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero_d M (TopCat.of U.unop) |
| 28 | |
| 29 | def coefficientLocallyConstantAugmentation_kernel [LocallyPathConnectedSpace X] : |
| 30 | IsLimit (KernelFork.ofι (LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation M X) |
| 31 | (coefficientLocallyConstantAugmentation_d M X)) := by |
| 32 | apply evaluationJointlyReflectsLimits |
| 33 | intro U |
| 34 | refine (isLimitMapConeForkEquiv' |
| 35 | ((evaluation (Opens X)ᵒᵖ (ModuleCat.{0} R)).obj U) |
| 36 | (coefficientLocallyConstantAugmentation_d M X)).symm ?_ |
| 37 | have : LocallyPathConnectedSpace U.unop := U.unop.isOpen.locallyPathConnectedSpace |
| 38 | exact AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero_isKernel M (TopCat.of U.unop) |
| 39 | |
| 40 | def coefficientLocallyConstantPresheafZeroIso [LocallyPathConnectedSpace X] : |
| 41 | LocallyConstantModuleSheaf.coefficientLocallyConstantPresheaf M X ≅ (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X).homology 0 := |
| 42 | (coefficientLocallyConstantAugmentation_kernel M X).conePointUniqueUpToIso |
| 43 | ((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X).cyclesIsKernel 0 1 |
| 44 | ((ComplexShape.up ℕ).next_eq' (show (ComplexShape.up ℕ).Rel 0 1 from rfl))) ≪≫ |
| 45 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X).isoHomologyπ₀ |
| 46 | |
| 47 | def coefficientLocallyConstantSheafZeroIso [LocallyPathConnectedSpace X] : |
| 48 | LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf M X ≅ (coefficientSingularSheafComplex M X).homology 0 := |
| 49 | sheafificationIso (LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf M X) ≪≫ |
| 50 | (presheafToSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R)).mapIso |
| 51 | (coefficientLocallyConstantPresheafZeroIso M X) ≪≫ |
| 52 | (((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X).sc 0).mapHomologyIso |
| 53 | (presheafToSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R))).symm |
| 54 | |
| 55 | theorem coefficientSingularSheaf_exact [StronglyLocallyContractibleSpace X] (n : ℕ) : |
| 56 | (coefficientSingularSheafComplex M X).ExactAt (n + 1) := by |
| 57 | apply (TopCat.Sheaf.exact_iff_stalkFunctor_map_exact |
| 58 | ((coefficientSingularSheafComplex M X).sc (n + 1))).mpr |
| 59 | intro x |
| 60 | exact (AlgebraicTopology.Cohomology.Singular.StalkExactness.singularStalkComplex_exactAt_succ M X x n).of_iso |
| 61 | (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafificationStalkComplexIso (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X) x) |
| 62 | |
| 63 | theorem coefficientSingularSheaf_flasque [MetrizableSpace X] (n : ℕ) : |
| 64 | TopCat.Sheaf.IsFlasque ((coefficientSingularSheafComplex M X).X n) := |
| 65 | AlgebraicTopology.Cohomology.Singular.SheafFlasque.sheafifiedSingularCochains_isFlasque_of_metrizable M X n |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientSingularSheafResolution |