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.Normal.GysinLocalIso |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.GlobalSourceOpenNaturality |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Relative.MapDegreeSupport |
| 4 | |
| 5 | /-! # Gysin Restriction -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.Normal.GysinRestriction.Constructions |
| 12 | |
| 13 | /-! The original global Gysin isomorphism, with an arbitrary closed |
| 14 | support in the immersion image, restricts to the actual local normal |
| 15 | equation Gysin isomorphism. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.GlobalSourceOpenNaturality.Constructions.Construction OAI.AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions.Support OAI.AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions |
| 20 | RetractionComparison.Constructions Relative.MapDegreeSupport.Constructions |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p q : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 26 | (W : Opens V.analyticSpace) (hW : (W : Set V.analyticSpace)ᶜ ⊆ Set.range Z.regularComplementInclusion) |
| 27 | (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 28 | V.analyticSpace (Z.regularThomComplementOpen : Set V.analyticSpace)) (2 * p)) |
| 29 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 30 | |
| 31 | def globalGysinIso (q : ℕ) : |
| 32 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Z.regularAnalyticSpace |
| 33 | (Z.regularComplementInclusion ⁻¹' (W : Set V.analyticSpace)) (2 * q) ≅ |
| 34 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) V.analyticSpace (W : Set V.analyticSpace) (2 * (p + q)) := |
| 35 | Immersion.SupportedThomSource.Constructions.Construction.regularSourceThomSupportedGlobalIso Z a ha W (2 * q) ≪≫ |
| 36 | eqToIso (congrArg (fun n => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) V.analyticSpace |
| 37 | ((Z.regularThomComplementOpen ⊔ W : Opens V.analyticSpace) : Set V.analyticSpace) n) |
| 38 | (Nat.mul_add 2 p q).symm) ≪≫ |
| 39 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr V.analyticSpace (GysinLocalIso.Constructions.Support.globalTargetComplement Z W hW) (2 * (p + q)) |
| 40 | |
| 41 | variable (x : Z.regularAnalyticSpace) |
| 42 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair Z.regularAnalyticModel (Fin p → ℂ) Z.regularComplementInclusion x) |
| 43 | (g : TopCat.of (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding) ⟶ TopCat.of (Fin q → ℂ)) |
| 44 | (hg : ∀ y : HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding, |
| 45 | g y = 0 ↔ Z.regularComplementInclusion y.val ∉ W) |
| 46 | |
| 47 | include hg in |
| 48 | theorem sourceMapsTo : Set.MapsTo |
| 49 | (Geometric.LocalHomology.Cycles.subspaceInclusion Z.regularAnalyticSpace |
| 50 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding : Set Z.regularAnalyticSpace)) |
| 51 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g : Set (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding)) |
| 52 | (Z.regularComplementInclusion ⁻¹' (W : Set V.analyticSpace)) := by |
| 53 | intro y hy |
| 54 | exact (Set.ext_iff.mp (GysinLocalIso.Constructions.Support.sourceComplement Z x P W g hg) y).mpr hy |
| 55 | |
| 56 | theorem globalGysinIso_restriction : |
| 57 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 58 | (Geometric.LocalHomology.Cycles.subspaceInclusion Z.regularAnalyticSpace |
| 59 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding : Set Z.regularAnalyticSpace)) |
| 60 | (sourceMapsTo Z W x P g hg) (2 * q) ≫ |
| 61 | (GysinLocalIso.Constructions.localGysinIso Z x P W hW g hg a ha).hom = |
| 62 | (globalGysinIso Z W hW a ha q).hom ≫ |
| 63 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) V.analyticSpace |
| 64 | (W : Set V.analyticSpace) P.openNeighborhood (2 * (p + q)) := by |
| 65 | let s₁ := Iso.refl (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Z.regularAnalyticSpace |
| 66 | (Z.regularComplementInclusion ⁻¹' (W : Set V.analyticSpace)) (2 * q)) |
| 67 | let s₂ := AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr |
| 68 | (TopCat.of (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding)) (GysinLocalIso.Constructions.Support.sourceComplement Z x P W g hg) (2 * q) |
| 69 | let t₁ := eqToIso (congrArg (fun n => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) V.analyticSpace |
| 70 | ((Z.regularThomComplementOpen ⊔ W : Opens V.analyticSpace) : Set V.analyticSpace) n) |
| 71 | (Nat.mul_add 2 p q).symm) ≪≫ |
| 72 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr V.analyticSpace (GysinLocalIso.Constructions.Support.globalTargetComplement Z W hW) (2 * (p + q)) |
| 73 | let t₂ := eqToIso (congrArg (fun n => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) |
| 74 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) |
| 75 | ((Z.regularThomComplementOpen ⊔ W : Opens V.analyticSpace) : Set V.analyticSpace) P.openNeighborhood) n) |
| 76 | (Nat.mul_add 2 p q).symm) ≪≫ |
| 77 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr (TopCat.of P.neighborhood) (GysinLocalIso.Constructions.targetEquality Z x P W hW) (2 * (p + q)) |
| 78 | have hs := HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.relativePairMap_supportEquality |
| 79 | (Geometric.LocalHomology.Cycles.subspaceInclusion Z.regularAnalyticSpace |
| 80 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding : Set Z.regularAnalyticSpace)) |
| 81 | (GysinLocalIso.Constructions.Support.sourceComplement Z x P W g hg) (rfl : Z.regularComplementInclusion ⁻¹' (W : Set V.analyticSpace) = _) |
| 82 | (fun _ hx => hx) (sourceMapsTo Z W x P g hg) (2 * q) |
| 83 | have ht := Relative.MapDegreeSupport.Constructions.relativePairMap_degreeSupport |
| 84 | (Geometric.LocalHomology.Cycles.subspaceInclusion V.analyticSpace (P.openNeighborhood : Set V.analyticSpace)) |
| 85 | (GysinLocalIso.Constructions.targetEquality Z x P W hW) (GysinLocalIso.Constructions.Support.globalTargetComplement Z W hW) (fun _ hx => hx) (fun _ hx => hx) |
| 86 | (Nat.mul_add 2 p q).symm |
| 87 | have hn := Immersion.GlobalSourceOpenNaturality.Constructions.Construction.regularSourceThomSupportedGlobalIso_open_naturality Z a ha W P.openNeighborhood (2 * q) |
| 88 | have h := Immersion.SupportedSourceNaturality.Constructions.Construction.sourceTargetIso_naturality s₁ s₂ |
| 89 | (Immersion.SupportedThomSource.Constructions.Construction.regularSourceThomSupportedGlobalIso Z a ha W (2 * q)) |
| 90 | (Immersion.SupportedThomSource.Constructions.Construction.regularSourceThomSupportedRelativeIso Z a ha W P.openNeighborhood (2 * q)) t₁ t₂ _ _ _ _ hs hn ht |
| 91 | simpa only [s₁, s₂, t₁, t₂, globalGysinIso, GysinLocalIso.Constructions.localGysinIso, Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction, |
| 92 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr, Iso.trans_hom, Iso.symm_hom, Iso.refl_inv, |
| 93 | Category.id_comp, Category.assoc] using h |
| 94 | |
| 95 | end AlgebraicGeometry.CycleClass.Thom.Normal.GysinRestriction.Constructions |
| 96 | |
| 97 | namespace AlgebraicGeometry.CycleClass.Thom.Normal.GysinRestriction.Constructions.ThomClass |
| 98 | |
| 99 | /-! On a neighborhood where an arbitrary closed support is a smooth |
| 100 | submanifold defined by a source submersion, its local Gysin class is |
| 101 | the genuine Thom class of that support. -/ |
| 102 | |
| 103 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 104 | open scoped _root_.Manifold ContDiff |
| 105 | |
| 106 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.ClosedImmersionComposition.Constructions.ComplexManifold OAI.AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions.Support OAI.AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions |
| 107 | RetractionComparison.Constructions Constructions |
| 108 | |
| 109 | set_option backward.isDefEq.respectTransparency false |
| 110 | set_option backward.isDefEq.respectTransparency.types false |
| 111 | |
| 112 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p q : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 113 | (x : Z.regularAnalyticSpace) |
| 114 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair Z.regularAnalyticModel (Fin p → ℂ) Z.regularComplementInclusion x) |
| 115 | (W : Opens V.analyticSpace) (hW : (W : Set V.analyticSpace)ᶜ ⊆ Set.range Z.regularComplementInclusion) |
| 116 | (g : TopCat.of (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding) ⟶ TopCat.of (Fin q → ℂ)) |
| 117 | (hg : ∀ y : HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding, |
| 118 | g y = 0 ↔ Z.regularComplementInclusion y.val ∉ W) |
| 119 | (C : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold V P.openNeighborhood) (p + q)) |
| 120 | (hC : Set.range C.regularComplementInclusion = Subtype.val ⁻¹' (W : Set V.analyticSpace)ᶜ) |
| 121 | |
| 122 | include hC in |
| 123 | theorem supportEquality : |
| 124 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) (W : Set V.analyticSpace) P.openNeighborhood = |
| 125 | (Set.range C.regularComplementInclusion)ᶜ := by |
| 126 | ext y |
| 127 | change y.val ∈ W ↔ y ∉ Set.range C.regularComplementInclusion |
| 128 | rw [hC] |
| 129 | exact not_not.symm |
| 130 | |
| 131 | variable |
| 132 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, V.analyticModel) |
| 133 | 𝓘(ℂ, Z.regularAnalyticModel × (Fin p → ℂ))) |
| 134 | (hPa : ContMDiffOn 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, Z.regularAnalyticModel × (Fin p → ℂ)) ω |
| 135 | P.ambientChart P.ambientChart.source) |
| 136 | (hPi : ContMDiffOn 𝓘(ℂ, Z.regularAnalyticModel × (Fin p → ℂ)) 𝓘(ℂ, V.analyticModel) ω |
| 137 | P.ambientChart.symm P.ambientChart.target) |
| 138 | (hga : ContMDiff 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, Fin q → ℂ) ω g) |
| 139 | (hgs : ∀ y : HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding, g y = 0 → |
| 140 | Function.Surjective (mfderiv 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, Fin q → ℂ) g y)) |
| 141 | (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 142 | V.analyticSpace (Z.regularThomComplementOpen : Set V.analyticSpace)) (2 * p)) |
| 143 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 144 | |
| 145 | include hP hPa hPi hga hgs |
| 146 | |
| 147 | theorem localGysinIso_normalClass : |
| 148 | eqToHom (congrArg (fun A => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 149 | (TopCat.of P.neighborhood) A (2 * (p + q))) (supportEquality Z x P W C hC)) |
| 150 | ((GysinLocalIso.Constructions.localGysinIso Z x P W hW g hg a ha).hom |
| 151 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g |
| 152 | (A := (RetractionComparison.Constructions.sourceEquationOpen Z x P g : Set (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding))) |
| 153 | (B := {0}ᶜ) (fun _ hx => hx) (2 * q) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass q))) = |
| 154 | C.regularThomClass := by |
| 155 | have hCg : Set.range C.regularComplementInclusion = |
| 156 | (HodgeConjecture.DegreeTwo.NormalPairSourceSupport.Constructions.normalPairSourceInclusionMap P Z.closed.isEmbedding) '' (g ⁻¹' {0}) := |
| 157 | hC.trans (GysinLocalIso.Constructions.Support.normalZero_image Z x P W hW g hg).symm |
| 158 | have hn := RetractionComparison.Constructions.normalRetractionThomIso_eq_Thom Z x P C g hCg hP hPa hPi hga hgs a ha |
| 159 | rw [GysinLocalIso.Constructions.localGysinIso_eq_retraction] |
| 160 | simp only [Iso.trans_hom, AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr, |
| 161 | eqToIso.hom, ConcreteCategory.comp_apply] |
| 162 | rw [← ConcreteCategory.comp_apply, eqToHom_trans] |
| 163 | exact hn |
| 164 | |
| 165 | end AlgebraicGeometry.CycleClass.Thom.Normal.GysinRestriction.Constructions.ThomClass |
| 166 | |
| 167 | end |
| 168 | |
| 169 | end OAI |