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.CycleClass.Thom.Regular.CupStalk |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.LocalStalkQuasiIso |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalSourceSheafComparison |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSourceResolution |
| 5 | |
| 6 | /-! # Source Sheaf -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Regular.SourceSheaf.Constructions.HigherThom |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The normalized Thom sheaf is canonically the independently constructed source cohomology sheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | theorem sheafHomologyMap_stalk_isIso {R : Type} [Ring R] {X : TopCat.{0}} |
| 19 | {K L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ} |
| 20 | (f : K ⟶ L) (x : X) (n : ℕ) [QuasiIsoAt (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainMap f x) n] : |
| 21 | IsIso ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk x).map (HomologicalComplex.homologyMap f n)) := by |
| 22 | have : IsIso ((AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCohomologyIso K x n).hom ≫ |
| 23 | (HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk x).map (HomologicalComplex.homologyMap f n)) := by |
| 24 | change IsIso ((AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCohomologyIso K x n).hom ≫ |
| 25 | (TopCat.Presheaf.stalkFunctor (ModuleCat.{0} R) x).map |
| 26 | (HomologicalComplex.homologyMap f n).hom) |
| 27 | rw [← AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCohomologyIso_naturality] |
| 28 | infer_instance |
| 29 | exact IsIso.of_isIso_comp_left (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCohomologyIso K x n).hom _ |
| 30 | |
| 31 | abbrev regularSourceInclusionMap (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 32 | TopCat.of Z.regularAnalyticSpace ⟶ TopCat.of Z.regularAmbientSpace := |
| 33 | TopCat.ofHom ⟨Z.regularComplementInclusion, Z.continuous_regularComplementInclusion⟩ |
| 34 | |
| 35 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 36 | |
| 37 | abbrev regularSourceSheafComplex := |
| 38 | HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) (regularSourceInclusionMap V Z) |
| 39 | |
| 40 | def regularSourceZeroSheafMap := |
| 41 | HomologicalComplex.homologyMap |
| 42 | (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularSheafPullbackMap (ModuleCat.of ℚ ℚ) (regularSourceInclusionMap V Z)) 0 |
| 43 | |
| 44 | theorem regularSourceZeroSheafMap_stalk_isIso (x : Z.regularAnalyticSpace) : |
| 45 | IsIso ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk (Z.regularComplementInclusion x)).map (regularSourceZeroSheafMap Z)) := by |
| 46 | have := HodgeConjecture.DegreeTwo.NormalSourceSheafComparison.Constructions.normalPairSourceSheafPullback_stalk_quasiIso |
| 47 | (f := regularSourceInclusionMap V Z) (Z.regularFixedNormalPair x) |
| 48 | Z.isClosedEmbedding_regularComplementInclusion.isEmbedding |
| 49 | exact sheafHomologyMap_stalk_isIso _ _ 0 |
| 50 | |
| 51 | theorem regularSourceZeroSheaf_stalk_isZero (y : Z.regularAmbientSpace) |
| 52 | (hy : y ∉ Set.range Z.regularComplementInclusion) : |
| 53 | IsZero ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk y).obj ((regularSourceSheafComplex Z).homology 0)) := by |
| 54 | have hz : IsZero ((AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainComplex (regularSourceSheafComplex Z) y).homology 0) := |
| 55 | (HodgeConjecture.DegreeTwo.ClosedPushforwardExactness.Constructions.closedPushforwardSheafComplex_stalk_exactAt (regularSourceInclusionMap V Z) |
| 56 | Z.isClosedEmbedding_regularComplementInclusion (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex |
| 57 | (TopCat.of Z.regularAnalyticSpace)) y hy 0).isZero_homology |
| 58 | exact hz.of_iso (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCohomologyIso (regularSourceSheafComplex Z) y 0).symm |
| 59 | |
| 60 | theorem regularThomGoodShiftZeroSheaf_stalk_isZero (y : Z.regularAmbientSpace) |
| 61 | (hy : y ∉ Set.range Z.regularComplementInclusion) : |
| 62 | IsZero ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk y).obj ((HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z).homology 0)) := by |
| 63 | have hz : IsZero ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk y).obj (Z.regularThomSheafComplex.homology (2 * p))) := |
| 64 | (Geometric.SupportStalkVanishes.Cycles.supportedSingularSheaf_stalk_homology_isZero_of_mem |
| 65 | (X := TopCat.of Z.regularAmbientSpace) (ModuleCat.of ℚ ℚ) |
| 66 | Z.regularThomComplementOpen y hy (2 * p)).of_iso |
| 67 | (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCohomologyIso Z.regularThomSheafComplex y (2 * p)).symm |
| 68 | exact hz.of_iso ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk y).mapIso (HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions.regularThomGoodShift_zeroHomologyIso Z)) |
| 69 | |
| 70 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 71 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) (2 * p)) |
| 72 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 73 | |
| 74 | def regularThomZeroSheafMap := |
| 75 | HomologicalComplex.homologyMap (EvenCupSheaf.Constructions.relativeEvenCupGoodShiftSheafMap |
| 76 | (TopCat.of Z.regularAmbientSpace) Z.regularThomComplementOpen a) 0 |
| 77 | |
| 78 | include ha |
| 79 | |
| 80 | theorem regularThomZeroSheafMap_stalk_isIso (x : Z.regularAnalyticSpace) : |
| 81 | IsIso ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk (Z.regularComplementInclusion x)).map (regularThomZeroSheafMap Z a)) := by |
| 82 | have := CupStalk.Constructions.HigherThom.regularThomCupGoodShiftSheaf_stalk_quasiIso Z a ha x |
| 83 | exact sheafHomologyMap_stalk_isIso _ _ 0 |
| 84 | |
| 85 | theorem regularSourceThom_localQuotients (y : Z.regularAmbientSpace) : |
| 86 | (IsIso ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk y).map (regularSourceZeroSheafMap Z)) ∧ |
| 87 | IsIso ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk y).map (regularThomZeroSheafMap Z a))) ∨ |
| 88 | (IsZero ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk y).obj ((regularSourceSheafComplex Z).homology 0)) ∧ |
| 89 | IsZero ((HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafStalk y).obj ((HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z).homology 0))) := by |
| 90 | by_cases hy : y ∈ Set.range Z.regularComplementInclusion |
| 91 | · obtain ⟨x,rfl⟩ := hy |
| 92 | exact Or.inl ⟨regularSourceZeroSheafMap_stalk_isIso Z x, |
| 93 | regularThomZeroSheafMap_stalk_isIso Z a ha x⟩ |
| 94 | · exact Or.inr ⟨regularSourceZeroSheaf_stalk_isZero Z y hy, |
| 95 | regularThomGoodShiftZeroSheaf_stalk_isZero Z y hy⟩ |
| 96 | |
| 97 | /-- Both sides were constructed independently; the actual normalized cup identifies them. -/ |
| 98 | def regularSourceThomZeroSheafIso : |
| 99 | (regularSourceSheafComplex Z).homology 0 ≅ (HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z).homology 0 := |
| 100 | HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafLocalQuotientIso (regularSourceZeroSheafMap Z) (regularThomZeroSheafMap Z a) |
| 101 | (regularSourceThom_localQuotients Z a ha) |
| 102 | |
| 103 | theorem regularSourceThomZeroSheafIso_comm : |
| 104 | regularSourceZeroSheafMap Z ≫ (regularSourceThomZeroSheafIso Z a ha).hom = |
| 105 | regularThomZeroSheafMap Z a := |
| 106 | HodgeConjecture.DegreeTwo.LocalStalkQuasiIso.Constructions.moduleSheafLocalQuotientIso_comm _ _ _ |
| 107 | |
| 108 | def regularSourceThomSheafIso : |
| 109 | (regularSourceSheafComplex Z).homology 0 ≅ Z.regularThomSheafComplex.homology (2 * p) := |
| 110 | regularSourceThomZeroSheafIso Z a ha ≪≫ HodgeConjecture.DegreeTwo.GoodShiftCohomology.Constructions.regularThomGoodShift_zeroHomologyIso Z |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.CycleClass.Thom.Regular.SourceSheaf.Constructions.HigherThom |