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.RingTheory.MvPolynomial.Homogeneous |
| 2 | import Mathlib.Algebra.MvPolynomial.Funext |
| 3 | |
| 4 | /-! # Homogeneous Line At -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.HomogeneousLineAt.Construction.HomogeneousLine |
| 7 | |
| 8 | /-! A nonzero homogeneous polynomial has a nonzero value in the chart X₀ = 1. -/ |
| 9 | |
| 10 | variable {σ K : Type*} [Field K] |
| 11 | |
| 12 | theorem eval_scale {p : MvPolynomial σ K} {d : ℕ} (hp : p.IsHomogeneous d) |
| 13 | (c : K) (v : σ → K) : |
| 14 | MvPolynomial.eval (fun i => c * v i) p = c ^ d * MvPolynomial.eval v p := by |
| 15 | classical |
| 16 | rw [MvPolynomial.eval_eq, MvPolynomial.eval_eq, Finset.mul_sum] |
| 17 | apply Finset.sum_congr rfl |
| 18 | intro e he |
| 19 | simp only [mul_pow, Finset.prod_mul_distrib, Finset.prod_pow_eq_pow_sum, |
| 20 | ← hp.degree_eq_sum_deg_support he] |
| 21 | ring |
| 22 | |
| 23 | theorem exists_eval_at_one_ne_zero [Infinite K] {n d : ℕ} |
| 24 | {p : MvPolynomial (Fin (n + 1)) K} (hp : p.IsHomogeneous d) (h0 : p ≠ 0) : |
| 25 | ∃ a : Fin n → K, MvPolynomial.eval (Fin.cons 1 a) p ≠ 0 := by |
| 26 | classical |
| 27 | by_contra! h |
| 28 | apply h0 |
| 29 | apply MvPolynomial.funext_set (fun _ => (Set.univ : Set K) \ {0}) |
| 30 | (fun _ => Set.infinite_univ.sdiff (Set.finite_singleton 0)) |
| 31 | intro v hv |
| 32 | have hv0 : v 0 ≠ 0 := (hv 0 trivial).2 |
| 33 | let a : Fin n → K := fun i => (v 0)⁻¹ * v i.succ |
| 34 | have he : (fun i => (v 0)⁻¹ * v i) = Fin.cons 1 a := by |
| 35 | funext i |
| 36 | refine Fin.cases ?_ (fun j => ?_) i |
| 37 | · simp [hv0] |
| 38 | · rfl |
| 39 | have hz := eval_scale hp (v 0)⁻¹ v |
| 40 | rw [he, h a] at hz |
| 41 | have hz' : MvPolynomial.eval v p = 0 := |
| 42 | (mul_eq_zero.mp hz.symm).resolve_left (pow_ne_zero _ (inv_ne_zero hv0)) |
| 43 | simpa using hz' |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.HomogeneousLineAt.Construction.HomogeneousLine |