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.WeierstrassPreparation |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus |
| 3 | import Mathlib.Analysis.Analytic.IsolatedZeros |
| 4 | |
| 5 | /-! # Local Preparation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.LocalPreparation.Constructions.Preparation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Polynomial preparation at a finite analytic fiber |
| 13 | |
| 14 | Finiteness of a fiber forces at least one local defining equation to be |
| 15 | nonzero as a one-variable analytic germ. Isolated zeros then provide the |
| 16 | zero-free boundary required by polynomial preparation. |
| 17 | -/ |
| 18 | |
| 19 | open Set Filter _root_.Metric _root_.Complex _root_.Polynomial |
| 20 | open scoped _root_.Topology |
| 21 | |
| 22 | theorem exists_nonzero_vertical_equation {n m : ℕ} |
| 23 | {S W : Set ((Fin n → ℂ) × ℂ)} (hW : IsOpen W) {x : Fin n → ℂ} {c : ℂ} |
| 24 | (hxc : (x, c) ∈ W) (f : Fin m → ((Fin n → ℂ) × ℂ) → ℂ) |
| 25 | (heq : ∀ p ∈ W, p ∈ S ↔ ∀ i, f i p = 0) |
| 26 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) : |
| 27 | ∃ i, ¬∀ᶠ z in 𝓝 c, f i (x, z) = 0 := by |
| 28 | classical |
| 29 | by_contra h |
| 30 | have hi : ∀ i, ∀ᶠ z in 𝓝 c, f i (x, z) = 0 := by simpa using h |
| 31 | have hdomain : ∀ᶠ z in 𝓝 c, (x, z) ∈ W := |
| 32 | (hW.preimage (continuous_const.prodMk continuous_id)).mem_nhds hxc |
| 33 | have hfiber : {z : ℂ | (x, z) ∈ S} ∈ 𝓝 c := by |
| 34 | filter_upwards [hdomain, eventually_all.mpr hi] with z hz hzi |
| 35 | exact (heq (x, z) hz).mpr hzi |
| 36 | exact (infinite_of_mem_nhds c hfiber) hfinite |
| 37 | |
| 38 | theorem exists_zero_free_circle {n : ℕ} {F : (Fin n → ℂ) × ℂ → ℂ} |
| 39 | {W : Set ((Fin n → ℂ) × ℂ)} (hW : IsOpen W) (hF : DifferentiableOn ℂ F W) |
| 40 | {x : Fin n → ℂ} {c : ℂ} (hxc : (x, c) ∈ W) |
| 41 | (hn : ¬∀ᶠ z in 𝓝 c, F (x, z) = 0) : |
| 42 | ∃ R : ℝ, 0 < R ∧ (∀ z ∈ closedBall c R, (x, z) ∈ W) ∧ |
| 43 | ∀ z ∈ sphere c R, F (x, z) ≠ 0 := by |
| 44 | have ha : AnalyticAt ℂ (fun z => F (x, z)) c := |
| 45 | RootFamiliesAt.Constructions.RootFamilies.analyticOnNhd_slice hW hF x (K := {c}) (by simpa using hxc) c (mem_singleton c) |
| 46 | have hp := eventually_nhdsWithin_iff.mp |
| 47 | (ha.eventually_eq_zero_or_eventually_ne_zero.resolve_left hn) |
| 48 | have hdomain : ∀ᶠ z in 𝓝 c, (x, z) ∈ W := |
| 49 | (hW.preimage (continuous_const.prodMk continuous_id)).mem_nhds hxc |
| 50 | obtain ⟨R, hR, hball⟩ := nhds_basis_closedBall.mem_iff.mp (hdomain.and hp) |
| 51 | refine ⟨R, hR, fun z hz => (hball hz).1, fun z hz => ?_⟩ |
| 52 | apply (hball (sphere_subset_closedBall hz)).2 |
| 53 | change z ≠ c |
| 54 | intro hzc |
| 55 | have hdist := mem_sphere.mp hz |
| 56 | rw [hzc, dist_self] at hdist |
| 57 | exact hR.ne' hdist.symm |
| 58 | |
| 59 | /-- A locally analytic set with a finite vertical fiber has, on a product |
| 60 | neighborhood, a monic polynomial constraint with holomorphic coefficients, |
| 61 | together with its original finite family of holomorphic equations. -/ |
| 62 | theorem polynomial_constraint_of_finite_fiber {n : ℕ} |
| 63 | {S : Set ((Fin n → ℂ) × ℂ)} {x : Fin n → ℂ} {c : ℂ} |
| 64 | (hlocal : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, c)) |
| 65 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) : |
| 66 | ∃ (R : ℝ) (d m : ℕ) (U : Set (Fin n → ℂ)) (W : Set ((Fin n → ℂ) × ℂ)) |
| 67 | (P : (Fin n → ℂ) → Polynomial ℂ) (f : Fin m → ((Fin n → ℂ) × ℂ) → ℂ), |
| 68 | 0 < R ∧ IsOpen U ∧ x ∈ U ∧ IsOpen W ∧ U ×ˢ closedBall c R ⊆ W ∧ |
| 69 | (∀ k : ℕ, DifferentiableOn ℂ (fun y => (P y).coeff k) U) ∧ |
| 70 | (∀ y ∈ U, (P y).Monic ∧ (P y).natDegree = d ∧ |
| 71 | ∀ z, (P y).eval z = 0 → z ∈ ball c R) ∧ |
| 72 | (∀ i, DifferentiableOn ℂ (f i) W) ∧ |
| 73 | ∀ y ∈ U, ∀ z ∈ closedBall c R, |
| 74 | (y, z) ∈ S ↔ (P y).eval z = 0 ∧ ∀ i, f i (y, z) = 0 := by |
| 75 | obtain ⟨W, hW, hxc, m, f, hf, heq⟩ := hlocal |
| 76 | obtain ⟨i, hi⟩ := exists_nonzero_vertical_equation hW hxc f heq hfinite |
| 77 | obtain ⟨R, hR, hbase, hn⟩ := exists_zero_free_circle hW (hf i) hxc hi |
| 78 | obtain ⟨d, U, P, hU, hx, hUW, hcoeff, hP, hPeq⟩ := |
| 79 | WeierstrassPreparation.Constructions.Preparation.exists_polynomial_zero_equations hW (hf i) hR hbase hn |
| 80 | refine ⟨R, d, m, U, W, P, f, hR, hU, hx, hW, hUW, hcoeff, hP, hf, ?_⟩ |
| 81 | intro y hy z hz |
| 82 | rw [heq (y, z) (hUW ⟨hy, hz⟩)] |
| 83 | exact ⟨fun h => ⟨(hPeq y hy z hz).mp (h i), h⟩, And.right⟩ |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.LocalPreparation.Constructions.Preparation |