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.GlobalSourceThomNaturality |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RegularCompactThomStage |
| 3 | |
| 4 | /-! # Compact Thom Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactThomZero.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual compact source stages of the Thom isomorphism form a compatible directed system. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | theorem relativeComplementChange_cast_naturality (X : TopCat.{0}) |
| 19 | {A B A' B' : Set X} (h : A ⊆ B) (h' : A' ⊆ B') (eA : A = A') (eB : B = B') (n : ℕ) : |
| 20 | HomologicalComplex.homologyMap (RelativeTopSupportNaturality.Constructions.relativeComplementChange X h) n ≫ |
| 21 | (eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S n) eA)).hom = |
| 22 | (eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S n) eB)).hom ≫ |
| 23 | HomologicalComplex.homologyMap (RelativeTopSupportNaturality.Constructions.relativeComplementChange X h') n := by |
| 24 | subst A' |
| 25 | subst B' |
| 26 | simp only [eqToIso_refl, Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 27 | |
| 28 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 29 | |
| 30 | theorem regularCompactImageComplement_antitone {K L : Compacts Z.regularAnalyticSpace} (h : K ≤ L) : |
| 31 | RegularCompactThomStage.Constructions.regularCompactImageComplement Z L ≤ RegularCompactThomStage.Constructions.regularCompactImageComplement Z K := |
| 32 | Set.compl_subset_compl.mpr (OpenEmbeddingExtension.Constructions.embeddingCompactImage_mono (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) h) |
| 33 | |
| 34 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 35 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 36 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = Z.regularThomClass) |
| 37 | |
| 38 | theorem regularSourceCompactThomStageIso_naturality |
| 39 | {K L : Compacts Z.regularAnalyticSpace} (h : K ≤ L) (n : ℕ) : |
| 40 | AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportCohomologyMap (ModuleCat.of ℚ ℚ) h n ≫ (RegularCompactThomStage.Constructions.regularSourceCompactThomStageIso Z a ha L n).hom = |
| 41 | (RegularCompactThomStage.Constructions.regularSourceCompactThomStageIso Z a ha K n).hom ≫ |
| 42 | AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportCohomologyMap (ModuleCat.of ℚ ℚ) |
| 43 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage_mono (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) h) (2+n) := by |
| 44 | let hO := regularCompactImageComplement_antitone Z h |
| 45 | exact SupportedSourceThomNaturality.Constructions.sourceTargetIso_naturality |
| 46 | (eqToIso (congrArg (fun B => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 47 | (TopCat.of Z.regularAnalyticSpace) B n) (RegularCompactThomStage.Constructions.regularCompactImageComplement_preimage Z K))) |
| 48 | (eqToIso (congrArg (fun B => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 49 | (TopCat.of Z.regularAnalyticSpace) B n) (RegularCompactThomStage.Constructions.regularCompactImageComplement_preimage Z L))) |
| 50 | (GlobalSupportedSourceThom.Constructions.regularSourceThomSupportedGlobalIso Z a ha (RegularCompactThomStage.Constructions.regularCompactImageComplement Z K) n) |
| 51 | (GlobalSupportedSourceThom.Constructions.regularSourceThomSupportedGlobalIso Z a ha (RegularCompactThomStage.Constructions.regularCompactImageComplement Z L) n) |
| 52 | (eqToIso (congrArg (fun B => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 53 | (TopCat.of Z.regularAmbientSpace) B (2+n)) (RegularCompactThomStage.Constructions.regularCompactThom_unionComplement Z K))) |
| 54 | (eqToIso (congrArg (fun B => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 55 | (TopCat.of Z.regularAmbientSpace) B (2+n)) (RegularCompactThomStage.Constructions.regularCompactThom_unionComplement Z L))) _ _ _ _ |
| 56 | (relativeComplementChange_cast_naturality (TopCat.of Z.regularAnalyticSpace) |
| 57 | (show ((Opens.map (RegularTopGysin.Constructions.regularSourceInclusionMap V Z)).obj (RegularCompactThomStage.Constructions.regularCompactImageComplement Z L) : |
| 58 | Set Z.regularAnalyticSpace) ⊆ |
| 59 | ((Opens.map (RegularTopGysin.Constructions.regularSourceInclusionMap V Z)).obj (RegularCompactThomStage.Constructions.regularCompactImageComplement Z K) : |
| 60 | Set Z.regularAnalyticSpace) from fun _ hx => hO hx) |
| 61 | (Set.compl_subset_compl.mpr h) (RegularCompactThomStage.Constructions.regularCompactImageComplement_preimage Z L) |
| 62 | (RegularCompactThomStage.Constructions.regularCompactImageComplement_preimage Z K) n) |
| 63 | (GlobalSourceThomNaturality.Constructions.regularSourceThomSupportedGlobalIso_support_naturality Z a ha hO n) |
| 64 | (relativeComplementChange_cast_naturality (TopCat.of Z.regularAmbientSpace) |
| 65 | (show ((Z.regularThomComplementOpen ⊔ RegularCompactThomStage.Constructions.regularCompactImageComplement Z L : Opens Z.regularAmbientSpace) : |
| 66 | Set Z.regularAmbientSpace) ⊆ |
| 67 | ((Z.regularThomComplementOpen ⊔ RegularCompactThomStage.Constructions.regularCompactImageComplement Z K : Opens Z.regularAmbientSpace) : |
| 68 | Set Z.regularAmbientSpace) from sup_le_sup_left hO Z.regularThomComplementOpen) |
| 69 | (Set.compl_subset_compl.mpr (OpenEmbeddingExtension.Constructions.embeddingCompactImage_mono (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) h)) |
| 70 | (RegularCompactThomStage.Constructions.regularCompactThom_unionComplement Z L) (RegularCompactThomStage.Constructions.regularCompactThom_unionComplement Z K) (2+n)) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | section |
| 75 | |
| 76 | /-! The global normalized Thom pushforward on actual compactly supported source cohomology. -/ |
| 77 | |
| 78 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 79 | |
| 80 | set_option backward.isDefEq.respectTransparency false |
| 81 | |
| 82 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 83 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 84 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 85 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = Z.regularThomClass) |
| 86 | |
| 87 | def regularSourceCompactThomPushforward (n : ℕ) : |
| 88 | AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAnalyticSpace) n ⟶ |
| 89 | AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) (2+n) := |
| 90 | AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportedCohomologyDesc (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAnalyticSpace) n |
| 91 | (fun K => (RegularCompactThomStage.Constructions.regularSourceCompactThomStageIso Z a ha K n).hom ≫ |
| 92 | AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 93 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) K) (2+n)) |
| 94 | (by |
| 95 | intro K L h |
| 96 | rw [← Category.assoc, regularSourceCompactThomStageIso_naturality, |
| 97 | Category.assoc, AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportCohomologyMap_ι]) |
| 98 | |
| 99 | theorem regularSourceCompactThomPushforward_stage (n : ℕ) (K : Compacts Z.regularAnalyticSpace) : |
| 100 | AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAnalyticSpace) K n ≫ |
| 101 | regularSourceCompactThomPushforward Z a ha n = |
| 102 | (RegularCompactThomStage.Constructions.regularSourceCompactThomStageIso Z a ha K n).hom ≫ |
| 103 | AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 104 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (RegularTopGysin.Constructions.regularSourceInclusionMap V Z) K) (2+n) := |
| 105 | AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportCohomologyι_desc _ _ _ _ _ _ |
| 106 | |
| 107 | theorem regularSourceCompactThomPushforward_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) (n : ℕ) : |
| 111 | regularSourceCompactThomPushforward Z a ha n = regularSourceCompactThomPushforward Z b hb n := by |
| 112 | apply AlgebraicTopology.Duality.Poincare.CompactSupportColimit.compactSupportedCohomology_hom_ext |
| 113 | intro K |
| 114 | rw [regularSourceCompactThomPushforward_stage, regularSourceCompactThomPushforward_stage, |
| 115 | RegularCompactThomStage.Constructions.regularSourceCompactThomStageIso_eq Z a ha b hb] |
| 116 | |
| 117 | end |
| 118 | |
| 119 | /-! Actual zeroth singular homology is generated by classes from any open cover. -/ |
| 120 | |
| 121 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 122 | open scoped Simplicial |
| 123 | |
| 124 | set_option backward.isDefEq.respectTransparency false |
| 125 | |
| 126 | def rationalZeroChainClass (X : TopCat.{0}) : |
| 127 | (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).X 0 →ₗ[ℚ] (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology 0 := |
| 128 | (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X) 0).comp |
| 129 | ((LinearMap.id).codRestrict (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X) 0) |
| 130 | (fun z => AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.mem_chainCycles_zero (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X) z)) |
| 131 | |
| 132 | theorem rationalZeroChainClass_surjective (X : TopCat.{0}) : Function.Surjective (rationalZeroChainClass X) := by |
| 133 | intro z |
| 134 | obtain ⟨c, rfl⟩ := AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_surjective (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X) 0 z |
| 135 | exact ⟨c.val, rfl⟩ |
| 136 | |
| 137 | theorem rationalZeroChainClass_naturality {X Y : TopCat.{0}} (f : X ⟶ Y) |
| 138 | (z : (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).X 0) : |
| 139 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := ℚ) f 0 (rationalZeroChainClass X z) = |
| 140 | rationalZeroChainClass Y ((AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularScalarChainMap (R := ℚ) f).f 0 z) := |
| 141 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward_class f 0 ⟨z, AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.mem_chainCycles_zero (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X) z⟩ |
| 142 | |
| 143 | theorem rationalSingularChainMap_simplex {X Y : TopCat.{0}} (f : X ⟶ Y) (n : ℕ) |
| 144 | (s : (TopCat.toSSet.obj X) _⦋n⦌) : |
| 145 | (AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularScalarChainMap (R := ℚ) f).f n (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℚ) (TopCat.toSSet.obj X) s) = |
| 146 | AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℚ) (TopCat.toSSet.obj Y) ((TopCat.toSSet.map f).app _ s) := |
| 147 | ConcreteCategory.congr_hom |
| 148 | (SSet.ι_chainComplexMap_f (TopCat.toSSet.obj X) (TopCat.toSSet.obj Y) |
| 149 | (TopCat.toSSet.map f) (ModuleCat.of ℚ ℚ) s) 1 |
| 150 | |
| 151 | theorem singularZeroSimplex_open_lift (X : TopCat.{0}) (U : Opens X) |
| 152 | (s : (TopCat.toSSet.obj X) _⦋0⦌) (hs : TopCat.toSSetObj₀Equiv s ∈ U) : |
| 153 | ∃ t : (TopCat.toSSet.obj (TopCat.of U)) _⦋0⦌, |
| 154 | (TopCat.toSSet.map U.inclusion').app _ t = s := by |
| 155 | refine ⟨TopCat.toSSetObj₀Equiv.symm ⟨TopCat.toSSetObj₀Equiv s, hs⟩, ?_⟩ |
| 156 | change TopCat.toSSetObj₀Equiv.symm (TopCat.toSSetObj₀Equiv s) = s |
| 157 | exact Equiv.symm_apply_apply _ s |
| 158 | |
| 159 | theorem rationalHomologyZero_hom_ext_openCover (X : TopCat.{0}) {ι : Type*} |
| 160 | (U : ι → Opens X) (hcover : ∀ x : X, ∃ i, x ∈ U i) {A : ModuleCat.{0} ℚ} |
| 161 | {f g : (AlgebraicTopology.Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) X).homology 0 ⟶ A} |
| 162 | (h : ∀ i, AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := ℚ) (U i).inclusion' 0 ≫ f = |
| 163 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := ℚ) (U i).inclusion' 0 ≫ g) : f = g := by |
| 164 | have hz : f.hom.comp (rationalZeroChainClass X) = g.hom.comp (rationalZeroChainClass X) := by |
| 165 | apply AlgebraicTopology.Cohomology.Singular.ChainDual.chainFunctional_ext (TopCat.toSSet.obj X) A |
| 166 | intro s |
| 167 | obtain ⟨i, hi⟩ := hcover (TopCat.toSSetObj₀Equiv s) |
| 168 | obtain ⟨t, ht⟩ := singularZeroSimplex_open_lift X (U i) s hi |
| 169 | have he := ConcreteCategory.congr_hom (h i) |
| 170 | (rationalZeroChainClass (TopCat.of (U i)) (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain (R := ℚ) (TopCat.toSSet.obj (TopCat.of (U i))) t)) |
| 171 | simp only [ConcreteCategory.comp_apply] at he |
| 172 | erw [rationalZeroChainClass_naturality, rationalSingularChainMap_simplex, ht] at he |
| 173 | exact he |
| 174 | apply ModuleCat.hom_ext |
| 175 | apply LinearMap.ext |
| 176 | intro z |
| 177 | obtain ⟨z, rfl⟩ := rationalZeroChainClass_surjective X z |
| 178 | exact LinearMap.congr_fun hz z |
| 179 | |
| 180 | end |
| 181 | |
| 182 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactThomZero.Constructions |