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.Geometry.ComplexTorus.RiemannProjectivity.BoundedPolynomial |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.RootContinuityAt |
| 3 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.SeparableFibersExists |
| 4 | |
| 5 | /-! # Local Fiber -/ |
| 6 | |
| 7 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalFiber.Constructions.LocalFiberExtension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # RiemannProjectivity: local equations extend through branching without adding points |
| 13 | |
| 14 | A generic monic equation for finite analytic fibers extends holomorphically |
| 15 | across its exceptional set. All roots of the extended equation belong to |
| 16 | the original closed set. Equality on exceptional fibers requires the |
| 17 | separate assertion that those fibers are approached by generic fibers. |
| 18 | -/ |
| 19 | |
| 20 | open Set Filter _root_.Metric _root_.Polynomial |
| 21 | open scoped _root_.Topology |
| 22 | |
| 23 | theorem exists_separable_extended_equation {n : ℕ} {S : Set ((Fin n → ℂ) × ℂ)} |
| 24 | (hS : IsClosed S) {x : Fin n → ℂ} {z₀ : ℂ} |
| 25 | (hlocal : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, z₀)) |
| 26 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) : |
| 27 | ∃ (R : ℝ) (k : ℕ) (U : Set (Fin n → ℂ)) |
| 28 | (P : (Fin n → ℂ) → ℂ[X]) (c : (Fin n → ℂ) → ℂ), |
| 29 | 0 < R ∧ IsOpen U ∧ x ∈ U ∧ DifferentiableOn ℂ c U ∧ |
| 30 | U ⊆ closure {y | y ∈ U ∧ c y ≠ 0} ∧ |
| 31 | (∀ j, DifferentiableOn ℂ (fun y => (P y).coeff j) U) ∧ |
| 32 | (∀ y, (P y).Monic ∧ (P y).natDegree = k) ∧ |
| 33 | (∀ y ∈ U, ∀ z, (P y).eval z = 0 → (y, z) ∈ S) ∧ |
| 34 | ∀ y ∈ U, c y ≠ 0 → (P y).Separable ∧ |
| 35 | ∀ z ∈ closedBall z₀ R, (y, z) ∈ S ↔ (P y).eval z = 0 := by |
| 36 | obtain ⟨R, k, V, Q, c, hR, hV, hxV, hc, hdense, hQcoeff, hQ⟩ := |
| 37 | SeparableFibersExists.Constructions.SeparableFibers.exists_generic_equation hlocal hfinite |
| 38 | have hn : ¬∀ᶠ y in 𝓝 x, c y = 0 := by |
| 39 | intro hz |
| 40 | obtain ⟨y, hy, hcy⟩ := ((mem_closure_iff_frequently.mp (hdense hxV)).and_eventually hz).exists |
| 41 | exact hy.2 hcy |
| 42 | have hb (y : Fin n → ℂ) (hy : y ∈ V) (hcy : c y ≠ 0) |
| 43 | (z : ℂ) (hz : (Q y).eval z = 0) : ‖z‖ ≤ R + ‖z₀‖ := by |
| 44 | have hd : dist z z₀ < R := mem_ball.mp ((hQ y hy hcy).2.2.2.1 z hz) |
| 45 | have ht := dist_triangle z z₀ 0 |
| 46 | simp only [dist_zero_right] at ht |
| 47 | linarith |
| 48 | obtain ⟨P, U, hU, hxU, hUV, hPcoeff, hP, hPQ⟩ := |
| 49 | BoundedPolynomial.Constructions.BoundedPolynomialExtension.exists_extension hV hc hxV hn k hQcoeff |
| 50 | (fun y hy hcy => ⟨(hQ y hy hcy).1, (hQ y hy hcy).2.1⟩) hb |
| 51 | have hdenseU : U ⊆ closure {y | y ∈ U ∧ c y ≠ 0} := by |
| 52 | intro y hy |
| 53 | apply mem_closure_iff_frequently.mpr |
| 54 | exact ((mem_closure_iff_frequently.mp (hdense (hUV hy))).and_eventually |
| 55 | (hU.mem_nhds hy)).mono (fun _ hz => ⟨hz.2, hz.1.2⟩) |
| 56 | have hrootS (y : Fin n → ℂ) (hy : y ∈ U) (hcy : c y ≠ 0) |
| 57 | (z : ℂ) (hz : (P y).eval z = 0) : (y, z) ∈ S := by |
| 58 | rw [hPQ y hy hcy] at hz |
| 59 | exact ((hQ y (hUV hy) hcy).2.2.2.2 z |
| 60 | (ball_subset_closedBall ((hQ y (hUV hy) hcy).2.2.2.1 z hz))).mpr hz |
| 61 | refine ⟨R, k, U, P, c, hR, hU, hxU, hc.mono hUV, hdenseU, hPcoeff, hP, ?_, ?_⟩ |
| 62 | · intro y hy z hz |
| 63 | exact RootContinuityAt.Constructions.RootClosure.root_mem_closed hS k hP (hdenseU hy) |
| 64 | (fun j => ((hPcoeff j).differentiableAt (hU.mem_nhds hy)).continuousAt) |
| 65 | (fun w hw => hrootS w hw.1 hw.2) hz |
| 66 | · intro y hy hcy |
| 67 | rw [hPQ y hy hcy] |
| 68 | exact ⟨(hQ y (hUV hy) hcy).2.2.1, (hQ y (hUV hy) hcy).2.2.2.2⟩ |
| 69 | |
| 70 | theorem exists_extended_equation {n : ℕ} {S : Set ((Fin n → ℂ) × ℂ)} |
| 71 | (hS : IsClosed S) {x : Fin n → ℂ} {z₀ : ℂ} |
| 72 | (hlocal : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S (x, z₀)) |
| 73 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) : |
| 74 | ∃ (R : ℝ) (k : ℕ) (U : Set (Fin n → ℂ)) |
| 75 | (P : (Fin n → ℂ) → ℂ[X]) (c : (Fin n → ℂ) → ℂ), |
| 76 | 0 < R ∧ IsOpen U ∧ x ∈ U ∧ DifferentiableOn ℂ c U ∧ |
| 77 | U ⊆ closure {y | y ∈ U ∧ c y ≠ 0} ∧ |
| 78 | (∀ j, DifferentiableOn ℂ (fun y => (P y).coeff j) U) ∧ |
| 79 | (∀ y, (P y).Monic ∧ (P y).natDegree = k) ∧ |
| 80 | (∀ y ∈ U, ∀ z, (P y).eval z = 0 → (y, z) ∈ S) ∧ |
| 81 | ∀ y ∈ U, c y ≠ 0 → ∀ z ∈ closedBall z₀ R, |
| 82 | (y, z) ∈ S ↔ (P y).eval z = 0 := by |
| 83 | obtain ⟨R, k, U, P, c, hR, hU, hxU, hc, hdense, hcoeff, hP, hroot, heq⟩ := |
| 84 | exists_separable_extended_equation hS hlocal hfinite |
| 85 | exact ⟨R, k, U, P, c, hR, hU, hxU, hc, hdense, hcoeff, hP, hroot, |
| 86 | fun y hy hcy => (heq y hy hcy).2⟩ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalFiber.Constructions.LocalFiberExtension |