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.IntegerPolynomialGrading |
| 2 | import Mathlib.RingTheory.MvPolynomial.Homogeneous |
| 3 | |
| 4 | /-! # Polynomial Substitution -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.PolynomialSubstitution.GradedModules |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Substitution of homogeneous linear polynomials preserves the actual integer grading. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {σ : Type u} {τ : Type v} [Fintype σ] [Fintype τ] |
| 17 | variable (R : Type w) [CommRing R] |
| 18 | |
| 19 | theorem linearSubstitution_integer_homogeneous (a : σ → MvPolynomial τ R) |
| 20 | (ha : ∀ i : σ, (a i).IsHomogeneous 1) {d : ℤ} {p : MvPolynomial σ R} |
| 21 | (hp : p ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading R d) : MvPolynomial.aeval a p ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading R d := by |
| 22 | classical |
| 23 | by_cases hpzero : p = 0 |
| 24 | · rw [hpzero, map_zero] |
| 25 | exact Submodule.zero_mem _ |
| 26 | have hne : p.support.Nonempty := by |
| 27 | apply Finset.nonempty_iff_ne_empty.mpr |
| 28 | intro h |
| 29 | exact hpzero (MvPolynomial.support_eq_empty.mp h) |
| 30 | obtain ⟨m, hm⟩ := hne |
| 31 | have hd : (m.degree : ℤ) = d := by |
| 32 | have h := hp (mem_support_iff.mp hm) |
| 33 | simpa only [IntegerPolynomialGrading.GradedModules.integerWeight_eq_degree] using h |
| 34 | rw [← hd, IntegerPolynomialGrading.GradedModules.polynomialIntegerGrading_nat] at hp ⊢ |
| 35 | change (MvPolynomial.eval₂ (algebraMap R (MvPolynomial τ R)) a p).IsHomogeneous m.degree |
| 36 | simpa only [one_mul] using hp.eval₂ (algebraMap R (MvPolynomial τ R)) a |
| 37 | (fun r => isHomogeneous_C τ r) ha |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.PolynomialSubstitution.GradedModules |