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.CoefficientSingularSheafNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegerSingularSheafComparison |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.ThomSourceOrientation |
| 4 | |
| 5 | /-! # Integer Sheaf Augmentation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegerSheafAugmentation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The integer-coefficient resolution identifies its degree-zero |
| 12 | cohomology through the original locally constant point functions. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.DivisorClass.Chern.ThomSourceOrientation |
| 17 | |
| 18 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 19 | |
| 20 | def coefficientSingularSheafAugmentation : |
| 21 | LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf M X ⟶ (CoefficientSingularSheafResolution.coefficientSingularSheafComplex M X).X 0 := |
| 22 | (sheafificationIso (LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf M X)).hom ≫ |
| 23 | (presheafToSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R)).map |
| 24 | (LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation M X) |
| 25 | |
| 26 | theorem coefficientSingularSheafAugmentation_hom : |
| 27 | (coefficientSingularSheafAugmentation M X).hom = |
| 28 | LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation M X ≫ |
| 29 | CategoryTheory.toSheafify (Opens.grothendieckTopology X) |
| 30 | ((AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X).X 0) := by |
| 31 | exact (CategoryTheory.toSheafify_naturality (Opens.grothendieckTopology X) |
| 32 | (LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation M X)).symm |
| 33 | |
| 34 | theorem coefficientLocallyConstantSheafZeroIso_augmentation [LocallyPathConnectedSpace X] : |
| 35 | (CoefficientSingularSheafResolution.coefficientLocallyConstantSheafZeroIso M X).hom ≫ |
| 36 | (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation (CoefficientSingularSheafResolution.coefficientSingularSheafComplex M X)).f 0 = |
| 37 | coefficientSingularSheafAugmentation M X := by |
| 38 | let K := AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X |
| 39 | let F := presheafToSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R) |
| 40 | have hc := DivisorClass.Chern.ThomSourceOrientation.cochainLeftExactZeroHomologyIso_inclusion K F |
| 41 | rw [DivisorClass.Chern.ThomSourceOrientation.cochainLeftExactZeroHomologyIso_hom_eq, AlgebraicTopology.Cohomology.Singular.LeftExactHomologyComposition.leftExactHomologyComparison_eq_mapHomologyIso] at hc |
| 42 | have hi : ((K.sc 0).mapHomologyIso F).inv ≫ |
| 43 | (CochainComplex.isoHomologyπ₀ ((F.mapHomologicalComplex (.up ℕ)).obj K)).inv ≫ |
| 44 | ((F.mapHomologicalComplex (.up ℕ)).obj K).iCycles 0 = |
| 45 | F.map (K.isoHomologyπ₀.inv ≫ K.iCycles 0) := |
| 46 | ((K.sc 0).mapHomologyIso F).inv_comp_eq.mpr hc.symm |
| 47 | let S0 : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R) := |
| 48 | LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf M X |
| 49 | let S1 : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R) := |
| 50 | F.obj (LocallyConstantModuleSheaf.coefficientLocallyConstantPresheaf M X) |
| 51 | let S2 : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R) := F.obj (K.homology 0) |
| 52 | let S3 : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R) := |
| 53 | ((F.mapHomologicalComplex (.up ℕ)).obj K).homology 0 |
| 54 | let S4 : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} R) := |
| 55 | ((F.mapHomologicalComplex (.up ℕ)).obj K).X 0 |
| 56 | let e := CoefficientSingularSheafResolution.coefficientLocallyConstantPresheafZeroIso M X |
| 57 | let b : S0 ⟶ S1 := (sheafificationIso (LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf M X)).hom |
| 58 | let a : S1 ⟶ S2 := F.map e.hom |
| 59 | let c : S2 ⟶ S3 := ((K.sc 0).mapHomologyIso F).inv |
| 60 | let d : S3 ⟶ S4 := |
| 61 | (CochainComplex.isoHomologyπ₀ ((F.mapHomologicalComplex (.up ℕ)).obj K)).inv ≫ |
| 62 | ((F.mapHomologicalComplex (.up ℕ)).obj K).iCycles 0 |
| 63 | let k : S2 ⟶ S4 := F.map (K.isoHomologyπ₀.inv ≫ K.iCycles 0) |
| 64 | have hcd : c ≫ d = k := hi |
| 65 | have hz := CoefficientSingularSheafNaturality.coefficientLocallyConstantPresheafZeroIso_augmentation X M |
| 66 | have heq := congrArg (fun v : K.homology 0 ⟶ K.X 0 => e.hom ≫ v) |
| 67 | (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation_f_zero K) |
| 68 | have hz' := heq.symm.trans hz |
| 69 | have hak : a ≫ k = F.map (LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation M X) := |
| 70 | (F.map_comp e.hom (K.isoHomologyπ₀.inv ≫ K.iCycles 0)).symm.trans |
| 71 | (congrArg F.map hz') |
| 72 | have hh : (b ≫ a ≫ c) ≫ d = b ≫ F.map (LocallyConstantModuleSheaf.coefficientLocallyConstantAugmentation M X) := |
| 73 | (Category.assoc b (a ≫ c) d).trans |
| 74 | ((congrArg (fun v : S1 ⟶ S4 => b ≫ v) (Category.assoc a c d)).trans |
| 75 | ((congrArg (fun v : S2 ⟶ S4 => b ≫ a ≫ v) hcd).trans |
| 76 | (congrArg (fun v : S1 ⟶ S4 => b ≫ v) hak))) |
| 77 | rw [HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation_f_zero] |
| 78 | exact hh |
| 79 | |
| 80 | def integerAbelianConstantAugmentation (A : ModuleCat.{0} ℤ) : |
| 81 | IntegerSingularSheafComparison.integerLocallyConstantAbelianSheaf A X ⟶ (IntegerSingularSheafComparison.integerAbelianSingularResolution A X).X 0 := |
| 82 | (IntegerSingularSheafComparison.integerCoefficientSheafForget X).map (coefficientSingularSheafAugmentation A X) |
| 83 | |
| 84 | theorem integerAbelianConstantAugmentation_zeroIso (A : ModuleCat.{0} ℤ) |
| 85 | [LocallyPathConnectedSpace X] : |
| 86 | (IntegerSingularSheafComparison.integerConstantAbelianZeroIso A X).hom ≫ |
| 87 | (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation (IntegerSingularSheafComparison.integerAbelianSingularResolution A X)).f 0 = |
| 88 | integerAbelianConstantAugmentation X A := by |
| 89 | let K := CoefficientSingularSheafResolution.coefficientSingularSheafComplex A X |
| 90 | let G := IntegerSingularSheafComparison.integerCoefficientSheafForget X |
| 91 | have hc := DivisorClass.Chern.ThomSourceOrientation.cochainLeftExactZeroHomologyIso_inclusion K G |
| 92 | rw [DivisorClass.Chern.ThomSourceOrientation.cochainLeftExactZeroHomologyIso_hom_eq, AlgebraicTopology.Cohomology.Singular.LeftExactHomologyIso.leftExactHomologyComparison_eq_mapHomologyIso', |
| 93 | ShortComplex.mapHomologyIso'_eq_mapHomologyIso] at hc |
| 94 | have hi : ((K.sc 0).mapHomologyIso G).inv ≫ |
| 95 | (IntegerSingularSheafComparison.integerAbelianSingularResolution A X).isoHomologyπ₀.inv ≫ |
| 96 | (IntegerSingularSheafComparison.integerAbelianSingularResolution A X).iCycles 0 = |
| 97 | G.map (K.isoHomologyπ₀.inv ≫ K.iCycles 0) := |
| 98 | ((K.sc 0).mapHomologyIso G).inv_comp_eq.mpr hc.symm |
| 99 | let S0 : TopCat.Sheaf AddCommGrpCat.{0} X := G.obj (LocallyConstantModuleSheaf.coefficientLocallyConstantSheaf A X) |
| 100 | let S1 : TopCat.Sheaf AddCommGrpCat.{0} X := G.obj (K.homology 0) |
| 101 | let S2 : TopCat.Sheaf AddCommGrpCat.{0} X := (IntegerSingularSheafComparison.integerAbelianSingularResolution A X).homology 0 |
| 102 | let S3 : TopCat.Sheaf AddCommGrpCat.{0} X := (IntegerSingularSheafComparison.integerAbelianSingularResolution A X).X 0 |
| 103 | let e := CoefficientSingularSheafResolution.coefficientLocallyConstantSheafZeroIso A X |
| 104 | let a : S0 ⟶ S1 := G.map e.hom |
| 105 | let c : S1 ⟶ S2 := ((K.sc 0).mapHomologyIso G).inv |
| 106 | let d : S2 ⟶ S3 := |
| 107 | (IntegerSingularSheafComparison.integerAbelianSingularResolution A X).isoHomologyπ₀.inv ≫ |
| 108 | (IntegerSingularSheafComparison.integerAbelianSingularResolution A X).iCycles 0 |
| 109 | let k : S1 ⟶ S3 := G.map (K.isoHomologyπ₀.inv ≫ K.iCycles 0) |
| 110 | have hcd : c ≫ d = k := hi |
| 111 | have hz := coefficientLocallyConstantSheafZeroIso_augmentation A X |
| 112 | have heq := congrArg (fun v : K.homology 0 ⟶ K.X 0 => e.hom ≫ v) |
| 113 | (HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation_f_zero K) |
| 114 | have hz' := heq.symm.trans hz |
| 115 | have hak : a ≫ k = G.map (coefficientSingularSheafAugmentation A X) := |
| 116 | (G.map_comp e.hom (K.isoHomologyπ₀.inv ≫ K.iCycles 0)).symm.trans |
| 117 | (congrArg G.map hz') |
| 118 | have hh : (a ≫ c) ≫ d = G.map (coefficientSingularSheafAugmentation A X) := |
| 119 | (Category.assoc a c d).trans ((congrArg (fun v : S1 ⟶ S3 => a ≫ v) hcd).trans hak) |
| 120 | rw [HodgeConjecture.DegreeTwo.ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation_f_zero] |
| 121 | exact hh |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegerSheafAugmentation |