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.ModuleForgetCocycleClasses |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegerSheafAugmentation |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegralSheafCoefficients |
| 4 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.ComplexSheafMap |
| 5 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.SingularAugmentation |
| 6 | |
| 7 | /-! # Rational Integer Sheaf Comparison -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RationalIntegerSheafComparison |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Scalar restriction on the original rational singular sheaf |
| 14 | resolution, including its point-function augmentation and global sections. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 17 | |
| 18 | variable (X : TopCat.{0}) |
| 19 | |
| 20 | def rationalIntegerSingularSheafIso : |
| 21 | DivisorClass.Chern.Rational.BettiSheafComparison.rationalAbelianSingularResolution X ≅ |
| 22 | IntegerSingularSheafComparison.integerAbelianSingularResolution (ModuleCat.of ℤ ℚ) X := |
| 23 | (DivisorClass.Chern.ModuleSheafificationForget.moduleForgetSheafificationComplexIso ℚ X |
| 24 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X)).symm ≪≫ |
| 25 | ((presheafToSheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0}).mapHomologicalComplex |
| 26 | (.up ℕ)).mapIso (ModuleForgetCocycleClasses.rationalIntegerPresheafIso X) ≪≫ |
| 27 | DivisorClass.Chern.ModuleSheafificationForget.moduleForgetSheafificationComplexIso ℤ X (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℤ ℚ) X) |
| 28 | |
| 29 | theorem rationalIntegerSingularSheafIso_unit (n : ℕ) : |
| 30 | Functor.whiskerRight (CategoryTheory.toSheafify (Opens.grothendieckTopology X) |
| 31 | ((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).X n)) AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget ≫ |
| 32 | ((rationalIntegerSingularSheafIso X).hom.f n).hom = |
| 33 | (ModuleForgetCocycleClasses.rationalIntegerPresheafIso X).hom.f n ≫ |
| 34 | Functor.whiskerRight (CategoryTheory.toSheafify (Opens.grothendieckTopology X) |
| 35 | ((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℤ ℚ) X).X n)) IntegerSingularSheafComparison.integerModuleForget := by |
| 36 | let J := Opens.grothendieckTopology X |
| 37 | let Q : X.Presheaf (ModuleCat.{0} ℚ) := (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).X n |
| 38 | let Z : X.Presheaf (ModuleCat.{0} ℤ) := (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℤ ℚ) X).X n |
| 39 | let CQ : X.Presheaf AddCommGrpCat.{0} := Q ⋙ AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget |
| 40 | let CZ : X.Presheaf AddCommGrpCat.{0} := Z ⋙ IntegerSingularSheafComparison.integerModuleForget |
| 41 | let Q0 : X.Presheaf AddCommGrpCat.{0} := CategoryTheory.sheafify J Q ⋙ AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget |
| 42 | let Q1 : X.Presheaf AddCommGrpCat.{0} := CategoryTheory.sheafify J CQ |
| 43 | let Z1 : X.Presheaf AddCommGrpCat.{0} := CategoryTheory.sheafify J CZ |
| 44 | let Z0 : X.Presheaf AddCommGrpCat.{0} := CategoryTheory.sheafify J Z ⋙ IntegerSingularSheafComparison.integerModuleForget |
| 45 | let f : CQ ⟶ CZ := (ModuleForgetCocycleClasses.rationalIntegerPresheafIso X).hom.f n |
| 46 | let uQ : CQ ⟶ Q0 := Functor.whiskerRight (CategoryTheory.toSheafify J Q) AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget |
| 47 | let uZ : CZ ⟶ Z0 := Functor.whiskerRight (CategoryTheory.toSheafify J Z) IntegerSingularSheafComparison.integerModuleForget |
| 48 | let eQ : CQ ⟶ Q1 := CategoryTheory.toSheafify J CQ |
| 49 | let eZ : CZ ⟶ Z1 := CategoryTheory.toSheafify J CZ |
| 50 | let a : Q0 ⟶ Q1 := (DivisorClass.Chern.ModuleSheafificationForget.moduleForgetSheafificationIso ℚ X Q).inv.hom |
| 51 | let b : Q1 ⟶ Z1 := CategoryTheory.sheafifyMap J f |
| 52 | let c : Z1 ⟶ Z0 := (DivisorClass.Chern.ModuleSheafificationForget.moduleForgetSheafificationIso ℤ X Z).hom.hom |
| 53 | have h1 : uQ ≫ a = eQ := DivisorClass.Chern.Rational.ComplexSheafMap.moduleForgetSheafificationIso_inv_unit X ℚ Q |
| 54 | have h2 : eQ ≫ b = f ≫ eZ := (CategoryTheory.toSheafify_naturality J f).symm |
| 55 | have h3 : eZ ≫ c = uZ := DivisorClass.Chern.ModuleSheafificationForget.moduleForgetSheafificationIso_unit ℤ X Z |
| 56 | have hh : uQ ≫ (a ≫ b ≫ c) = f ≫ uZ := |
| 57 | (Category.assoc uQ a (b ≫ c)).symm.trans |
| 58 | ((congrArg (fun v : CQ ⟶ Q1 => v ≫ b ≫ c) h1).trans |
| 59 | ((Category.assoc eQ b c).symm.trans |
| 60 | ((congrArg (fun v : CQ ⟶ Z1 => v ≫ c) h2).trans |
| 61 | ((Category.assoc f eZ c).trans |
| 62 | (congrArg (fun v : CZ ⟶ Z0 => f ≫ v) h3))))) |
| 63 | exact hh |
| 64 | |
| 65 | theorem rationalIntegerPresheafIso_augmentation : |
| 66 | Functor.whiskerRight (DivisorClass.Chern.Cech.Obj.RationalCech.locallyConstantSingularAugmentation X) AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget ≫ |
| 67 | (ModuleForgetCocycleClasses.rationalIntegerPresheafIso X).hom.f 0 = |
| 68 | (IntegralSheafCoefficients.originalRationalConstantIso X).inv.hom ≫ |
| 69 | Functor.whiskerRight (LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation (ModuleCat.of ℤ ℚ) X) |
| 70 | IntegerSingularSheafComparison.integerModuleForget := by |
| 71 | apply NatTrans.ext |
| 72 | funext U |
| 73 | apply AddCommGrpCat.hom_ext |
| 74 | apply AddMonoidHom.ext |
| 75 | intro q |
| 76 | exact ModuleForgetCocycleClasses.rationalIntegerAbelianCochainIso_locallyConstant (TopCat.of U.unop) q |
| 77 | |
| 78 | theorem rationalIntegerSingularSheafIso_augmentation : |
| 79 | DivisorClass.Chern.Abelian.SingularAugmentation.rationalAbelianConstantAugmentation X ≫ (rationalIntegerSingularSheafIso X).hom.f 0 = |
| 80 | (IntegralSheafCoefficients.originalRationalConstantIso X).inv ≫ |
| 81 | IntegerSheafAugmentation.integerAbelianConstantAugmentation X (ModuleCat.of ℤ ℚ) := by |
| 82 | let LQ : X.Presheaf AddCommGrpCat.{0} := (DivisorClass.Chern.Rational.HolomorphicPeriod.rationalConstantAbelianSheaf X).obj |
| 83 | let LZ : X.Presheaf AddCommGrpCat.{0} := |
| 84 | (IntegerSingularSheafComparison.integerLocallyConstantAbelianSheaf (ModuleCat.of ℤ ℚ) X).obj |
| 85 | let CQ : X.Presheaf AddCommGrpCat.{0} := |
| 86 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).X 0 ⋙ AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget |
| 87 | let CZ : X.Presheaf AddCommGrpCat.{0} := |
| 88 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℤ ℚ) X).X 0 ⋙ IntegerSingularSheafComparison.integerModuleForget |
| 89 | let SQ : X.Presheaf AddCommGrpCat.{0} := ((DivisorClass.Chern.Rational.BettiSheafComparison.rationalAbelianSingularResolution X).X 0).obj |
| 90 | let SZ : X.Presheaf AddCommGrpCat.{0} := |
| 91 | ((IntegerSingularSheafComparison.integerAbelianSingularResolution (ModuleCat.of ℤ ℚ) X).X 0).obj |
| 92 | let aQ : LQ ⟶ CQ := |
| 93 | Functor.whiskerRight (DivisorClass.Chern.Cech.Obj.RationalCech.locallyConstantSingularAugmentation X) AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget |
| 94 | let aZ : LZ ⟶ CZ := |
| 95 | Functor.whiskerRight (LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation (ModuleCat.of ℤ ℚ) X) IntegerSingularSheafComparison.integerModuleForget |
| 96 | let uQ : CQ ⟶ SQ := |
| 97 | Functor.whiskerRight (CategoryTheory.toSheafify (Opens.grothendieckTopology X) |
| 98 | ((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).X 0)) AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget |
| 99 | let uZ : CZ ⟶ SZ := |
| 100 | Functor.whiskerRight (CategoryTheory.toSheafify (Opens.grothendieckTopology X) |
| 101 | ((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℤ ℚ) X).X 0)) IntegerSingularSheafComparison.integerModuleForget |
| 102 | let iso : SQ ⟶ SZ := ((rationalIntegerSingularSheafIso X).hom.f 0).hom |
| 103 | let f : CQ ⟶ CZ := (ModuleForgetCocycleClasses.rationalIntegerPresheafIso X).hom.f 0 |
| 104 | let a : LQ ⟶ LZ := (IntegralSheafCoefficients.originalRationalConstantIso X).inv.hom |
| 105 | let bQ : LQ ⟶ SQ := (DivisorClass.Chern.Abelian.SingularAugmentation.rationalAbelianConstantAugmentation X).hom |
| 106 | let bZ : LZ ⟶ SZ := (IntegerSheafAugmentation.integerAbelianConstantAugmentation X (ModuleCat.of ℤ ℚ)).hom |
| 107 | have hQraw := congrArg (fun v => Functor.whiskerRight v AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget) |
| 108 | (DivisorClass.Chern.Rational.SheafAugmentation.RationalCech.locallyConstantRationalSheafAugmentation_hom X) |
| 109 | have hZraw := congrArg (fun v => Functor.whiskerRight v IntegerSingularSheafComparison.integerModuleForget) |
| 110 | (IntegerSheafAugmentation.coefficientSingularSheafAugmentation_hom (ModuleCat.of ℤ ℚ) X) |
| 111 | have hQ : bQ = aQ ≫ uQ := hQraw |
| 112 | have hZ : bZ = aZ ≫ uZ := hZraw |
| 113 | have hunit : uQ ≫ iso = f ≫ uZ := rationalIntegerSingularSheafIso_unit X 0 |
| 114 | have haug : aQ ≫ f = a ≫ aZ := rationalIntegerPresheafIso_augmentation X |
| 115 | have hh : bQ ≫ iso = a ≫ bZ := |
| 116 | (congrArg (fun v : LQ ⟶ SQ => v ≫ iso) hQ).trans |
| 117 | ((Category.assoc aQ uQ iso).trans |
| 118 | ((congrArg (fun v : CQ ⟶ SZ => aQ ≫ v) hunit).trans |
| 119 | ((Category.assoc aQ f uZ).symm.trans |
| 120 | ((congrArg (fun v : LQ ⟶ CZ => v ≫ uZ) haug).trans |
| 121 | ((Category.assoc a aZ uZ).trans |
| 122 | (congrArg (fun v : LZ ⟶ SZ => a ≫ v) hZ.symm)))))) |
| 123 | apply Sheaf.hom_ext |
| 124 | exact hh |
| 125 | |
| 126 | theorem rationalIntegerSingularSheafIso_zero [LocallyPathConnectedSpace X] : |
| 127 | (DivisorClass.Chern.Rational.BettiSheafComparison.rationalConstantAbelianZeroIso X).hom ≫ |
| 128 | HomologicalComplex.homologyMap (rationalIntegerSingularSheafIso X).hom 0 = |
| 129 | (IntegralSheafCoefficients.originalRationalConstantIso X).inv ≫ |
| 130 | (IntegerSingularSheafComparison.integerConstantAbelianZeroIso (ModuleCat.of ℤ ℚ) X).hom := |
| 131 | DivisorClass.Chern.Intrinsic.AugmentationNaturality.cochainAugmentationZeroIso_naturality _ _ _ _ _ _ |
| 132 | (DivisorClass.Chern.Abelian.SingularAugmentation.rationalAbelianConstantAugmentation_zeroIso X) |
| 133 | (IntegerSheafAugmentation.integerAbelianConstantAugmentation_zeroIso X (ModuleCat.of ℤ ℚ)) |
| 134 | (rationalIntegerSingularSheafIso_augmentation X) |
| 135 | |
| 136 | theorem rationalIntegerSingularSheafIso_globalSections : |
| 137 | DivisorClass.Chern.ModuleGlobalSectionsForget.moduleSingularToAbelianSections ℚ X (ModuleCat.of ℚ ℚ) ≫ |
| 138 | ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map |
| 139 | (rationalIntegerSingularSheafIso X).hom = |
| 140 | (ModuleForgetCocycleClasses.rationalIntegerAbelianCochainIso X).hom ≫ |
| 141 | DivisorClass.Chern.ModuleGlobalSectionsForget.moduleSingularToAbelianSections ℤ X (ModuleCat.of ℤ ℚ) := by |
| 142 | apply HomologicalComplex.Hom.ext |
| 143 | funext n |
| 144 | apply AddCommGrpCat.hom_ext |
| 145 | apply AddMonoidHom.ext |
| 146 | intro c |
| 147 | let incl := Opens.inclusion' (⊤ : Opens X) |
| 148 | let qtop := (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) incl).f n c |
| 149 | let etaZ := CategoryTheory.toSheafify (Opens.grothendieckTopology X) |
| 150 | ((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℤ ℚ) X).X n) |
| 151 | have hu := ConcreteCategory.congr_hom (C := AddCommGrpCat.{0}) |
| 152 | (congrArg (fun f => f.app (op (⊤ : Opens X))) (rationalIntegerSingularSheafIso_unit X n)) qtop |
| 153 | have hn := ConcreteCategory.congr_hom |
| 154 | (congrArg (fun f => f.f n) (ModuleForgetCocycleClasses.rationalIntegerAbelianCochainIso_naturality incl)) c |
| 155 | change (ModuleForgetCocycleClasses.rationalIntegerAbelianCochainIso (TopCat.of (⊤ : Opens X))).hom.f n qtop = |
| 156 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℤ ℚ) incl).f n |
| 157 | ((ModuleForgetCocycleClasses.rationalIntegerAbelianCochainIso X).hom.f n c) at hn |
| 158 | change (((rationalIntegerSingularSheafIso X).hom.f n).hom.app (op (⊤ : Opens X))) |
| 159 | ((AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℚ ℚ) X).f n c) = |
| 160 | etaZ.app (op (⊤ : Opens X)) |
| 161 | ((ModuleForgetCocycleClasses.rationalIntegerAbelianCochainIso (TopCat.of (⊤ : Opens X))).hom.f n qtop) at hu |
| 162 | exact hu.trans (congrArg (fun v => etaZ.app (op (⊤ : Opens X)) v) hn) |
| 163 | |
| 164 | end |
| 165 | |
| 166 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RationalIntegerSheafComparison |