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.Degree |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.NormalCoordinatesDifferentiable |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.NormalSupportGerm |
| 4 | |
| 5 | /-! # Complex Immersion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Geometric data for compact-support Thom integration. The data consist |
| 12 | only of actual manifolds and an actual closed holomorphic immersion; all |
| 13 | normal coordinates and cohomology classes are constructed from them. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.NormalCoordinatesDifferentiable |
| 17 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 18 | |
| 19 | structure ComplexManifold where |
| 20 | complexDimension : ℕ |
| 21 | analyticSpace : TopCat.{0} |
| 22 | [chartedSpace : ChartedSpace (Fin complexDimension → ℂ) analyticSpace] |
| 23 | [manifold : IsManifold 𝓘(ℂ, Fin complexDimension → ℂ) ω analyticSpace] |
| 24 | [metrizable : MetrizableSpace analyticSpace] |
| 25 | |
| 26 | attribute [instance] ComplexManifold.chartedSpace ComplexManifold.manifold ComplexManifold.metrizable |
| 27 | |
| 28 | namespace ComplexManifold |
| 29 | abbrev analyticModel (V : ComplexManifold) := Fin V.complexDimension → ℂ |
| 30 | end ComplexManifold |
| 31 | |
| 32 | structure ClosedComplexImmersion (V : ComplexManifold) (p : ℕ) where |
| 33 | regularComplexDimension : ℕ |
| 34 | regularAnalyticSpace : TopCat.{0} |
| 35 | [chartedSpace : ChartedSpace (Fin regularComplexDimension → ℂ) regularAnalyticSpace] |
| 36 | [manifold : IsManifold 𝓘(ℂ, Fin regularComplexDimension → ℂ) ω regularAnalyticSpace] |
| 37 | regularComplementTopCatMap : regularAnalyticSpace ⟶ V.analyticSpace |
| 38 | holomorphic : ContMDiff 𝓘(ℂ, Fin regularComplexDimension → ℂ) 𝓘(ℂ, V.analyticModel) |
| 39 | ω regularComplementTopCatMap |
| 40 | differential_injective : ∀ x, Function.Injective |
| 41 | (mfderiv 𝓘(ℂ, Fin regularComplexDimension → ℂ) 𝓘(ℂ, V.analyticModel) regularComplementTopCatMap x) |
| 42 | closed : Topology.IsClosedEmbedding regularComplementTopCatMap |
| 43 | regularComplexDimension_add_codimension : regularComplexDimension + p = V.complexDimension |
| 44 | |
| 45 | attribute [instance] ClosedComplexImmersion.chartedSpace ClosedComplexImmersion.manifold |
| 46 | |
| 47 | namespace ClosedComplexImmersion |
| 48 | |
| 49 | variable {V : ComplexManifold} {p : ℕ} (Z : ClosedComplexImmersion V p) |
| 50 | |
| 51 | abbrev regularAmbientSpace (_Z : ClosedComplexImmersion V p) := V.analyticSpace |
| 52 | abbrev regularAnalyticModel := Fin Z.regularComplexDimension → ℂ |
| 53 | abbrev regularComplementInclusion : Z.regularAnalyticSpace → Z.regularAmbientSpace := Z.regularComplementTopCatMap |
| 54 | |
| 55 | theorem continuous_regularComplementInclusion : Continuous Z.regularComplementInclusion := |
| 56 | Z.regularComplementTopCatMap.hom.continuous |
| 57 | |
| 58 | theorem isClosedEmbedding_regularComplementInclusion : Topology.IsClosedEmbedding Z.regularComplementInclusion := |
| 59 | Z.closed |
| 60 | |
| 61 | theorem isProperMap_regularComplementTopCatMap : IsProperMap Z.regularComplementTopCatMap := Z.closed.isProperMap |
| 62 | |
| 63 | instance source_metrizable : MetrizableSpace Z.regularAnalyticSpace := |
| 64 | Z.closed.isEmbedding.metrizableSpace |
| 65 | |
| 66 | theorem contMDiff_regularComplementInclusion (r : ℕ∞ω) : |
| 67 | ContMDiff 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, V.analyticModel) r Z.regularComplementInclusion := |
| 68 | Z.holomorphic.of_le le_top |
| 69 | |
| 70 | theorem regularComplement_isImmersionAt (x : Z.regularAnalyticSpace) : |
| 71 | Manifold.IsImmersionAt 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, V.analyticModel) |
| 72 | ω Z.regularComplementInclusion x := |
| 73 | ComplexPoints.Analytic.ImmersionNormalForm.isImmersionAt_of_injective_mfderiv Z.regularComplementInclusion x |
| 74 | (Z.holomorphic x) (Z.differential_injective x) |
| 75 | |
| 76 | theorem regularComplement_complexImmersionCodimension : |
| 77 | Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension Z.regularAnalyticModel V.analyticModel = p := by |
| 78 | change Module.finrank ℂ V.analyticModel - Module.finrank ℂ Z.regularAnalyticModel = p |
| 79 | rw [Module.finrank_fin_fun, Module.finrank_fin_fun] |
| 80 | have h := Z.regularComplexDimension_add_codimension |
| 81 | omega |
| 82 | |
| 83 | theorem regularFixedComplementImmersion : Manifold.IsImmersionOfComplement (Fin p → ℂ) |
| 84 | 𝓘(ℂ, Z.regularAnalyticModel) 𝓘(ℂ, V.analyticModel) ω Z.regularComplementInclusion := by |
| 85 | have h := Geometric.ComplexNormalAtlas.Cycles.complexImmersion_standardComplement Z.regularComplementInclusion Z.holomorphic Z.differential_injective |
| 86 | rw [Z.regularComplement_complexImmersionCodimension] at h |
| 87 | exact h |
| 88 | |
| 89 | def regularFixedNormalPair (x : Z.regularAnalyticSpace) : |
| 90 | ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair Z.regularAnalyticModel (Fin p → ℂ) Z.regularComplementInclusion x := |
| 91 | ComplexPoints.Analytic.NormalPairRecenter.normalPairOfImmersion (Z.regularFixedComplementImmersion x) Z.closed.isEmbedding |
| 92 | |
| 93 | theorem regularFixedNormalPair_ambientChart (x : Z.regularAnalyticSpace) : |
| 94 | (Z.regularFixedNormalPair x).ambientChart = ComplexPoints.Analytic.NormalPairRecenter.immersionNormalCoordinates (Z.regularFixedComplementImmersion x) := rfl |
| 95 | |
| 96 | theorem regularFixedNormalPair_ambientChart_mdifferentiable (x : Z.regularAnalyticSpace) : |
| 97 | (Z.regularFixedNormalPair x).ambientChart.MDifferentiable |
| 98 | 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, Z.regularAnalyticModel × (Fin p → ℂ)) := |
| 99 | ComplexPoints.Analytic.NormalCoordinatesDifferentiable.normalPairOfImmersion_ambientChart_mdifferentiable (Z.regularFixedComplementImmersion x) |
| 100 | Z.closed.isEmbedding (by simp) |
| 101 | |
| 102 | def regularThomComplementOpen : Opens Z.regularAmbientSpace := |
| 103 | Geometric.EmbeddedSupportComplement.Cycles.embeddedSupportComplement Z.regularComplementInclusion Z.closed |
| 104 | |
| 105 | abbrev regularThomSheafComplex := |
| 106 | Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) Z.regularThomComplementOpen |
| 107 | |
| 108 | def regularThomClass : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 109 | (Set.range Z.regularComplementInclusion)ᶜ (2 * p) := |
| 110 | Degree.Constructions.ThomClass.complexThomClassInDegree Z.regularComplementInclusion Z.holomorphic |
| 111 | Z.differential_injective Z.closed p Z.regularComplement_complexImmersionCodimension |
| 112 | |
| 113 | theorem regularThomClass_restrict_normalPair (x : Z.regularAnalyticSpace) |
| 114 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair Z.regularAnalyticModel (Fin p → ℂ) Z.regularComplementInclusion x) |
| 115 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, Z.regularAnalyticModel × (Fin p → ℂ))) : |
| 116 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 117 | (Set.range Z.regularComplementInclusion)ᶜ P.openNeighborhood (2 * p) Z.regularThomClass = |
| 118 | P.normalCohomologyMap (ModuleCat.of ℚ ℚ) (2 * p) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass p) := |
| 119 | (Degree.Constructions.ThomClass.complexThomClassInDegree_restrict Z.regularComplementInclusion Z.holomorphic |
| 120 | Z.differential_injective Z.closed p Z.regularComplement_complexImmersionCodimension x P hP).trans |
| 121 | P.rationalClassFin_eq_normalPullback |
| 122 | |
| 123 | end ClosedComplexImmersion |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions |