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.SmoothRelativeNeighborhoods |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold |
| 3 | |
| 4 | /-! # Regular Relative Charts -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.RegularRelativeCharts.Abelian.RelativeCharts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The smooth relative charts are actual regular-coordinate charts. Their |
| 12 | forward coordinates are fractions of regular functions, with a common |
| 13 | denominator nonzero throughout the chart source. This proves analytic |
| 14 | compatibility with the native regular atlas and analyticity of actual |
| 15 | algebra maps in these coordinates. |
| 16 | -/ |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold |
| 19 | open scoped Classical ContDiff |
| 20 | |
| 21 | section AnalyticCoordinates |
| 22 | |
| 23 | variable {A E F : Type} [CommRing A] [Algebra ℂ A] |
| 24 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 25 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 26 | |
| 27 | omit [NormedSpace ℂ E] in |
| 28 | theorem continuousOn_affinePoints_of_evaluations |
| 29 | (f : E → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (U : Set E) |
| 30 | (hf : ∀ a : A, ContinuousOn (fun z => f z a) U) : ContinuousOn f U := by |
| 31 | rw [continuousOn_iff_continuous_domRestrict] |
| 32 | apply (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff _).mpr |
| 33 | intro a |
| 34 | exact (hf a).domRestrict |
| 35 | |
| 36 | /-- Forward-chart analyticity tested on actual characters by evaluation |
| 37 | of regular functions. This property is proved for the constructed charts |
| 38 | and remains valid after analytic changes of coordinates. -/ |
| 39 | def HasAnalyticCoordinates (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) E) : Prop := |
| 40 | ∀ (V : Type) [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 41 | (f : V → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (U : Set V), |
| 42 | (∀ a : A, ContDiffOn ℂ ω (fun z => f z a) U) → |
| 43 | ContDiffOn ℂ ω (fun z => e (f z)) (U ∩ f ⁻¹' e.source) |
| 44 | |
| 45 | theorem HasAnalyticCoordinates.trans |
| 46 | {e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) E} |
| 47 | (he : HasAnalyticCoordinates e) (t : OpenPartialHomeomorph E F) |
| 48 | (ht : ContDiffOn ℂ ω t t.source) : HasAnalyticCoordinates (e.trans t) := by |
| 49 | intro V _ _ f U hf |
| 50 | exact ht.comp ((he V f U hf).mono (fun _ hz => ⟨hz.1, hz.2.1⟩)) |
| 51 | (fun _ hz => hz.2.2) |
| 52 | |
| 53 | theorem HasAnalyticCoordinates.transHomeomorph |
| 54 | {e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) E} |
| 55 | (he : HasAnalyticCoordinates e) (t : E ≃L[ℂ] F) : |
| 56 | HasAnalyticCoordinates (e.transHomeomorph t.toHomeomorph) := by |
| 57 | intro V _ _ f U hf |
| 58 | exact t.contDiff.comp_contDiffOn (he V f U hf) |
| 59 | |
| 60 | end AnalyticCoordinates |
| 61 | |
| 62 | variable {A : Type} [CommRing A] [Algebra ℂ A] |
| 63 | {Index : Type} [Fintype Index] |
| 64 | |
| 65 | /-- Forward coordinates are actual regular fractions on the chart source. -/ |
| 66 | def HasRegularCoordinates |
| 67 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Index → ℂ)) : Prop := |
| 68 | ∃ g : A, (∀ x ∈ e.source, x g ≠ 0) ∧ |
| 69 | ∀ i : Index, ∃ (a : A) (k : ℕ), |
| 70 | ∀ x ∈ e.source, e x i = x a / (x g) ^ k |
| 71 | |
| 72 | omit [Fintype Index] in |
| 73 | theorem hasRegularCoordinates_of_evaluation |
| 74 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Index → ℂ)) |
| 75 | (v : Index → A) (hv : ∀ x i, e x i = x (v i)) : |
| 76 | HasRegularCoordinates e := by |
| 77 | refine ⟨1, ?_, ?_⟩ |
| 78 | · intro x _ |
| 79 | simp only [map_one, ne_eq, one_ne_zero, not_false_eq_true] |
| 80 | · intro i |
| 81 | refine ⟨v i, 0, ?_⟩ |
| 82 | intro x _ |
| 83 | simpa only [pow_zero, div_one] using hv x i |
| 84 | |
| 85 | omit [Fintype Index] in |
| 86 | /-- Lifting a polynomial-coordinate chart through the actual localization |
| 87 | open immersion yields the required regular fractions on the original algebra. -/ |
| 88 | theorem localization_chart_hasRegularCoordinates |
| 89 | (g : A) |
| 90 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g)) (Index → ℂ)) |
| 91 | (v : Index → Localization.Away g) (hv : ∀ x i, e x i = x (v i)) : |
| 92 | HasRegularCoordinates (e.lift_openEmbedding |
| 93 | (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction g)) := by |
| 94 | let inc := AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g |
| 95 | have hi : Topology.IsOpenEmbedding inc := |
| 96 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction g |
| 97 | refine ⟨g, ?_, ?_⟩ |
| 98 | · rintro x ⟨y, _, rfl⟩ |
| 99 | exact (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph g y).property |
| 100 | · intro i |
| 101 | refine ⟨(IsLocalization.Away.sec g (v i)).1, |
| 102 | (IsLocalization.Away.sec g (v i)).2, ?_⟩ |
| 103 | rintro x ⟨y, _, rfl⟩ |
| 104 | change (e.lift_openEmbedding hi) (inc y) i = _ |
| 105 | rw [OpenPartialHomeomorph.lift_openEmbedding_apply, hv] |
| 106 | exact AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts.localizedPoint_eval_eq_div g y (v i) |
| 107 | |
| 108 | /-- Every regular-coordinate chart evaluates analytically on any family |
| 109 | of algebra characters whose regular-function evaluations are analytic. |
| 110 | The source model can itself be a product of base and fiber coordinates. -/ |
| 111 | theorem HasRegularCoordinates.contDiffOn |
| 112 | {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 113 | {e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Index → ℂ)} |
| 114 | (he : HasRegularCoordinates e) (f : E → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (U : Set E) |
| 115 | (hf : ∀ a : A, ContDiffOn ℂ ω (fun z => f z a) U) : |
| 116 | ContDiffOn ℂ ω (fun z => e (f z)) (U ∩ f ⁻¹' e.source) := by |
| 117 | obtain ⟨g, hg, hcoords⟩ := he |
| 118 | apply contDiffOn_pi.mpr |
| 119 | intro i |
| 120 | obtain ⟨a, k, hcoord⟩ := hcoords i |
| 121 | have heval (b : A) : ContDiffOn ℂ ω (fun z => f z b) (U ∩ f ⁻¹' e.source) := |
| 122 | (hf b).mono Set.inter_subset_left |
| 123 | apply ((heval a).div ((heval g).pow k) (fun z hz => |
| 124 | pow_ne_zero k (hg (f z) hz.2))).congr |
| 125 | intro z hz |
| 126 | exact hcoord (f z) hz.2 |
| 127 | |
| 128 | theorem HasRegularCoordinates.comap_contDiffOn |
| 129 | {B E : Type} [CommRing B] [Algebra ℂ B] |
| 130 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 131 | {e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Index → ℂ)} |
| 132 | (he : HasRegularCoordinates e) (h : A →ₐ[ℂ] B) |
| 133 | (f : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) E) |
| 134 | (hf : ∀ b : B, ContDiffOn ℂ ω (fun z => f.symm z b) f.target) : |
| 135 | ContDiffOn ℂ ω (fun z => e ((f.symm z).comp h)) |
| 136 | (f.target ∩ {z | (f.symm z).comp h ∈ e.source}) := |
| 137 | he.contDiffOn (fun z => (f.symm z).comp h) f.target (fun a => hf (h a)) |
| 138 | |
| 139 | theorem HasRegularCoordinates.hasAnalyticCoordinates |
| 140 | {e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Index → ℂ)} |
| 141 | (he : HasRegularCoordinates e) : HasAnalyticCoordinates e := by |
| 142 | intro V _ _ f U hf |
| 143 | exact he.contDiffOn f U hf |
| 144 | |
| 145 | /-- The constructed relative charts retain the explicit regular-coordinate |
| 146 | formulas on both the total space and the base. -/ |
| 147 | theorem exists_relative_regular_charts |
| 148 | {R I Sigma J Tau : Type} [CommRing R] [Algebra ℂ R] |
| 149 | [Algebra R A] [IsScalarTower ℂ R A] |
| 150 | [Fintype I] [Fintype Sigma] [Fintype J] [Fintype Tau] |
| 151 | (P : Algebra.SubmersivePresentation ℂ R I Sigma) (g : A) |
| 152 | (Q : Algebra.SubmersivePresentation R (Localization.Away g) J Tau) |
| 153 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hg : x g ≠ 0) : |
| 154 | ∃ C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (ComposedSmoothCharts.Abelian.RelativeCharts.baseProjection P Q), |
| 155 | HasRegularCoordinates C.base ∧ HasRegularCoordinates C.total := by |
| 156 | obtain ⟨eR, e₀, hxR, hx₀, hs, hp, hiA, hiR, hR, hA⟩ := |
| 157 | ComposedSmoothCharts.Abelian.RelativeCharts.exists_compatible_smooth_charts_with_coordinates P Q (AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg) |
| 158 | obtain ⟨eA, hb, hx, hsA, hpA, hi, heq⟩ := |
| 159 | SmoothRelativeNeighborhoods.Abelian.RelativeCharts.lift_relative_chart_with_eq x g hg eR e₀ (ComposedSmoothCharts.Abelian.RelativeCharts.baseProjection P Q) hxR hx₀ hs hp hiA |
| 160 | refine ⟨⟨eR, eA, hb, hx, hsA, hpA, hi, hiR⟩, ?_, ?_⟩ |
| 161 | · exact hasRegularCoordinates_of_evaluation eR (fun i => P.val i.val) hR |
| 162 | · change HasRegularCoordinates eA |
| 163 | rw [heq] |
| 164 | exact localization_chart_hasRegularCoordinates g e₀ |
| 165 | (fun i => (Q.comp P).val i.val) hA |
| 166 | |
| 167 | /-- Smoothness alone supplies the relative presentation and compatible |
| 168 | regular charts. No analytic compatibility hypothesis is needed. -/ |
| 169 | theorem exists_smooth_relative_regular_charts |
| 170 | {R I Sigma : Type} [CommRing R] [Algebra ℂ R] |
| 171 | [Algebra R A] [IsScalarTower ℂ R A] [Fintype I] [Fintype Sigma] |
| 172 | (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 173 | [Algebra.Smooth R A] (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 174 | ∃ (D : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.RelativePresentationAt (R := R) x) |
| 175 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (ComposedSmoothCharts.Abelian.RelativeCharts.baseProjection P D.presentation)), |
| 176 | HasRegularCoordinates C.base ∧ HasRegularCoordinates C.total := by |
| 177 | obtain ⟨D⟩ := SmoothRelativeNeighborhoods.Abelian.RelativeCharts.exists_relative_presentationAt (R := R) x |
| 178 | obtain ⟨C, hb, ht⟩ := exists_relative_regular_charts P D.element D.presentation x D.nonzero |
| 179 | exact ⟨D, C, hb, ht⟩ |
| 180 | |
| 181 | end |
| 182 | |
| 183 | end OAI.ArithmeticGeometry.Descent.CMVariety.RegularRelativeCharts.Abelian.RelativeCharts |