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.HodgeConjecture.DegreeTwo.RegularThomSourceSheaf |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupSheafHomotopy |
| 3 | |
| 4 | /-! # Thom Resolution Diagram -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ThomResolutionDiagram.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The source–Thom sheaf comparison is independent of the chosen normalized cocycle. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 19 | variable (a b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 20 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 21 | |
| 22 | theorem regularThomZeroSheafMap_eq |
| 23 | (hab : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 b) : |
| 24 | RegularThomSourceSheaf.Constructions.regularThomZeroSheafMap Z a = RegularThomSourceSheaf.Constructions.regularThomZeroSheafMap Z b := by |
| 25 | obtain ⟨h⟩ := RelativeCupSheafHomotopy.Constructions.relativeTwoCupGoodShiftSheaf_homotopic_of_class_eq |
| 26 | (TopCat.of Z.regularAmbientSpace) Z.regularThomComplementOpen a b hab |
| 27 | exact h.homologyMap_eq 0 |
| 28 | |
| 29 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = Z.regularThomClass) |
| 30 | variable (hb : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 b = Z.regularThomClass) |
| 31 | |
| 32 | theorem regularSourceThomZeroSheafIso_eq : |
| 33 | RegularThomSourceSheaf.Constructions.regularSourceThomZeroSheafIso Z a ha = RegularThomSourceSheaf.Constructions.regularSourceThomZeroSheafIso Z b hb := by |
| 34 | have := LocalStalkQuasiIso.Constructions.moduleSheaf_localQuotient_epi (RegularThomSourceSheaf.Constructions.regularSourceZeroSheafMap Z) |
| 35 | (RegularThomSourceSheaf.Constructions.regularThomZeroSheafMap Z a) (RegularThomSourceSheaf.Constructions.regularSourceThom_localQuotients Z a ha) |
| 36 | apply Iso.ext |
| 37 | apply (cancel_epi (RegularThomSourceSheaf.Constructions.regularSourceZeroSheafMap Z)).mp |
| 38 | rw [RegularThomSourceSheaf.Constructions.regularSourceThomZeroSheafIso_comm, RegularThomSourceSheaf.Constructions.regularSourceThomZeroSheafIso_comm] |
| 39 | exact regularThomZeroSheafMap_eq Z a b (ha.trans hb.symm) |
| 40 | |
| 41 | theorem regularSourceThomSheafIso_eq : |
| 42 | RegularThomSourceSheaf.Constructions.regularSourceThomSheafIso Z a ha = RegularThomSourceSheaf.Constructions.regularSourceThomSheafIso Z b hb := by |
| 43 | unfold RegularThomSourceSheaf.Constructions.regularSourceThomSheafIso |
| 44 | rw [regularSourceThomZeroSheafIso_eq Z a b ha hb] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | /-! A coherent diagram of the actual source and Thom resolutions, including the original cup map. -/ |
| 49 | |
| 50 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 51 | |
| 52 | set_option backward.isDefEq.respectTransparency false |
| 53 | |
| 54 | theorem cochainZeroHomologyAugmentation_naturality {C : Type*} [Category C] [Abelian C] |
| 55 | {K L : CochainComplex C ℕ} (f : K ⟶ L) : |
| 56 | (CochainComplex.single₀ C).map (HomologicalComplex.homologyMap f 0) ≫ |
| 57 | ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation L = |
| 58 | ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation K ≫ f := by |
| 59 | apply (CochainComplex.fromSingle₀Equiv L (K.homology 0)).injective |
| 60 | apply Subtype.ext |
| 61 | change ((CochainComplex.single₀ C).map (HomologicalComplex.homologyMap f 0) ≫ |
| 62 | ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation L).f 0 = (ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation K ≫ f).f 0 |
| 63 | simp only [HomologicalComplex.comp_f, CochainComplex.single₀_map_f_zero, |
| 64 | ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation_f_zero] |
| 65 | rw [← Category.assoc, CochainComplex.isoHomologyπ₀_inv_naturality, |
| 66 | Category.assoc, HomologicalComplex.cyclesMap_i, ← Category.assoc] |
| 67 | |
| 68 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 69 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 70 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 71 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = Z.regularThomClass) |
| 72 | |
| 73 | def regularSourceToThomResolution : |
| 74 | (CochainComplex.single₀ _).obj ((RegularThomSourceSheaf.Constructions.regularSourceSheafComplex Z).homology 0) ⟶ |
| 75 | GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z := |
| 76 | (CochainComplex.single₀ _).map (RegularThomSourceSheaf.Constructions.regularSourceThomZeroSheafIso Z a ha).hom ≫ |
| 77 | ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z) |
| 78 | |
| 79 | theorem regularSourceToThomResolution_quasiIso : QuasiIso (regularSourceToThomResolution Z a ha) := by |
| 80 | have := ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation_quasiIso (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z) |
| 81 | (GoodShiftCohomology.Constructions.regularThomGoodShift_positive_homology_isZero Z) |
| 82 | unfold regularSourceToThomResolution |
| 83 | infer_instance |
| 84 | |
| 85 | /-- The original normalized cup fits this diagram as a literal cochain-map equality. -/ |
| 86 | theorem regularSourceToThomResolution_cup : |
| 87 | (CochainComplex.single₀ _).map (RegularThomSourceSheaf.Constructions.regularSourceZeroSheafMap Z) ≫ |
| 88 | regularSourceToThomResolution Z a ha = |
| 89 | ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation |
| 90 | (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) |
| 91 | (TopCat.of Z.regularAmbientSpace))) ≫ |
| 92 | RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap (TopCat.of Z.regularAmbientSpace) |
| 93 | Z.regularThomComplementOpen a := by |
| 94 | unfold regularSourceToThomResolution |
| 95 | rw [← Category.assoc, ← Functor.map_comp, RegularThomSourceSheaf.Constructions.regularSourceThomZeroSheafIso_comm] |
| 96 | exact cochainZeroHomologyAugmentation_naturality _ |
| 97 | |
| 98 | theorem regularSourceResolution_pullback : |
| 99 | (CochainComplex.single₀ _).map (RegularThomSourceSheaf.Constructions.regularSourceZeroSheafMap Z) ≫ |
| 100 | ClosedSourceResolution.Constructions.closedSourceSheafAugmentation (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) = |
| 101 | ThomGoodShiftFlasque.Constructions.cochainZeroHomologyAugmentation |
| 102 | (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) |
| 103 | (TopCat.of Z.regularAmbientSpace))) ≫ |
| 104 | SingularSheafPullback.Constructions.singularSheafPullbackMap (ModuleCat.of ℚ ℚ) (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) := |
| 105 | cochainZeroHomologyAugmentation_naturality _ |
| 106 | |
| 107 | theorem regularSourceToThomResolution_eq |
| 108 | (b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 109 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 110 | (hb : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 b = Z.regularThomClass) : |
| 111 | regularSourceToThomResolution Z a ha = regularSourceToThomResolution Z b hb := by |
| 112 | unfold regularSourceToThomResolution |
| 113 | rw [regularSourceThomZeroSheafIso_eq Z a b ha hb] |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ThomResolutionDiagram.Constructions |