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.HilbertScheme.Presentations.Homogeneous.CoordinateBasis |
| 2 | |
| 3 | /-! # Linear Completeness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.LinearCompleteness.StableHilbertCoverage |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The standard projective frame detects every degree-one homogeneous |
| 10 | polynomial, over the original coefficient ring. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 16 | |
| 17 | theorem linearPolynomial_eq_zero_of_frame_values |
| 18 | (p : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n 1) |
| 19 | (hp : ∀ i : Fin (n + 1), |
| 20 | MvPolynomial.eval₂Hom (algebraMap R R) (Pi.single i 1) p.val = 0) : p = 0 := by |
| 21 | classical |
| 22 | have hspan : p.val ∈ Submodule.span R (Set.range (X : Fin (n + 1) → HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)) := by |
| 23 | rw [← homogeneousSubmodule_one_eq_span_X] |
| 24 | exact p.property |
| 25 | obtain ⟨c, hc⟩ := (Submodule.mem_span_range_iff_exists_fun R).mp hspan |
| 26 | have hzero (i : Fin (n + 1)) : c i = 0 := by |
| 27 | have he : (MvPolynomial.aeval (Pi.single i (1 : R))) p.val = c i := by |
| 28 | rw [← hc] |
| 29 | simp only [map_sum, map_smul, aeval_X] |
| 30 | simp [Pi.single_apply, eq_comm] |
| 31 | exact he.symm.trans (hp i) |
| 32 | apply Subtype.ext |
| 33 | change p.val = 0 |
| 34 | rw [← hc] |
| 35 | simp only [hzero, zero_smul, Finset.sum_const_zero] |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.LinearCompleteness.StableHilbertCoverage |