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.ComplexPoints.Analytic.SmoothSchemeManifold |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineOpenTransitions |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeAffineCover |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.StandardSmoothDimension |
| 5 | import OAI.AlgebraicGeometry.Betti.SmoothDimension |
| 6 | |
| 7 | /-! # Intrinsic Smooth Scheme Manifold -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Manifolds on the native complex points of smooth integral schemes |
| 15 | |
| 16 | The atlas consists of genuine regular-coordinate charts on affine opens, |
| 17 | lifted through their actual open immersions. Its dimension is computed from |
| 18 | the scheme's function field. Coverage and compatibility are consequences of |
| 19 | algebraic smoothness, localization, and the proved analytic implicit-function |
| 20 | charts, rather than additional geometric assumptions. |
| 21 | -/ |
| 22 | |
| 23 | open scoped ContDiff _root_.Manifold |
| 24 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 25 | |
| 26 | section StandardSmooth |
| 27 | |
| 28 | variable {A : Type*} [CommRing A] [Algebra ℂ A] |
| 29 | |
| 30 | /-- A standard smooth algebra of relative dimension `n` has genuine regular |
| 31 | charts with exactly `n` complex coordinates at each of its complex points. -/ |
| 32 | theorem exists_standardSmooth_affineRegularChart (n : ℕ) |
| 33 | [Algebra.IsStandardSmoothOfRelativeDimension n ℂ A] (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 34 | ∃ e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ), |
| 35 | e ∈ SmoothSchemeManifold.affineRegularAtlas A n ∧ x ∈ e.source := by |
| 36 | classical |
| 37 | let : Algebra.IsStandardSmooth ℂ A := |
| 38 | Algebra.IsStandardSmoothOfRelativeDimension.isStandardSmooth (n := n) |
| 39 | obtain ⟨g, hg, r, s, P, e, hx, hsource, hcoords, hinverse⟩ := |
| 40 | SmoothAffineCharts.exists_smoothAffinePoint_localChart x |
| 41 | let : Nontrivial (Localization.Away g) := |
| 42 | (Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg).toRingHom.domain_nontrivial |
| 43 | let : Algebra.IsStandardSmoothOfRelativeDimension n ℂ (Localization.Away g) := |
| 44 | Foundations.Scheme.StandardSmoothDimension.Algebraic.standardSmoothDimension_localizationAway n g |
| 45 | have hdim : Nat.card (JacobianRegularity.FreeCoordinates P.map) = n := by |
| 46 | simpa only [Fintype.card_eq_nat_card] using |
| 47 | (Foundations.Scheme.PresentationDimension.Algebraic.card_free_variables_eq_dimension P.toPreSubmersivePresentation).trans |
| 48 | (Foundations.Scheme.StandardSmoothDimension.Algebraic.standardSmooth_dimension_eq_presentation n P).symm |
| 49 | have hex : ∃ e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) |
| 50 | (Fin (Fintype.card (JacobianRegularity.FreeCoordinates P.map)) → ℂ), |
| 51 | e ∈ SmoothSchemeManifold.affineRegularAtlas A (Fintype.card (JacobianRegularity.FreeCoordinates P.map)) ∧ x ∈ e.source := by |
| 52 | exact ⟨e, ⟨hinverse, ⟨g, fun _ hy => hsource hy, hcoords⟩⟩, hx⟩ |
| 53 | have hdim' : Fintype.card (JacobianRegularity.FreeCoordinates P.map) = n := |
| 54 | Fintype.card_eq_nat_card.trans hdim |
| 55 | exact (congrArg (fun d => ∃ e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) |
| 56 | (Fin d → ℂ), e ∈ SmoothSchemeManifold.affineRegularAtlas A d ∧ x ∈ e.source) hdim').mp hex |
| 57 | |
| 58 | end StandardSmooth |
| 59 | |
| 60 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 61 | |
| 62 | /-- The actual regular-coordinate atlas on native scheme points consists of |
| 63 | charts from affine open section algebras, lifted through their canonical maps. -/ |
| 64 | def schemeRegularAtlas (n : ℕ) : |
| 65 | Set (OpenPartialHomeomorph (SchemePointHomeomorphs.schemeComplexPoints X) (Fin n → ℂ)) := |
| 66 | {c | ∃ (U : X.left.Opens) (hU : IsAffineOpen U) |
| 67 | (e : OpenPartialHomeomorph |
| 68 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U)) (Fin n → ℂ)), |
| 69 | e ∈ SmoothSchemeManifold.affineRegularAtlas (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) n ∧ |
| 70 | c = SmoothSchemeManifold.affineChartOnScheme (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) |
| 71 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU) e} |
| 72 | |
| 73 | /-- All charts in the native regular atlas have analytic transitions, since |
| 74 | they come from actual affine open immersions and their localization maps. -/ |
| 75 | theorem schemeRegularAtlas_compatible {n : ℕ} |
| 76 | (c d : OpenPartialHomeomorph (SchemePointHomeomorphs.schemeComplexPoints X) (Fin n → ℂ)) |
| 77 | (hc : c ∈ schemeRegularAtlas X n) (hd : d ∈ schemeRegularAtlas X n) : |
| 78 | ContDiffOn ℂ ω (c.symm.trans d) (c.symm.trans d).source := by |
| 79 | obtain ⟨U, hU, e, he, rfl⟩ := hc |
| 80 | obtain ⟨V, hV, f, hf, rfl⟩ := hd |
| 81 | exact AffineOpenTransitions.contDiffOn_affineOpenChartTransition |
| 82 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) |
| 83 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V) |
| 84 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU) |
| 85 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X V hV) e f he hf |
| 86 | |
| 87 | variable [IsIntegral X.left] [Smooth X.hom] |
| 88 | |
| 89 | /-- Algebraic smoothness on an integral scheme supplies a regular chart at |
| 90 | every native complex point, of the proved common function-field dimension. -/ |
| 91 | theorem exists_schemeRegularChart (p : SchemePointHomeomorphs.schemeComplexPoints X) : |
| 92 | ∃ c : OpenPartialHomeomorph (SchemePointHomeomorphs.schemeComplexPoints X) |
| 93 | (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ), |
| 94 | c ∈ schemeRegularAtlas X (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) ∧ |
| 95 | p ∈ c.source := by |
| 96 | let n := Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom |
| 97 | let : SmoothOfRelativeDimension n X.hom := Betti.SmoothDimension.Realization.smoothOfFunctionFieldDimension X.hom |
| 98 | obtain ⟨U, hU, V, hV, hpV, eUV, hstd⟩ := |
| 99 | SmoothOfRelativeDimension.exists_isStandardSmoothOfRelativeDimension |
| 100 | (n := n) (f := X.hom) (SchemePointHomeomorphs.schemeComplexPoints.underlying p) |
| 101 | have hUtop : U = ⊤ := by |
| 102 | ext y |
| 103 | constructor |
| 104 | · intro _ |
| 105 | trivial |
| 106 | · intro _ |
| 107 | have hpU := eUV hpV |
| 108 | exact (Subsingleton.elim (X.hom (SchemePointHomeomorphs.schemeComplexPoints.underlying p)) y) ▸ hpU |
| 109 | subst U |
| 110 | let : Algebra.IsStandardSmoothOfRelativeDimension n ℂ |
| 111 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V) := |
| 112 | Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra_standardSmooth n X.hom V hstd |
| 113 | have hp : p ∈ Set.range (SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X V hV) := by |
| 114 | rw [SchemePointHomeomorphs.schemeComplexPoints.range_affineOpenPointMap] |
| 115 | exact hpV |
| 116 | obtain ⟨x, hx⟩ := hp |
| 117 | obtain ⟨e, he, hxe⟩ := exists_standardSmooth_affineRegularChart n x |
| 118 | refine ⟨SmoothSchemeManifold.affineChartOnScheme (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V) |
| 119 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X V hV) e, ?_, ?_⟩ |
| 120 | · exact ⟨V, hV, e, he, rfl⟩ |
| 121 | · exact ⟨x, hxe, hx⟩ |
| 122 | |
| 123 | /-- The manifold charts on genuine scheme-valued complex points. Their |
| 124 | common dimension and their coverage are both theorems of algebraic smoothness. -/ |
| 125 | instance nativeSmoothSchemeChartedSpace : |
| 126 | ChartedSpace (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) |
| 127 | (SchemePointHomeomorphs.schemeComplexPoints X) where |
| 128 | atlas := schemeRegularAtlas X (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 129 | chartAt p := Classical.choose (exists_schemeRegularChart X p) |
| 130 | mem_chart_source p := (Classical.choose_spec (exists_schemeRegularChart X p)).2 |
| 131 | chart_mem_atlas p := (Classical.choose_spec (exists_schemeRegularChart X p)).1 |
| 132 | |
| 133 | /-- The native complex points of every smooth integral complex scheme form a |
| 134 | complex analytic manifold for their proved ordinary analytic topology. -/ |
| 135 | instance nativeSmoothSchemeComplexIsManifold (r : ℕ∞ω) : |
| 136 | IsManifold (𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ)) r |
| 137 | (SchemePointHomeomorphs.schemeComplexPoints X) := by |
| 138 | apply isManifold_of_contDiffOn |
| 139 | (𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ)) r _ |
| 140 | intro c d hc hd |
| 141 | have h := (schemeRegularAtlas_compatible X c d hc hd).of_le (show r ≤ ω from le_top) |
| 142 | simpa only [modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 143 | Function.comp_id, Function.id_comp, Set.preimage_id, Set.range_id, Set.inter_univ] using h |
| 144 | |
| 145 | /-- Restricting scalars provides the actual underlying real smooth manifold |
| 146 | on which complex-valued differential forms are defined. -/ |
| 147 | instance nativeSmoothSchemeRealIsManifold (r : ℕ∞ω) : |
| 148 | IsManifold (𝓘(ℝ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ)) r |
| 149 | (SchemePointHomeomorphs.schemeComplexPoints X) := by |
| 150 | apply isManifold_of_contDiffOn |
| 151 | (𝓘(ℝ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ)) r _ |
| 152 | intro c d hc hd |
| 153 | have h := ((schemeRegularAtlas_compatible X c d hc hd).of_le |
| 154 | (show r ≤ ω from le_top)).restrict_scalars ℝ |
| 155 | simpa only [modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 156 | Function.comp_id, Function.id_comp, Set.preimage_id, Set.range_id, Set.inter_univ] using h |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold |