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.LinearAlgebra.Finsupp.LinearCombination |
| 3 | |
| 4 | /-! # Cover Preimage -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.CoverPreimage.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A member of the coefficient-linear span of a finite cover has an actual homogeneous linear polynomial preimage. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {σ : Type u} [Fintype σ] |
| 17 | variable (R : Type v) [CommRing R] {A : Type w} [CommRing A] [Algebra R A] |
| 18 | |
| 19 | theorem exists_linear_cover_preimage (a : σ → A) (x : A) |
| 20 | (hx : x ∈ Submodule.span R (Set.range a)) : |
| 21 | ∃ l : MvPolynomial σ R, l.IsHomogeneous 1 ∧ MvPolynomial.aeval a l = x := by |
| 22 | classical |
| 23 | obtain ⟨c, hc⟩ := (Submodule.mem_span_range_iff_exists_fun R).mp hx |
| 24 | refine ⟨∑ i, c i • X i, ?_, ?_⟩ |
| 25 | · change (∑ i, c i • X i) ∈ homogeneousSubmodule σ R 1 |
| 26 | apply Submodule.sum_mem |
| 27 | intro i _ |
| 28 | exact Submodule.smul_mem _ _ (isHomogeneous_X R i) |
| 29 | · simp only [map_sum, map_smul, MvPolynomial.aeval_X] |
| 30 | exact hc |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.CoverPreimage.ProjectiveCech |