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.RationalIntegerSheafComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientComparisonDiagrams |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.BettiSheafMaps |
| 4 | |
| 5 | /-! # Rational Integer Betti Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RationalIntegerBettiComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The scalar-restriction comparison commutes with the original ChernClass |
| 12 | Betti-to-sheaf isomorphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.BettiSheafMaps |
| 17 | |
| 18 | variable (X : TopCat.{0}) [MetrizableSpace X] [StronglyLocallyContractibleSpace X] |
| 19 | [LocallyPathConnectedSpace X] |
| 20 | |
| 21 | omit [MetrizableSpace X] in |
| 22 | theorem integerSingularBettiSheafMap_hom_sections (M : ModuleCat.{0} ℤ) (n : ℕ) : |
| 23 | IntegerSingularSheafComparison.integerSingularBettiSheafMap M X n = |
| 24 | (((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).sc (n + 1)).mapHomologyIso IntegerSingularSheafComparison.integerModuleForget).inv ≫ |
| 25 | HomologicalComplex.homologyMap (DivisorClass.Chern.ModuleGlobalSectionsForget.moduleSingularToAbelianSections ℤ X M) (n + 1) ≫ |
| 26 | DivisorClass.Chern.Intrinsic.AugmentationNaturality.nativeSectionCohomologyMapOfZero (IntegerSingularSheafComparison.integerAbelianSingularResolution M X) |
| 27 | (IntegerSingularSheafComparison.integerAbelianSingularResolution_exact M X) (IntegerSingularSheafComparison.integerConstantAbelianZeroIso M X) n := by |
| 28 | let H := HomologicalComplex.homologyFunctor AddCommGrpCat.{0} (.up ℕ) (n + 1) |
| 29 | let FC := IntegerSingularSheafComparison.integerModuleForget.mapHomologicalComplex (.up ℕ) |
| 30 | let K := AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X |
| 31 | let L := AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularSheafGlobalSections M X |
| 32 | let R := CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (IntegerSingularSheafComparison.integerAbelianSingularResolution M X) |
| 33 | let A : AddCommGrpCat.{0} := IntegerSingularSheafComparison.integerModuleForget.obj (K.homology (n + 1)) |
| 34 | let B : AddCommGrpCat.{0} := IntegerSingularSheafComparison.integerModuleForget.obj (L.homology (n + 1)) |
| 35 | let C : AddCommGrpCat.{0} := H.obj (FC.obj K) |
| 36 | let D : AddCommGrpCat.{0} := H.obj (FC.obj L) |
| 37 | let S : AddCommGrpCat.{0} := H.obj R |
| 38 | let T : AddCommGrpCat.{0} := |
| 39 | (Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj |
| 40 | (IntegerSingularSheafComparison.integerLocallyConstantAbelianSheaf M X) |
| 41 | let m : A ⟶ B := IntegerSingularSheafComparison.integerModuleForget.map |
| 42 | (HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M X) (n + 1)) |
| 43 | let a : A ⟶ C := ((K.sc (n + 1)).mapHomologyIso IntegerSingularSheafComparison.integerModuleForget).inv |
| 44 | let b : B ⟶ D := ((L.sc (n + 1)).mapHomologyIso IntegerSingularSheafComparison.integerModuleForget).inv |
| 45 | let c : C ⟶ D := H.map (FC.map (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M X)) |
| 46 | let d : D ⟶ S := H.map (IntegerSingularSheafComparison.integerSingularSectionsForgetIso M X).hom |
| 47 | let p : C ⟶ S := H.map (DivisorClass.Chern.ModuleGlobalSectionsForget.moduleSingularToAbelianSections ℤ X M) |
| 48 | let e : S ⟶ T := DivisorClass.Chern.Intrinsic.AugmentationNaturality.nativeSectionCohomologyMapOfZero (IntegerSingularSheafComparison.integerAbelianSingularResolution M X) |
| 49 | (IntegerSingularSheafComparison.integerAbelianSingularResolution_exact M X) (IntegerSingularSheafComparison.integerConstantAbelianZeroIso M X) n |
| 50 | have hn : m ≫ b = a ≫ c := ShortComplex.mapHomologyIso_inv_naturality |
| 51 | ((HomologicalComplex.shortComplexFunctor _ _ (n + 1)).map |
| 52 | (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M X)) IntegerSingularSheafComparison.integerModuleForget |
| 53 | have hs : DivisorClass.Chern.ModuleGlobalSectionsForget.moduleSingularToAbelianSections ℤ X M = |
| 54 | FC.map (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M X) ≫ (IntegerSingularSheafComparison.integerSingularSectionsForgetIso M X).hom := rfl |
| 55 | have hp : p = c ≫ d := (congrArg H.map hs).trans (H.map_comp _ _) |
| 56 | have h0 : m ≫ (b ≫ d) = a ≫ p := |
| 57 | (Category.assoc m b d).symm.trans |
| 58 | ((congrArg (fun v : A ⟶ D => v ≫ d) hn).trans |
| 59 | ((Category.assoc a c d).trans (congrArg (fun v : C ⟶ S => a ≫ v) hp.symm))) |
| 60 | have hh : m ≫ (b ≫ d) ≫ e = a ≫ p ≫ e := |
| 61 | (Category.assoc m (b ≫ d) e).symm.trans |
| 62 | ((congrArg (fun v : A ⟶ S => v ≫ e) h0).trans (Category.assoc a p e)) |
| 63 | exact hh |
| 64 | |
| 65 | theorem rationalIntegerCohomologyIso_betti (n : ℕ) : |
| 66 | (ModuleForgetCocycleClasses.rationalIntegerCohomologyIso X (n + 1)).hom ≫ |
| 67 | IntegerSingularSheafComparison.integerSingularBettiSheafMap (ModuleCat.of ℤ ℚ) X n = |
| 68 | (DivisorClass.Chern.Rational.BettiCechSheafComparison.rationalBettiCechSheafIso X n).hom ≫ |
| 69 | (Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).map |
| 70 | (IntegralSheafCoefficients.originalRationalConstantIso X).inv := by |
| 71 | let H := HomologicalComplex.homologyFunctor AddCommGrpCat.{0} (.up ℕ) (n + 1) |
| 72 | let Q := AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X |
| 73 | let Z := AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℤ ℚ) X |
| 74 | let A : AddCommGrpCat.{0} := AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget.obj (Q.homology (n + 1)) |
| 75 | let B : AddCommGrpCat.{0} := H.obj ((AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForget.mapHomologicalComplex (.up ℕ)).obj Q) |
| 76 | let C : AddCommGrpCat.{0} := H.obj ((IntegerSingularSheafComparison.integerModuleForget.mapHomologicalComplex (.up ℕ)).obj Z) |
| 77 | let D : AddCommGrpCat.{0} := IntegerSingularSheafComparison.integerModuleForget.obj (Z.homology (n + 1)) |
| 78 | let R : AddCommGrpCat.{0} := H.obj (CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (DivisorClass.Chern.Rational.BettiSheafComparison.rationalAbelianSingularResolution X)) |
| 79 | let S : AddCommGrpCat.{0} := H.obj |
| 80 | (CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (IntegerSingularSheafComparison.integerAbelianSingularResolution (ModuleCat.of ℤ ℚ) X)) |
| 81 | let T : AddCommGrpCat.{0} := |
| 82 | (Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj (DivisorClass.Chern.Rational.HolomorphicPeriod.rationalConstantAbelianSheaf X) |
| 83 | let U : AddCommGrpCat.{0} := |
| 84 | (Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).obj |
| 85 | (IntegerSingularSheafComparison.integerLocallyConstantAbelianSheaf (ModuleCat.of ℤ ℚ) X) |
| 86 | let a : A ⟶ B := (AlgebraicTopology.DeRham.Comparison.RationalSheafForget.rationalForgetHomologyIso Q (n + 1)).inv |
| 87 | let b : B ⟶ C := H.map (ModuleForgetCocycleClasses.rationalIntegerAbelianCochainIso X).hom |
| 88 | let e : C ≅ D := (Z.sc (n + 1)).mapHomologyIso IntegerSingularSheafComparison.integerModuleForget |
| 89 | let c : C ⟶ S := H.map (DivisorClass.Chern.ModuleGlobalSectionsForget.moduleSingularToAbelianSections ℤ X (ModuleCat.of ℤ ℚ)) |
| 90 | let d : B ⟶ R := H.map (DivisorClass.Chern.ModuleGlobalSectionsForget.moduleSingularToAbelianSections ℚ X (ModuleCat.of ℚ ℚ)) |
| 91 | let f : R ⟶ S := H.map (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map |
| 92 | (RationalIntegerSheafComparison.rationalIntegerSingularSheafIso X).hom) |
| 93 | let k : R ⟶ T := DivisorClass.Chern.Intrinsic.AugmentationNaturality.nativeSectionCohomologyMapOfZero (DivisorClass.Chern.Rational.BettiSheafComparison.rationalAbelianSingularResolution X) |
| 94 | (DivisorClass.Chern.Rational.BettiSheafComparison.rationalAbelianSingularResolution_exact X) (DivisorClass.Chern.Rational.BettiSheafComparison.rationalConstantAbelianZeroIso X) n |
| 95 | let j : S ⟶ U := DivisorClass.Chern.Intrinsic.AugmentationNaturality.nativeSectionCohomologyMapOfZero |
| 96 | (IntegerSingularSheafComparison.integerAbelianSingularResolution (ModuleCat.of ℤ ℚ) X) |
| 97 | (IntegerSingularSheafComparison.integerAbelianSingularResolution_exact (ModuleCat.of ℤ ℚ) X) |
| 98 | (IntegerSingularSheafComparison.integerConstantAbelianZeroIso (ModuleCat.of ℤ ℚ) X) n |
| 99 | let u : T ⟶ U := (Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).map |
| 100 | (IntegralSheafCoefficients.originalRationalConstantIso X).inv |
| 101 | let v : A ⟶ D := (ModuleForgetCocycleClasses.rationalIntegerCohomologyIso X (n + 1)).hom |
| 102 | let q : A ⟶ T := (DivisorClass.Chern.Rational.BettiCechSheafComparison.rationalBettiCechSheafIso X n).hom |
| 103 | let z : D ⟶ U := IntegerSingularSheafComparison.integerSingularBettiSheafMap (ModuleCat.of ℤ ℚ) X n |
| 104 | have hv : v = a ≫ b ≫ e.hom := rfl |
| 105 | have ha : a ≫ b = v ≫ e.inv := by |
| 106 | have hcancel : (a ≫ b ≫ e.hom) ≫ e.inv = a ≫ b := by |
| 107 | rw [Category.assoc, Category.assoc, e.hom_inv_id, Category.comp_id] |
| 108 | exact hcancel.symm.trans (congrArg (fun w : A ⟶ D => w ≫ e.inv) hv.symm) |
| 109 | have hb : d ≫ f = b ≫ c := |
| 110 | (H.map_comp _ _).symm.trans |
| 111 | ((congrArg H.map (RationalIntegerSheafComparison.rationalIntegerSingularSheafIso_globalSections X)).trans (H.map_comp _ _)) |
| 112 | have hn : f ≫ j = k ≫ u := DivisorClass.Chern.Intrinsic.AugmentationNaturality.nativeSectionCohomologyMapOfZero_naturality |
| 113 | (RationalIntegerSheafComparison.rationalIntegerSingularSheafIso X).hom |
| 114 | (DivisorClass.Chern.Rational.BettiSheafComparison.rationalAbelianSingularResolution_exact X) |
| 115 | (IntegerSingularSheafComparison.integerAbelianSingularResolution_exact (ModuleCat.of ℤ ℚ) X) |
| 116 | (IntegralSheafCoefficients.originalRationalConstantIso X).inv (DivisorClass.Chern.Rational.BettiSheafComparison.rationalConstantAbelianZeroIso X) |
| 117 | (IntegerSingularSheafComparison.integerConstantAbelianZeroIso (ModuleCat.of ℤ ℚ) X) |
| 118 | (RationalIntegerSheafComparison.rationalIntegerSingularSheafIso_zero X) n |
| 119 | have hq : q = a ≫ d ≫ k := DivisorClass.Chern.Intrinsic.BettiSheafMaps.rationalBettiCechSheafIso_hom_sections X n |
| 120 | have hz : z = e.inv ≫ c ≫ j := integerSingularBettiSheafMap_hom_sections X (ModuleCat.of ℤ ℚ) n |
| 121 | have hh : (a ≫ d ≫ k) ≫ u = v ≫ e.inv ≫ c ≫ j := |
| 122 | CoefficientComparisonDiagrams.three_comparison_squares a d k e.inv c j v b f u ha hb hn.symm |
| 123 | exact (congrArg (fun w : D ⟶ U => v ≫ w) hz).trans |
| 124 | (hh.symm.trans (congrArg (fun w : A ⟶ T => w ≫ u) hq.symm)) |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RationalIntegerBettiComparison |