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.RetractionZeroLocus |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normal.RetractionComparison |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.RetractionComparison |
| 4 | |
| 5 | /-! # Gysin Local Iso -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions.Support |
| 12 | |
| 13 | /-! In a genuine outer normal neighborhood, a source equation for |
| 14 | an arbitrary closed subset has exactly the support required by the |
| 15 | original Gysin construction. No global smoothness of that subset is used. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.RetractionZeroLocus.Constructions |
| 20 | RetractionComparison.Constructions Immersion.Retraction.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 | (x : Z.regularAnalyticSpace) |
| 27 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair Z.regularAnalyticModel (Fin p → ℂ) Z.regularComplementInclusion x) |
| 28 | (W : Opens V.analyticSpace) (hW : (W : Set V.analyticSpace)ᶜ ⊆ Set.range Z.regularComplementInclusion) |
| 29 | (g : TopCat.of (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding) ⟶ TopCat.of (Fin q → ℂ)) |
| 30 | (hg : ∀ y : HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding, |
| 31 | g y = 0 ↔ Z.regularComplementInclusion y.val ∉ W) |
| 32 | |
| 33 | include hW in |
| 34 | theorem globalTargetComplement : |
| 35 | ((Z.regularThomComplementOpen ⊔ W : Opens V.analyticSpace) : Set V.analyticSpace) = W := by |
| 36 | apply Set.union_eq_right.mpr |
| 37 | intro y hy |
| 38 | by_contra hn |
| 39 | exact hy (hW hn) |
| 40 | |
| 41 | include hg in |
| 42 | theorem sourceComplement : |
| 43 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := Z.regularAnalyticSpace) |
| 44 | (((Opens.map (Immersion.SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj W) : Set Z.regularAnalyticSpace) |
| 45 | (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding) = |
| 46 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g : Set (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding)) := by |
| 47 | ext y |
| 48 | change Z.regularComplementInclusion y.val ∈ W ↔ g y ≠ 0 |
| 49 | simpa only [not_not] using (not_congr (hg y)).symm |
| 50 | |
| 51 | include hW hg in |
| 52 | theorem normalZero_image : |
| 53 | (HodgeConjecture.DegreeTwo.NormalPairSourceSupport.Constructions.normalPairSourceInclusionMap P Z.closed.isEmbedding) '' (g ⁻¹' {0}) = |
| 54 | Subtype.val ⁻¹' (W : Set V.analyticSpace)ᶜ := by |
| 55 | ext y |
| 56 | constructor |
| 57 | · rintro ⟨t, ht, rfl⟩ |
| 58 | exact (hg t).mp ht |
| 59 | · intro hy |
| 60 | obtain ⟨t, ht⟩ := hW hy |
| 61 | let t' : HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding := ⟨t, by |
| 62 | change Z.regularComplementInclusion t ∈ P.neighborhood |
| 63 | rw [ht] |
| 64 | exact y.property⟩ |
| 65 | refine ⟨t', (hg t').mpr ?_, ?_⟩ |
| 66 | · change Z.regularComplementInclusion t ∉ W |
| 67 | rwa [ht] |
| 68 | · exact Subtype.ext ht |
| 69 | |
| 70 | include hW hg in |
| 71 | theorem targetComplement : |
| 72 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) |
| 73 | ((Z.regularThomComplementOpen ⊔ W : Opens V.analyticSpace) : Set V.analyticSpace) P.openNeighborhood = |
| 74 | P.relativeComplement ∪ (HodgeConjecture.DegreeTwo.SourceThomProjection.Constructions.normalPairSourceRetractionMap P Z.closed.isEmbedding) ⁻¹' |
| 75 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g : Set (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding)) := by |
| 76 | rw [globalTargetComplement Z W hW] |
| 77 | have hi := congrArg (fun S : Set P.neighborhood => Sᶜ) (normalZero_image Z x P W hW g hg) |
| 78 | have hk : (Subtype.val ⁻¹' (W : Set V.analyticSpace)ᶜ : Set P.neighborhood)ᶜ = |
| 79 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) (W : Set V.analyticSpace) P.openNeighborhood := by |
| 80 | ext y |
| 81 | exact not_not |
| 82 | exact ((RetractionZeroLocus.Constructions.equations_support_complement P Z.closed.isEmbedding g).trans (hi.trans hk)).symm |
| 83 | |
| 84 | include hW hg in |
| 85 | theorem cylinder_le : |
| 86 | HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen (X := V.analyticSpace) P.openNeighborhood |
| 87 | (Immersion.Retraction.Constructions.retractionOpen Z P.openNeighborhood (HodgeConjecture.DegreeTwo.SourceThomProjection.Constructions.normalPairSourceRetractionMap P Z.closed.isEmbedding) |
| 88 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g)) ≤ W := by |
| 89 | intro y hy |
| 90 | change y ∈ Subtype.val '' (Immersion.Retraction.Constructions.retractionOpen Z P.openNeighborhood |
| 91 | (HodgeConjecture.DegreeTwo.SourceThomProjection.Constructions.normalPairSourceRetractionMap P Z.closed.isEmbedding) |
| 92 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g) : Set P.openNeighborhood) at hy |
| 93 | obtain ⟨w, hw, rfl⟩ := hy |
| 94 | have hc : w ∈ P.relativeComplement ∪ |
| 95 | (HodgeConjecture.DegreeTwo.SourceThomProjection.Constructions.normalPairSourceRetractionMap P Z.closed.isEmbedding) ⁻¹' |
| 96 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g : Set (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding)) := Or.inr hw |
| 97 | rw [← targetComplement Z x P W hW g hg, globalTargetComplement Z W hW] at hc |
| 98 | exact hc |
| 99 | |
| 100 | end AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions.Support |
| 101 | |
| 102 | namespace AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions |
| 103 | |
| 104 | /-! The original supported Gysin isomorphism on a normal neighborhood |
| 105 | is the actual source-retraction Thom map, for a closed subset whose |
| 106 | local source equation is prescribed geometrically. -/ |
| 107 | |
| 108 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 109 | |
| 110 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions.Support OAI.AlgebraicGeometry.CycleClass.Thom.Normal.Retraction.Constructions |
| 111 | RetractionComparison.Constructions Immersion.RetractionComparison.Constructions Immersion.Retraction.Constructions |
| 112 | |
| 113 | set_option backward.isDefEq.respectTransparency false |
| 114 | set_option backward.isDefEq.respectTransparency.types false |
| 115 | set_option backward.defeqAttrib.useBackward true |
| 116 | |
| 117 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p q : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 118 | (x : Z.regularAnalyticSpace) |
| 119 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair Z.regularAnalyticModel (Fin p → ℂ) Z.regularComplementInclusion x) |
| 120 | (W : Opens V.analyticSpace) (hW : (W : Set V.analyticSpace)ᶜ ⊆ Set.range Z.regularComplementInclusion) |
| 121 | (g : TopCat.of (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding) ⟶ TopCat.of (Fin q → ℂ)) |
| 122 | (hg : ∀ y : HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding, |
| 123 | g y = 0 ↔ Z.regularComplementInclusion y.val ∉ W) |
| 124 | |
| 125 | include hW in |
| 126 | theorem targetEquality : |
| 127 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) |
| 128 | ((Z.regularThomComplementOpen ⊔ W : Opens V.analyticSpace) : Set V.analyticSpace) P.openNeighborhood = |
| 129 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) (W : Set V.analyticSpace) P.openNeighborhood := |
| 130 | congrArg (fun A => AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) A P.openNeighborhood) |
| 131 | (Support.globalTargetComplement Z W hW) |
| 132 | |
| 133 | include hW hg in |
| 134 | theorem normalTargetEquality : |
| 135 | P.relativeComplement ∪ (HodgeConjecture.DegreeTwo.SourceThomProjection.Constructions.normalPairSourceRetractionMap P Z.closed.isEmbedding) ⁻¹' |
| 136 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g : Set (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding)) = |
| 137 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) (W : Set V.analyticSpace) P.openNeighborhood := |
| 138 | (Support.targetComplement Z x P W hW g hg).symm.trans (targetEquality Z x P W hW) |
| 139 | |
| 140 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 141 | V.analyticSpace (Z.regularThomComplementOpen : Set V.analyticSpace)) (2 * p)) |
| 142 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 143 | |
| 144 | def localGysinIso : |
| 145 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 146 | (TopCat.of (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding)) |
| 147 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g : Set (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding)) (2 * q) ≅ |
| 148 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) |
| 149 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) (W : Set V.analyticSpace) P.openNeighborhood) (2 * (p + q)) := |
| 150 | (AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr (TopCat.of (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding)) |
| 151 | (Support.sourceComplement Z x P W g hg) (2 * q)).symm ≪≫ |
| 152 | Immersion.SupportedThomSource.Constructions.Construction.regularSourceThomSupportedRelativeIso Z a ha W P.openNeighborhood (2 * q) ≪≫ |
| 153 | eqToIso (congrArg (fun n => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) |
| 154 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := V.analyticSpace) |
| 155 | ((Z.regularThomComplementOpen ⊔ W : Opens V.analyticSpace) : Set V.analyticSpace) P.openNeighborhood) n) |
| 156 | (Nat.mul_add 2 p q).symm) ≪≫ |
| 157 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr (TopCat.of P.neighborhood) (targetEquality Z x P W hW) (2 * (p + q)) |
| 158 | |
| 159 | theorem localGysinIso_eq_retraction : |
| 160 | localGysinIso Z x P W hW g hg a ha = |
| 161 | Retraction.Constructions.normalRetractionThomIso Z a ha x P (RetractionComparison.Constructions.sourceEquationOpen Z x P g) (2 * q) ≪≫ |
| 162 | eqToIso (congrArg (fun n => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) |
| 163 | (P.relativeComplement ∪ (HodgeConjecture.DegreeTwo.SourceThomProjection.Constructions.normalPairSourceRetractionMap P Z.closed.isEmbedding) ⁻¹' |
| 164 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g : Set (HodgeConjecture.DegreeTwo.NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.closed.isEmbedding))) n) |
| 165 | (Nat.mul_add 2 p q).symm) ≪≫ |
| 166 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr (TopCat.of P.neighborhood) (normalTargetEquality Z x P W hW g hg) (2 * (p + q)) := by |
| 167 | have hr := Immersion.RetractionComparison.Constructions.retractionThomIso_eq_original Z a ha P.openNeighborhood |
| 168 | (HodgeConjecture.DegreeTwo.SourceThomProjection.Constructions.normalPairSourceRetractionMap P Z.closed.isEmbedding) |
| 169 | (HodgeConjecture.DegreeTwo.NormalPairSourceRetraction.Constructions.normalPairSourceInclusion_retraction P Z.closed.isEmbedding) |
| 170 | (RetractionComparison.Constructions.sourceEquationOpen Z x P g) W (Support.cylinder_le Z x P W hW g hg) |
| 171 | (Support.sourceComplement Z x P W g hg) (Support.targetComplement Z x P W hW g hg) (2 * q) |
| 172 | unfold Retraction.Constructions.normalRetractionThomIso |
| 173 | rw [hr] |
| 174 | apply Iso.ext |
| 175 | simp only [localGysinIso, Iso.trans_hom, Iso.symm_hom, AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr, |
| 176 | eqToIso.hom, eqToIso.inv, Category.assoc, eqToHom_trans] |
| 177 | |
| 178 | end AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions |
| 179 | |
| 180 | end |
| 181 | |
| 182 | end OAI |