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.Calculus.ImplicitContDiff |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 3 | import Mathlib.Analysis.Complex.Basic |
| 4 | import Mathlib.Topology.Algebra.MvPolynomial |
| 5 | |
| 6 | /-! # Polynomial Implicit -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.PolynomialImplicit |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Local graphs of regular complex polynomial zero sets |
| 14 | |
| 15 | These are analytic lemmas about actual polynomial evaluation on finite-dimensional |
| 16 | complex vector spaces. The regularity hypothesis is the invertibility of the |
| 17 | specified partial derivative. No assertion identifying that hypothesis with |
| 18 | scheme-theoretic smoothness is made in this file. |
| 19 | -/ |
| 20 | |
| 21 | open Filter |
| 22 | open scoped _root_.Topology ContDiff |
| 23 | |
| 24 | variable {ι κ : Type*} [Fintype ι] [Fintype κ] |
| 25 | |
| 26 | /-- Evaluation of a multivariate complex polynomial is complex smooth of every |
| 27 | order, including the analytic order `ω`. -/ |
| 28 | theorem contDiff_polynomial_eval (p : MvPolynomial ι ℂ) (n : ℕ∞ω) : |
| 29 | ContDiff ℂ n (fun x : ι → ℂ => MvPolynomial.eval x p) := by |
| 30 | induction p using MvPolynomial.induction_on with |
| 31 | | C a => simpa only [MvPolynomial.eval_C] using contDiff_const |
| 32 | | add p q hp hq => simpa only [MvPolynomial.eval_add] using hp.add hq |
| 33 | | mul_X p i hp => |
| 34 | simpa only [MvPolynomial.eval_mul, MvPolynomial.eval_X] using |
| 35 | hp.mul (contDiff_apply ℂ ℂ i) |
| 36 | |
| 37 | /-- Actual simultaneous evaluation, separating free and solved-for coordinates. -/ |
| 38 | def splitPolynomialMap (P : κ → MvPolynomial (ι ⊕ κ) ℂ) |
| 39 | (z : (ι → ℂ) × (κ → ℂ)) : κ → ℂ := |
| 40 | fun k => MvPolynomial.eval (Sum.elim z.1 z.2) (P k) |
| 41 | |
| 42 | theorem contDiff_splitPolynomialMap (P : κ → MvPolynomial (ι ⊕ κ) ℂ) |
| 43 | (n : ℕ∞ω) : ContDiff ℂ n (splitPolynomialMap P) := by |
| 44 | apply contDiff_pi.mpr |
| 45 | intro k |
| 46 | apply (contDiff_polynomial_eval (P k) n).comp |
| 47 | apply contDiff_pi.mpr |
| 48 | intro i |
| 49 | cases i with |
| 50 | | inl i => exact (contDiff_apply ℂ ℂ i).comp contDiff_fst |
| 51 | | inr i => exact (contDiff_apply ℂ ℂ i).comp contDiff_snd |
| 52 | |
| 53 | /-- A regular polynomial zero set is locally the graph of a complex analytic |
| 54 | function. The pointwise smoothness is `ContDiffAt ℂ ω`, mathlib's analytic order. |
| 55 | Both existence on a neighbourhood and uniqueness inside a neighbourhood of the |
| 56 | base point are asserted, rather than merely a one-way parametrization. -/ |
| 57 | theorem exists_polynomial_zero_graph |
| 58 | (P : κ → MvPolynomial (ι ⊕ κ) ℂ) |
| 59 | (u : (ι → ℂ) × (κ → ℂ)) |
| 60 | (hu : splitPolynomialMap P u = 0) |
| 61 | (hreg : (fderiv ℂ (splitPolynomialMap P) u ∘L |
| 62 | ContinuousLinearMap.inr ℂ (ι → ℂ) (κ → ℂ)).IsInvertible) : |
| 63 | ∃ ψ : (ι → ℂ) → (κ → ℂ), |
| 64 | ψ u.1 = u.2 ∧ |
| 65 | ContDiffAt ℂ ω ψ u.1 ∧ |
| 66 | (∀ᶠ x in 𝓝 u.1, splitPolynomialMap P (x, ψ x) = 0) ∧ |
| 67 | (∀ᶠ z in 𝓝 u, splitPolynomialMap P z = 0 ↔ ψ z.1 = z.2) := by |
| 68 | have hP := (contDiff_splitPolynomialMap P ω).contDiffAt (x := u) |
| 69 | have hn : (ω : ℕ∞ω) ≠ 0 := by simp |
| 70 | refine ⟨hP.implicitFunction hn hreg, hP.implicitFunction_apply_self hn hreg, |
| 71 | hP.contDiffAt_implicitFunction hn hreg, ?_, ?_⟩ |
| 72 | · simpa only [hu] using hP.eventually_apply_implicitFunction hn hreg |
| 73 | · simpa only [hu] using hP.eventually_apply_eq_iff_implicitFunction hn hreg |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.PolynomialImplicit |