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.SingularPeriodCoefficients |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.AugmentationNaturality |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientComparisonDiagrams |
| 5 | |
| 6 | /-! # Coefficient Singular Sheaf Naturality -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientSingularSheafNaturality |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Coefficient maps preserve the actual singular presheaf augmentation |
| 13 | and its resulting degree-zero sheaf identification. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.AugmentationNaturality |
| 18 | |
| 19 | variable {R : Type} [Ring R] {M N : ModuleCat.{0} R} (f : M ⟶ N) (X : TopCat.{0}) |
| 20 | |
| 21 | def coefficientSingularPresheafMap : AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X ⟶ AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex N X where |
| 22 | f n := { |
| 23 | app U := (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f (TopCat.of U.unop)).f n |
| 24 | naturality _ _ i := congrArg (fun g => g.f n) |
| 25 | (AlgebraicTopology.Cohomology.Singular.Functor.coefficientCochainMap_naturality f ((Opens.toTopCat X).map i.unop)) } |
| 26 | comm' i j _ := by |
| 27 | apply NatTrans.ext |
| 28 | funext U |
| 29 | exact (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f (TopCat.of U.unop)).comm i j |
| 30 | |
| 31 | def coefficientSingularSheafMap : CoefficientSingularSheafResolution.coefficientSingularSheafComplex M X ⟶ CoefficientSingularSheafResolution.coefficientSingularSheafComplex N X := |
| 32 | ((presheafToSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R)).mapHomologicalComplex (.up ℕ)).map |
| 33 | (coefficientSingularPresheafMap f X) |
| 34 | |
| 35 | theorem coefficientSingularPresheafMap_augmentation : |
| 36 | LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation M X ≫ (coefficientSingularPresheafMap f X).f 0 = |
| 37 | (LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f).hom ≫ LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation N X := by |
| 38 | apply NatTrans.ext |
| 39 | funext U |
| 40 | apply ModuleCat.hom_ext |
| 41 | apply LinearMap.ext |
| 42 | intro a |
| 43 | apply (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso N (TopCat.of U.unop)).toLinearEquiv.injective |
| 44 | change (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso N (TopCat.of U.unop)).hom |
| 45 | ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f (TopCat.of U.unop)).f 0 (AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero M (TopCat.of U.unop) a)) = |
| 46 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso N (TopCat.of U.unop)).hom |
| 47 | (AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero N (TopCat.of U.unop) |
| 48 | ((LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f).hom.app U a)) |
| 49 | ext x |
| 50 | rw [SingularPeriodCoefficients.IntegralSingularPeriods.coefficient_zero_point, |
| 51 | AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero_apply M (TopCat.of U.unop) a x] |
| 52 | exact (AlgebraicTopology.Cohomology.Singular.Augmentation.locallyConstantToSingularZero_apply N (TopCat.of U.unop) |
| 53 | ((LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f).hom.app U a) x).symm |
| 54 | |
| 55 | variable [LocallyPathConnectedSpace X] |
| 56 | |
| 57 | theorem coefficientLocallyConstantPresheafZeroIso_augmentation (A : ModuleCat.{0} R) : |
| 58 | (CoefficientSingularSheafResolution.coefficientLocallyConstantPresheafZeroIso A X).hom ≫ |
| 59 | (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex A X)).f 0 = |
| 60 | LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation A X := by |
| 61 | rw [HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation_f_zero, CoefficientSingularSheafResolution.coefficientLocallyConstantPresheafZeroIso, |
| 62 | Iso.trans_hom, Category.assoc, Iso.hom_inv_id_assoc] |
| 63 | exact IsLimit.conePointUniqueUpToIso_hom_comp _ _ WalkingParallelPair.zero |
| 64 | |
| 65 | theorem coefficientLocallyConstantPresheafZeroIso_naturality : |
| 66 | (CoefficientSingularSheafResolution.coefficientLocallyConstantPresheafZeroIso M X).hom ≫ |
| 67 | HomologicalComplex.homologyMap (coefficientSingularPresheafMap f X) 0 = |
| 68 | (LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f).hom ≫ |
| 69 | (CoefficientSingularSheafResolution.coefficientLocallyConstantPresheafZeroIso N X).hom := |
| 70 | DivisorClass.Chern.Intrinsic.AugmentationNaturality.cochainAugmentationZeroIso_naturality _ _ _ _ _ _ |
| 71 | (coefficientLocallyConstantPresheafZeroIso_augmentation X M) |
| 72 | (coefficientLocallyConstantPresheafZeroIso_augmentation X N) |
| 73 | (coefficientSingularPresheafMap_augmentation f X) |
| 74 | |
| 75 | theorem coefficientLocallyConstantSheafZeroIso_naturality : |
| 76 | (CoefficientSingularSheafResolution.coefficientLocallyConstantSheafZeroIso M X).hom ≫ |
| 77 | HomologicalComplex.homologyMap (coefficientSingularSheafMap f X) 0 = |
| 78 | LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f ≫ |
| 79 | (CoefficientSingularSheafResolution.coefficientLocallyConstantSheafZeroIso N X).hom := by |
| 80 | let S := presheafToSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R) |
| 81 | have hn := ShortComplex.mapHomologyIso_inv_naturality |
| 82 | ((HomologicalComplex.shortComplexFunctor _ _ 0).map (coefficientSingularPresheafMap f X)) S |
| 83 | have hs : (sheafificationIso (LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf M X)).hom ≫ |
| 84 | S.map (LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f).hom = |
| 85 | LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f ≫ |
| 86 | (sheafificationIso (LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf N X)).hom := by |
| 87 | apply Sheaf.hom_ext |
| 88 | exact (CategoryTheory.toSheafify_naturality (Opens.grothendieckTopology X) |
| 89 | (LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f).hom).symm |
| 90 | have hp := congrArg S.map (coefficientLocallyConstantPresheafZeroIso_naturality f X) |
| 91 | have hp' : S.map (CoefficientSingularSheafResolution.coefficientLocallyConstantPresheafZeroIso M X).hom ≫ |
| 92 | S.map (HomologicalComplex.homologyMap (coefficientSingularPresheafMap f X) 0) = |
| 93 | S.map (LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f).hom ≫ |
| 94 | S.map (CoefficientSingularSheafResolution.coefficientLocallyConstantPresheafZeroIso N X).hom := |
| 95 | (S.map_comp _ _).symm.trans (hp.trans (S.map_comp _ _)) |
| 96 | exact CoefficientComparisonDiagrams.three_comparison_squares _ _ _ _ _ _ _ _ _ _ hs hp' hn.symm |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientSingularSheafNaturality |