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 Mathlib.Analysis.Analytic.Constructions |
| 2 | import Mathlib.Analysis.Analytic.Uniqueness |
| 3 | import Mathlib.Analysis.Analytic.Linear |
| 4 | import Mathlib.Analysis.Complex.Basic |
| 5 | import Mathlib.LinearAlgebra.Multilinear.Basis |
| 6 | import Mathlib.LinearAlgebra.Pi |
| 7 | import Mathlib.RingTheory.MvPolynomial.Homogeneous |
| 8 | import Mathlib.RingTheory.Polynomial.Basic |
| 9 | import Mathlib.RingTheory.PrincipalIdealDomain |
| 10 | |
| 11 | /-! # Cone Eq -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeEq.Constructions.Cone |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | /-! |
| 18 | # Homogeneous equations for analytic cones, for HolomorphicAlgebraicity |
| 19 | |
| 20 | This file develops the coefficient step of the cone proof of Chow's theorem. |
| 21 | Its hypotheses concern a cone and analytic equations near its vertex; they |
| 22 | are intermediate geometric hypotheses, not assumptions of HolomorphicAlgebraicity's conclusion. |
| 23 | -/ |
| 24 | |
| 25 | open Filter Set |
| 26 | open scoped _root_.Topology BigOperators |
| 27 | |
| 28 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 29 | |
| 30 | /-- Every homogeneous Taylor term of an analytic equation vanishing on a |
| 31 | complex cone also vanishes on the whole cone. -/ |
| 32 | theorem coefficient_vanishes |
| 33 | {S : Set E} (hcone : ∀ (c : ℂ) ⦃x : E⦄, x ∈ S → c • x ∈ S) |
| 34 | {f : E → ℂ} {p : FormalMultilinearSeries ℂ E ℂ} |
| 35 | (hp : HasFPowerSeriesAt f p 0) |
| 36 | (hzero : ∀ᶠ x in 𝓝 (0 : E), x ∈ S → f x = 0) |
| 37 | {z : E} (hz : z ∈ S) (n : ℕ) : p n (fun _ => z) = 0 := by |
| 38 | let L : ℂ →L[ℂ] E := (ContinuousLinearMap.id ℂ ℂ).smulRight z |
| 39 | have hL : Tendsto L (𝓝 0) (𝓝 (0 : E)) := by |
| 40 | simpa using L.continuous.continuousAt.tendsto (x := 0) |
| 41 | have heq : (f ∘ L) =ᶠ[𝓝 0] 0 := by |
| 42 | filter_upwards [hL.eventually hzero] with c hc |
| 43 | exact hc (hcone c hz) |
| 44 | have hpL : HasFPowerSeriesAt (f ∘ L) (p.compContinuousLinearMap L) 0 := by |
| 45 | apply HasFPowerSeriesAt.compContinuousLinearMap |
| 46 | simpa using hp |
| 47 | have hcoeff := (hpL.congr heq).apply_eq_zero n 1 |
| 48 | change p n (fun _ => (1 : ℂ) • z) = 0 at hcoeff |
| 49 | simpa only [one_smul] using hcoeff |
| 50 | |
| 51 | /-- If all homogeneous coefficients vanish in a direction, the analytic |
| 52 | equation vanishes on a neighborhood of the vertex in that complex line. -/ |
| 53 | theorem eventually_smul_eq_zero |
| 54 | {f : E → ℂ} {p : FormalMultilinearSeries ℂ E ℂ} |
| 55 | (hp : HasFPowerSeriesAt f p 0) {z : E} |
| 56 | (hz : ∀ n, p n (fun _ => z) = 0) : |
| 57 | ∀ᶠ c : ℂ in 𝓝 0, f (c • z) = 0 := by |
| 58 | let L : ℂ →L[ℂ] E := (ContinuousLinearMap.id ℂ ℂ).smulRight z |
| 59 | have hpL : HasFPowerSeriesAt (f ∘ L) (p.compContinuousLinearMap L) 0 := by |
| 60 | apply HasFPowerSeriesAt.compContinuousLinearMap |
| 61 | simpa using hp |
| 62 | filter_upwards [hpL.eventually_hasSum] with c hc |
| 63 | have hterm (n : ℕ) : (p.compContinuousLinearMap L) n (fun _ => c) = 0 := by |
| 64 | change (p n).toMultilinearMap (fun _ => c • z) = 0 |
| 65 | rw [(p n).toMultilinearMap.map_smul_univ (fun _ => c) (fun _ => z)] |
| 66 | simp [hz n] |
| 67 | simpa [hterm, L] using hc.unique (show HasSum |
| 68 | (fun n => (p.compContinuousLinearMap L) n (fun _ => c)) 0 by |
| 69 | simpa only [hterm] using (hasSum_zero (α := ℂ) (β := ℕ))) |
| 70 | |
| 71 | /-- A cone contains a point whenever it contains all sufficiently small |
| 72 | scalar multiples of that point. -/ |
| 73 | theorem mem_of_eventually_smul_mem |
| 74 | {S : Set E} (hcone : ∀ (c : ℂ) ⦃x : E⦄, x ∈ S → c • x ∈ S) |
| 75 | {z : E} (hz : ∀ᶠ c : ℂ in 𝓝 0, c • z ∈ S) : z ∈ S := by |
| 76 | have hz' : ∀ᶠ c : ℂ in 𝓝[≠] 0, c • z ∈ S := |
| 77 | hz.filter_mono nhdsWithin_le_nhds |
| 78 | have hne : ∀ᶠ c : ℂ in 𝓝[≠] 0, c ≠ 0 := self_mem_nhdsWithin |
| 79 | obtain ⟨c, hc, hcz⟩ := (hne.and hz').exists |
| 80 | have hc0 : c ≠ 0 := hc |
| 81 | simpa [smul_smul, hc0] using hcone c⁻¹ hcz |
| 82 | |
| 83 | /-- The polynomial obtained by restricting a multilinear form to its diagonal. -/ |
| 84 | def diagonalPolynomial {d k : ℕ} (T : (Fin d → ℂ) [×k]→L[ℂ] ℂ) : |
| 85 | MvPolynomial (Fin d) ℂ := |
| 86 | ∑ a : Fin k → Fin d, |
| 87 | MvPolynomial.C (T (fun i => Pi.single (a i) 1)) * |
| 88 | ∏ i : Fin k, MvPolynomial.X (a i) |
| 89 | |
| 90 | /-- Evaluation of the diagonal polynomial recovers the multilinear form. -/ |
| 91 | theorem eval_diagonalPolynomial {d k : ℕ} |
| 92 | (T : (Fin d → ℂ) [×k]→L[ℂ] ℂ) (z : Fin d → ℂ) : |
| 93 | MvPolynomial.eval z (diagonalPolynomial T) = T (fun _ => z) := by |
| 94 | have hsum : (∑ j : Fin d, z j • Pi.single j (1 : ℂ)) = z := by |
| 95 | ext i |
| 96 | simp [Pi.smul_apply, Pi.single_apply] |
| 97 | have h := T.toMultilinearMap.map_sum (fun (_ : Fin k) (j : Fin d) => |
| 98 | z j • Pi.single j (1 : ℂ)) |
| 99 | rw [hsum] at h |
| 100 | simpa [diagonalPolynomial, MultilinearMap.map_smul_univ, smul_eq_mul, |
| 101 | mul_comm] using h.symm |
| 102 | |
| 103 | /-- Its homogeneous degree is exactly the arity of the multilinear form. -/ |
| 104 | theorem diagonalPolynomial_isHomogeneous {d k : ℕ} |
| 105 | (T : (Fin d → ℂ) [×k]→L[ℂ] ℂ) : |
| 106 | (diagonalPolynomial T).IsHomogeneous k := by |
| 107 | apply MvPolynomial.IsHomogeneous.sum |
| 108 | intro a _ |
| 109 | apply MvPolynomial.IsHomogeneous.C_mul |
| 110 | simpa using MvPolynomial.IsHomogeneous.prod Finset.univ |
| 111 | (fun i : Fin k => MvPolynomial.X (R := ℂ) (a i)) (fun _ => 1) |
| 112 | (fun i _ => MvPolynomial.isHomogeneous_X ℂ (a i)) |
| 113 | |
| 114 | /-- A cone defined by finitely many analytic equations near its vertex is |
| 115 | globally the common zero locus of the homogeneous Taylor polynomials. -/ |
| 116 | theorem equations_from_analytic_vertex |
| 117 | {d m : ℕ} {S : Set (Fin d → ℂ)} |
| 118 | (hcone : ∀ (c : ℂ) ⦃x : Fin d → ℂ⦄, x ∈ S → c • x ∈ S) |
| 119 | (f : Fin m → (Fin d → ℂ) → ℂ) |
| 120 | (hf : ∀ i, AnalyticAt ℂ (f i) 0) |
| 121 | (hS : ∀ᶠ x in 𝓝 0, x ∈ S ↔ ∀ i, f i x = 0) : |
| 122 | ∃ P : Fin m × ℕ → MvPolynomial (Fin d) ℂ, |
| 123 | (∀ i, (P i).IsHomogeneous i.2) ∧ |
| 124 | S = {z | ∀ i, MvPolynomial.eval z (P i) = 0} := by |
| 125 | choose p hp using hf |
| 126 | refine ⟨fun i => diagonalPolynomial (p i.1 i.2), |
| 127 | fun i => diagonalPolynomial_isHomogeneous _, ?_⟩ |
| 128 | ext z |
| 129 | constructor |
| 130 | · intro hz i |
| 131 | rw [eval_diagonalPolynomial] |
| 132 | apply coefficient_vanishes hcone (hp i.1) _ hz |
| 133 | filter_upwards [hS] with x hx |
| 134 | exact fun h => (hx.mp h) i.1 |
| 135 | · intro hz |
| 136 | apply mem_of_eventually_smul_mem hcone |
| 137 | have heq : ∀ i, ∀ᶠ c : ℂ in 𝓝 0, f i (c • z) = 0 := by |
| 138 | intro i |
| 139 | apply eventually_smul_eq_zero (hp i) |
| 140 | intro n |
| 141 | simpa only [eval_diagonalPolynomial] using hz (i, n) |
| 142 | have hscale : Tendsto (fun c : ℂ => c • z) (𝓝 0) (𝓝 0) := by |
| 143 | have hcont : Continuous (fun c : ℂ => c • z) := continuous_id.smul continuous_const |
| 144 | simpa only [zero_smul] using hcont.continuousAt.tendsto (x := (0 : ℂ)) |
| 145 | filter_upwards [hscale.eventually hS, Filter.eventually_all.mpr heq] with c hc he |
| 146 | exact hc.mpr he |
| 147 | |
| 148 | /-- An arbitrary collection of homogeneous polynomial equations in finitely |
| 149 | many variables has the same zero locus as a finite subcollection. -/ |
| 150 | theorem finite_homogeneous_equations {d : ℕ} {ι : Type*} |
| 151 | (P : ι → MvPolynomial (Fin d) ℂ) |
| 152 | (hP : ∀ i, ∃ n, (P i).IsHomogeneous n) : |
| 153 | ∃ Q : Finset (MvPolynomial (Fin d) ℂ), |
| 154 | (∀ q ∈ Q, ∃ n, q.IsHomogeneous n) ∧ |
| 155 | ∀ z, (∀ q ∈ Q, MvPolynomial.eval z q = 0) ↔ |
| 156 | ∀ i, MvPolynomial.eval z (P i) = 0 := by |
| 157 | classical |
| 158 | obtain ⟨Q, hQ, hspan⟩ := |
| 159 | (Submodule.fg_span_iff_fg_span_finset_subset |
| 160 | (R := MvPolynomial (Fin d) ℂ) (Set.range P)).mp |
| 161 | (IsNoetherian.noetherian _) |
| 162 | change Ideal.span (Set.range P) = Ideal.span (Q : Set (MvPolynomial (Fin d) ℂ)) at hspan |
| 163 | refine ⟨Q, ?_, ?_⟩ |
| 164 | · intro q hq |
| 165 | obtain ⟨i, rfl⟩ := hQ hq |
| 166 | exact hP i |
| 167 | · intro z |
| 168 | constructor |
| 169 | · intro hz i |
| 170 | have hker : Ideal.span (Q : Set (MvPolynomial (Fin d) ℂ)) ≤ |
| 171 | RingHom.ker (MvPolynomial.eval z) := by |
| 172 | apply Ideal.span_le.mpr |
| 173 | intro q hq |
| 174 | exact hz q hq |
| 175 | apply hker |
| 176 | rw [← hspan] |
| 177 | exact Ideal.subset_span (Set.mem_range_self i) |
| 178 | · intro hz q hq |
| 179 | obtain ⟨i, rfl⟩ := hQ hq |
| 180 | exact hz i |
| 181 | |
| 182 | /-- Local analyticity at the vertex of a complex cone gives finitely many |
| 183 | global homogeneous polynomial equations defining the cone exactly. -/ |
| 184 | theorem finite_equations_from_analytic_vertex |
| 185 | {d m : ℕ} {S : Set (Fin d → ℂ)} |
| 186 | (hcone : ∀ (c : ℂ) ⦃x : Fin d → ℂ⦄, x ∈ S → c • x ∈ S) |
| 187 | (f : Fin m → (Fin d → ℂ) → ℂ) |
| 188 | (hf : ∀ i, AnalyticAt ℂ (f i) 0) |
| 189 | (hS : ∀ᶠ x in 𝓝 0, x ∈ S ↔ ∀ i, f i x = 0) : |
| 190 | ∃ Q : Finset (MvPolynomial (Fin d) ℂ), |
| 191 | (∀ q ∈ Q, ∃ n, q.IsHomogeneous n) ∧ |
| 192 | S = {z | ∀ q ∈ Q, MvPolynomial.eval z q = 0} := by |
| 193 | obtain ⟨P, hP, hPS⟩ := equations_from_analytic_vertex hcone f hf hS |
| 194 | obtain ⟨Q, hQ, hQP⟩ := finite_homogeneous_equations P (fun i => ⟨i.2, hP i⟩) |
| 195 | refine ⟨Q, hQ, ?_⟩ |
| 196 | rw [hPS] |
| 197 | ext z |
| 198 | exact (hQP z).symm |
| 199 | |
| 200 | end |
| 201 | |
| 202 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeEq.Constructions.Cone |