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.ComplexGroups.HolomorphicAlgebraicity.PuncturedFiberPolynomial |
| 2 | import Mathlib.RingTheory.Polynomial.ScaleRoots |
| 3 | |
| 4 | /-! # Cone Coefficient Scaling -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeCoefficientScaling.Constructions.Cone |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Scaling of the canonical cone-fiber polynomial |
| 12 | -/ |
| 13 | |
| 14 | open Set Filter _root_.Polynomial |
| 15 | open scoped _root_.Topology |
| 16 | |
| 17 | theorem separable_scaleRoots {P : ℂ[X]} (hP : P.Separable) {t : ℂ} (ht : t ≠ 0) : |
| 18 | (P.scaleRoots t).Separable := by |
| 19 | apply (nodup_roots_iff_of_splits (scaleRoots_ne_zero hP.ne_zero t) (IsAlgClosed.splits _)).mp |
| 20 | rw [roots_scaleRoots P (isUnit_iff_ne_zero.mpr ht)] |
| 21 | exact (nodup_roots hP).map (mul_right_injective₀ ht) |
| 22 | |
| 23 | theorem nonzero_germ_comp_smul {n : ℕ} {c : (Fin n → ℂ) → ℂ} {x : Fin n → ℂ} |
| 24 | {t : ℂ} (ht : t ≠ 0) (hn : ¬∀ᶠ y in 𝓝 (t • x), c y = 0) : |
| 25 | ¬∀ᶠ y in 𝓝 x, c (t • y) = 0 := by |
| 26 | intro hz |
| 27 | apply hn |
| 28 | have hinv : Tendsto (fun y : Fin n → ℂ => t⁻¹ • y) (𝓝 (t • x)) (𝓝 x) := by |
| 29 | simpa only [inv_smul_smul₀ ht] using |
| 30 | (continuous_const_smul t⁻¹).tendsto (t • x) |
| 31 | filter_upwards [hinv.eventually hz] with y hy |
| 32 | simpa only [smul_inv_smul₀ ht] using hy |
| 33 | |
| 34 | theorem fiber_polynomial_scaleRoots {n d : ℕ} |
| 35 | {S : Set ((Fin n → ℂ) × ℂ)} |
| 36 | (hcone : ∀ t : ℂ, ∀ p ∈ S, t • p ∈ S) |
| 37 | {P : (Fin n → ℂ) → ℂ[X]} |
| 38 | (hcoeff : ∀ j, DifferentiableOn ℂ (fun y => (P y).coeff j) {0}ᶜ) |
| 39 | (hP : ∀ y, y ≠ 0 → (P y).Monic ∧ (P y).natDegree = d) |
| 40 | (hnear : ∀ x, x ≠ 0 → ∃ (U : Set (Fin n → ℂ)) (c : (Fin n → ℂ) → ℂ), |
| 41 | IsOpen U ∧ x ∈ U ∧ U ⊆ {0}ᶜ ∧ DifferentiableOn ℂ c U ∧ |
| 42 | (¬∀ᶠ y in 𝓝 x, c y = 0) ∧ |
| 43 | ∀ y ∈ U, c y ≠ 0 → (P y).Separable ∧ |
| 44 | ∀ z : ℂ, (y, z) ∈ S ↔ (P y).eval z = 0) |
| 45 | {t : ℂ} (ht : t ≠ 0) {x : Fin n → ℂ} (hx : x ≠ 0) : |
| 46 | P (t • x) = (P x).scaleRoots t := by |
| 47 | have htx : t • x ≠ 0 := smul_ne_zero ht hx |
| 48 | obtain ⟨U₁, c₁, hU₁, hxU₁, hU₁0, hc₁, hc₁n, hroot₁⟩ := hnear x hx |
| 49 | obtain ⟨U₂, c₂, hU₂, hxU₂, hU₂0, hc₂, hc₂n, hroot₂⟩ := hnear (t • x) htx |
| 50 | have hscale : Differentiable ℂ (fun y : Fin n → ℂ => t • y) := differentiable_id.const_smul t |
| 51 | let W := U₁ ∩ (fun y : Fin n → ℂ => t • y) ⁻¹' U₂ |
| 52 | have hW : IsOpen W := hU₁.inter (hU₂.preimage hscale.continuous) |
| 53 | have hxW : x ∈ W := ⟨hxU₁, hxU₂⟩ |
| 54 | have hW0 : W ⊆ ({0}ᶜ : Set (Fin n → ℂ)) := fun y hy => hU₁0 hy.1 |
| 55 | let A : (Fin n → ℂ) → ℂ[X] := fun y => (P y).scaleRoots t |
| 56 | let B : (Fin n → ℂ) → ℂ[X] := fun y => P (t • y) |
| 57 | have hAcoeff (j : ℕ) : DifferentiableOn ℂ (fun y => (A y).coeff j) W := by |
| 58 | apply ((hcoeff j).mono hW0).mul_const (t ^ (d - j)) |>.congr |
| 59 | intro y hy |
| 60 | exact (coeff_scaleRoots (P y) t j).trans (by rw [(hP y (hW0 hy)).2]) |
| 61 | have hBcoeff (j : ℕ) : DifferentiableOn ℂ (fun y => (B y).coeff j) W := |
| 62 | (hcoeff j).comp hscale.differentiableOn (fun y hy => hU₂0 hy.2) |
| 63 | have hc₂W : DifferentiableOn ℂ (fun y => c₂ (t • y)) W := |
| 64 | hc₂.comp hscale.differentiableOn (fun _ hy => hy.2) |
| 65 | have heq : A =ᶠ[𝓝 x] B := by |
| 66 | apply CoefficientExtension.Constructions.GenericPolynomial.eventually_eq_of_generic_roots hW hxW |
| 67 | (hc₁.mono inter_subset_left) hc₂W hc₁n (nonzero_germ_comp_smul ht hc₂n) |
| 68 | (fun j => (hAcoeff j).continuousOn) (fun j => (hBcoeff j).continuousOn) |
| 69 | intro y hy hcy₁ hcy₂ |
| 70 | have hy0 : y ≠ 0 := hW0 hy |
| 71 | have hty0 : t • y ≠ 0 := hU₂0 hy.2 |
| 72 | obtain ⟨hsep₁, hroots₁⟩ := hroot₁ y hy.1 hcy₁ |
| 73 | obtain ⟨hsep₂, hroots₂⟩ := hroot₂ (t • y) hy.2 hcy₂ |
| 74 | refine ⟨(monic_scaleRoots_iff t).mpr (hP y hy0).1, (hP (t • y) hty0).1, |
| 75 | separable_scaleRoots hsep₁ ht, hsep₂, ?_⟩ |
| 76 | intro z |
| 77 | have hz : t * (t⁻¹ * z) = z := by rw [← mul_assoc, mul_inv_cancel₀ ht, one_mul] |
| 78 | change ((P y).scaleRoots t).eval z = 0 ↔ (P (t • y)).eval z = 0 |
| 79 | rw [← hz, scaleRoots_eval_mul, mul_eq_zero, or_iff_right (pow_ne_zero _ ht)] |
| 80 | rw [← hroots₁, ← hroots₂] |
| 81 | constructor |
| 82 | · intro hp |
| 83 | have h := hcone t (y, t⁻¹ * z) hp |
| 84 | exact h |
| 85 | · intro hp |
| 86 | have h := hcone t⁻¹ (t • y, t * (t⁻¹ * z)) hp |
| 87 | change (t⁻¹ • (t • y), t⁻¹ * (t * (t⁻¹ * z))) ∈ S at h |
| 88 | simpa only [inv_smul_smul₀ ht, inv_mul_cancel_left₀ ht] using h |
| 89 | exact heq.eq_of_nhds.symm |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeCoefficientScaling.Constructions.Cone |