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.DenseFiber |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.CoefficientRoot |
| 3 | |
| 4 | /-! # Parameter Equations On -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.ParameterEquationsOn.Constructions.ParameterEquations |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # RiemannProjectivity: extending equations from generic fibers on a holomorphic parametrization -/ |
| 11 | |
| 12 | open Set _root_.Polynomial |
| 13 | open scoped BigOperators |
| 14 | |
| 15 | variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 16 | [NormedAddCommGroup W] [NormedSpace ℂ W] |
| 17 | [FiniteDimensional ℂ V] [FiniteDimensional ℂ W] |
| 18 | |
| 19 | omit [FiniteDimensional ℂ V] [FiniteDimensional ℂ W] in |
| 20 | theorem differentiableOn_eval {P : W → ℂ[X]} (k : ℕ) |
| 21 | (hdegree : ∀ y, (P y).natDegree ≤ k) {O : Set W} |
| 22 | (hcoeff : ∀ j, DifferentiableOn ℂ (fun y => (P y).coeff j) O) |
| 23 | {F : V → W} {g : V → ℂ} {U : Set V} (hF : DifferentiableOn ℂ F U) |
| 24 | (hg : DifferentiableOn ℂ g U) (hmap : MapsTo F U O) : |
| 25 | DifferentiableOn ℂ (fun x => (P (F x)).eval (g x)) U := by |
| 26 | have heq : (fun x => (P (F x)).eval (g x)) = |
| 27 | fun x => ∑ j ∈ Finset.range (k + 1), (P (F x)).coeff j * (g x) ^ j := by |
| 28 | funext x |
| 29 | exact eval_eq_sum_range' (Nat.lt_succ_of_le (hdegree (F x))) (g x) |
| 30 | rw [heq] |
| 31 | exact DifferentiableOn.fun_sum (fun j _ => ((hcoeff j).comp hF hmap).fun_mul (hg.fun_pow j)) |
| 32 | |
| 33 | theorem vanishes_on_parameters {P : W → ℂ[X]} (k : ℕ) |
| 34 | (hdegree : ∀ y, (P y).natDegree ≤ k) {O : Set W} |
| 35 | (hcoeff : ∀ j, DifferentiableOn ℂ (fun y => (P y).coeff j) O) |
| 36 | {F : V → W} {g : V → ℂ} {U : Set V} (hU : IsOpen U) |
| 37 | (hF : DifferentiableOn ℂ F U) (hg : DifferentiableOn ℂ g U) (hmap : MapsTo F U O) |
| 38 | (hdim : Module.finrank ℂ V = Module.finrank ℂ W) |
| 39 | (hfinite : ∀ y, {z : V | z ∈ U ∧ F z = y}.Finite) |
| 40 | {D : Set W} (hD : ∀ x ∈ U, F x ∈ closure D) |
| 41 | (hzero : ∀ x ∈ U, F x ∈ D → (P (F x)).eval (g x) = 0) : |
| 42 | ∀ x ∈ U, (P (F x)).eval (g x) = 0 := by |
| 43 | have hc := (differentiableOn_eval k hdegree hcoeff hF hg hmap).continuousOn |
| 44 | have hdense := DenseFiber.Constructions.DenseFiberPreimage.dense_preimage hU hF hdim hfinite hD |
| 45 | intro x hx |
| 46 | have hmem : (P (F x)).eval (g x) ∈ closure ({0} : Set ℂ) := |
| 47 | ((hc x hx).mono inter_subset_left).mem_closure (hdense hx) |
| 48 | (fun y hy => hzero y hy.1 hy.2) |
| 49 | simpa only [closure_singleton, mem_singleton_iff] using hmem |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.ParameterEquationsOn.Constructions.ParameterEquations |