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.ArithmeticGeometry.Descent.CMVariety.ComposedSmoothCharts |
| 2 | |
| 3 | /-! # Smooth Relative Neighborhoods -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.SmoothRelativeNeighborhoods.Abelian.RelativeCharts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Construct standard-smooth relative neighborhoods from actual smoothness. |
| 11 | The relative coefficient ring need not be a field: the complex point |
| 12 | supplies a prime ideal where the smooth algebra admits a standard-smooth |
| 13 | principal neighborhood. |
| 14 | -/ |
| 15 | |
| 16 | open scoped Classical ContDiff |
| 17 | |
| 18 | variable {R A : Type} [CommRing R] [Algebra ℂ R] |
| 19 | [CommRing A] [Algebra ℂ A] [Algebra R A] [IsScalarTower ℂ R A] |
| 20 | |
| 21 | omit [Algebra ℂ R] [IsScalarTower ℂ R A] in |
| 22 | /-- Smoothness itself produces the relative finite polynomial chart near |
| 23 | each actual complex point; a relative presentation is not an extra input. -/ |
| 24 | theorem exists_relative_submersive_neighborhood [Algebra.Smooth R A] |
| 25 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 26 | ∃ (g : A) (_hg : x g ≠ 0) (n m : ℕ), |
| 27 | Nonempty (Algebra.SubmersivePresentation R (Localization.Away g) (Fin n) (Fin m)) := by |
| 28 | let : (RingHom.ker x).IsPrime := RingHom.ker_isPrime x |
| 29 | obtain ⟨g, hg, hstd⟩ := |
| 30 | Algebra.IsSmoothAt.exists_notMem_isStandardSmooth R (RingHom.ker x) |
| 31 | have hxg : x g ≠ 0 := by simpa only [RingHom.mem_ker] using hg |
| 32 | let : Algebra.IsStandardSmooth R (Localization.Away g) := hstd |
| 33 | obtain ⟨I, J, hJ, hI, ⟨P⟩⟩ := |
| 34 | Algebra.IsStandardSmooth.out (R := R) (S := Localization.Away g) |
| 35 | let : Finite I := hI |
| 36 | let : Finite J := hJ |
| 37 | let : Fintype I := Fintype.ofFinite I |
| 38 | let : Fintype J := Fintype.ofFinite J |
| 39 | exact ⟨g, hxg, Fintype.card I, Fintype.card J, |
| 40 | ⟨P.reindex (Fintype.equivFin I).symm (Fintype.equivFin J).symm⟩⟩ |
| 41 | |
| 42 | /-- An actual finite relative presentation on a principal neighborhood |
| 43 | of the specified point. Keeping its finite index types abstract avoids |
| 44 | expanding finite enumerations in analytic norm instances. -/ |
| 45 | structure RelativePresentationAt (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) where |
| 46 | element : A |
| 47 | nonzero : x element ≠ 0 |
| 48 | VariableIndex : Type |
| 49 | RelationIndex : Type |
| 50 | [variablesFintype : Fintype VariableIndex] |
| 51 | [relationsFintype : Fintype RelationIndex] |
| 52 | presentation : Algebra.SubmersivePresentation R (Localization.Away element) VariableIndex RelationIndex |
| 53 | |
| 54 | attribute [instance] RelativePresentationAt.variablesFintype RelativePresentationAt.relationsFintype |
| 55 | |
| 56 | omit [Algebra ℂ R] [IsScalarTower ℂ R A] in |
| 57 | theorem exists_relative_presentationAt [Algebra.Smooth R A] (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 58 | Nonempty (RelativePresentationAt (R := R) x) := by |
| 59 | obtain ⟨g, hg, n, m, ⟨Q⟩⟩ := exists_relative_submersive_neighborhood (R := R) x |
| 60 | exact ⟨{ |
| 61 | element := g |
| 62 | nonzero := hg |
| 63 | VariableIndex := Fin n |
| 64 | RelationIndex := Fin m |
| 65 | presentation := Q }⟩ |
| 66 | |
| 67 | omit [Algebra ℂ R] [Algebra R A] [IsScalarTower ℂ R A] in |
| 68 | theorem localization_chart_inverse_analytic |
| 69 | {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 70 | (g : A) (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g)) E) |
| 71 | (h : ∀ a : Localization.Away g, ContDiffOn ℂ ω (fun z => e.symm z a) e.target) : |
| 72 | ∀ a : A, ContDiffOn ℂ ω |
| 73 | (fun z => (e.lift_openEmbedding |
| 74 | (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction g)).symm z a) |
| 75 | (e.lift_openEmbedding |
| 76 | (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction g)).target := by |
| 77 | intro a |
| 78 | change ContDiffOn ℂ ω |
| 79 | (fun z => e.symm z (algebraMap A (Localization.Away g) a)) e.target |
| 80 | exact h (algebraMap A (Localization.Away g) a) |
| 81 | |
| 82 | theorem lift_relative_chart_with_eq |
| 83 | {E F : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 84 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 85 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (g : A) (hg : x g ≠ 0) |
| 86 | (eR : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints R) F) |
| 87 | (e₀ : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g)) E) |
| 88 | (p : E → F) |
| 89 | (hxR : (AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg).comp |
| 90 | (IsScalarTower.toAlgHom ℂ R (Localization.Away g)) ∈ eR.source) |
| 91 | (hx₀ : AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg ∈ e₀.source) |
| 92 | (hsource : ∀ z ∈ e₀.target, |
| 93 | (e₀.symm z).comp (IsScalarTower.toAlgHom ℂ R (Localization.Away g)) ∈ eR.source) |
| 94 | (hproj : ∀ z ∈ e₀.target, |
| 95 | eR ((e₀.symm z).comp (IsScalarTower.toAlgHom ℂ R (Localization.Away g))) = p z) |
| 96 | (hinv : ∀ a : Localization.Away g, ContDiffOn ℂ ω (fun z => e₀.symm z a) e₀.target) : |
| 97 | ∃ eA : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) E, |
| 98 | x.comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source ∧ x ∈ eA.source ∧ |
| 99 | (∀ z ∈ eA.target, |
| 100 | (eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source) ∧ |
| 101 | (∀ z ∈ eA.target, |
| 102 | eR ((eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A)) = p z) ∧ |
| 103 | (∀ a : A, ContDiffOn ℂ ω (fun z => eA.symm z a) eA.target) ∧ |
| 104 | eA = e₀.lift_openEmbedding |
| 105 | (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction g) := by |
| 106 | let xg := AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg |
| 107 | let inc := AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g |
| 108 | have hi : Topology.IsOpenEmbedding inc := |
| 109 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction g |
| 110 | have hbase (y : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g)) : |
| 111 | (inc y).comp (IsScalarTower.toAlgHom ℂ R A) = |
| 112 | y.comp (IsScalarTower.toAlgHom ℂ R (Localization.Away g)) := by |
| 113 | ext r |
| 114 | change y (algebraMap A (Localization.Away g) (algebraMap R A r)) = |
| 115 | y (algebraMap R (Localization.Away g) r) |
| 116 | rw [IsScalarTower.algebraMap_apply R A (Localization.Away g)] |
| 117 | let eA := e₀.lift_openEmbedding hi |
| 118 | have hinc : inc xg = x := AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_comp x g hg |
| 119 | refine ⟨eA, ?_, ⟨xg, hx₀, hinc⟩, ?_, ?_, ?_, rfl⟩ |
| 120 | · rw [← hinc, hbase] |
| 121 | exact hxR |
| 122 | · intro z hz |
| 123 | change (inc (e₀.symm z)).comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source |
| 124 | rw [hbase] |
| 125 | exact hsource z hz |
| 126 | · intro z hz |
| 127 | change eR ((inc (e₀.symm z)).comp (IsScalarTower.toAlgHom ℂ R A)) = _ |
| 128 | rw [hbase] |
| 129 | exact hproj z hz |
| 130 | · exact localization_chart_inverse_analytic g e₀ hinv |
| 131 | |
| 132 | theorem lift_relative_chart |
| 133 | {E F : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 134 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 135 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (g : A) (hg : x g ≠ 0) |
| 136 | (eR : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints R) F) |
| 137 | (e₀ : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g)) E) |
| 138 | (p : E → F) |
| 139 | (hxR : (AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg).comp |
| 140 | (IsScalarTower.toAlgHom ℂ R (Localization.Away g)) ∈ eR.source) |
| 141 | (hx₀ : AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg ∈ e₀.source) |
| 142 | (hsource : ∀ z ∈ e₀.target, |
| 143 | (e₀.symm z).comp (IsScalarTower.toAlgHom ℂ R (Localization.Away g)) ∈ eR.source) |
| 144 | (hproj : ∀ z ∈ e₀.target, |
| 145 | eR ((e₀.symm z).comp (IsScalarTower.toAlgHom ℂ R (Localization.Away g))) = p z) |
| 146 | (hinv : ∀ a : Localization.Away g, ContDiffOn ℂ ω (fun z => e₀.symm z a) e₀.target) : |
| 147 | ∃ eA : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) E, |
| 148 | x.comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source ∧ x ∈ eA.source ∧ |
| 149 | (∀ z ∈ eA.target, |
| 150 | (eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source) ∧ |
| 151 | (∀ z ∈ eA.target, |
| 152 | eR ((eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A)) = p z) ∧ |
| 153 | ∀ a : A, ContDiffOn ℂ ω (fun z => eA.symm z a) eA.target := by |
| 154 | obtain ⟨eA, hb, hx, hs, hp, ha, _⟩ := |
| 155 | lift_relative_chart_with_eq x g hg eR e₀ p hxR hx₀ hsource hproj hinv |
| 156 | exact ⟨eA, hb, hx, hs, hp, ha⟩ |
| 157 | |
| 158 | /-- Concrete compatible local charts, including regular-function |
| 159 | analyticity of their inverse maps. This packages the constructed result. -/ |
| 160 | structure CompatibleRelativeCharts |
| 161 | {E F : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 162 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 163 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (p : E → F) where |
| 164 | base : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints R) F |
| 165 | total : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) E |
| 166 | basePoint : x.comp (IsScalarTower.toAlgHom ℂ R A) ∈ base.source |
| 167 | point : x ∈ total.source |
| 168 | mapsTo : ∀ z ∈ total.target, |
| 169 | (total.symm z).comp (IsScalarTower.toAlgHom ℂ R A) ∈ base.source |
| 170 | projection : ∀ z ∈ total.target, |
| 171 | base ((total.symm z).comp (IsScalarTower.toAlgHom ℂ R A)) = p z |
| 172 | regularTotal : ∀ a : A, ContDiffOn ℂ ω (fun z => total.symm z a) total.target |
| 173 | regularBase : ∀ r : R, ContDiffOn ℂ ω (fun z => base.symm z r) base.target |
| 174 | |
| 175 | theorem nonempty_relativePointCharts |
| 176 | {I Sigma J Tau : Type} [Fintype I] [Fintype Sigma] [Fintype J] [Fintype Tau] |
| 177 | (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 178 | (g : A) |
| 179 | (Q : Algebra.SubmersivePresentation R (Localization.Away g) J Tau) |
| 180 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hg : x g ≠ 0) : |
| 181 | Nonempty (CompatibleRelativeCharts (R := R) x (ComposedSmoothCharts.Abelian.RelativeCharts.baseProjection P Q)) := by |
| 182 | obtain ⟨eR, e₀, hxR, hx₀, hsource, hproj, hinv, hRinv⟩ := |
| 183 | ComposedSmoothCharts.Abelian.RelativeCharts.exists_compatible_smooth_charts P Q (AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg) |
| 184 | obtain ⟨eA, hbase, hx, hs, hp, ha⟩ := |
| 185 | lift_relative_chart x g hg eR e₀ (ComposedSmoothCharts.Abelian.RelativeCharts.baseProjection P Q) hxR hx₀ hsource hproj hinv |
| 186 | exact ⟨⟨eR, eA, hbase, hx, hs, hp, ha, hRinv⟩⟩ |
| 187 | |
| 188 | /-- A smooth algebra over an explicitly standard-smooth complex base |
| 189 | has actual local charts in which its base map is a coordinate projection. |
| 190 | Both the relative polynomial presentation and the compatible charts are |
| 191 | constructed from smoothness and the point. -/ |
| 192 | theorem exists_smooth_relative_point_charts |
| 193 | {I Sigma : Type} [Fintype I] [Fintype Sigma] |
| 194 | (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 195 | [Algebra.Smooth R A] (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 196 | ∃ D : RelativePresentationAt (R := R) x, |
| 197 | Nonempty (CompatibleRelativeCharts (R := R) x (ComposedSmoothCharts.Abelian.RelativeCharts.baseProjection P D.presentation)) := by |
| 198 | obtain ⟨D⟩ := exists_relative_presentationAt (R := R) x |
| 199 | exact ⟨D, nonempty_relativePointCharts P D.element D.presentation x D.nonzero⟩ |
| 200 | |
| 201 | end |
| 202 | |
| 203 | end OAI.ArithmeticGeometry.Descent.CMVariety.SmoothRelativeNeighborhoods.Abelian.RelativeCharts |