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.Ideal |
| 2 | import Mathlib.RingTheory.Regular.IsSMulRegular |
| 3 | |
| 4 | /-! # Variable Regularity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.VariableRegularity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A polynomial variable is regular after quotienting by any family of different variables. The proof uses the actual monomial support of the variable ideal, without a dimension hypothesis. -/ |
| 11 | universe u v |
| 12 | variable {R : Type u} [CommRing R] {ι : Type v} |
| 13 | |
| 14 | theorem fresh_variable_mul_mem_span_iff (S : Set ι) (j : ι) (hj : j ∉ S) |
| 15 | (p : MvPolynomial ι R) : |
| 16 | MvPolynomial.X j * p ∈ Ideal.span (MvPolynomial.X '' S) ↔ |
| 17 | p ∈ Ideal.span (MvPolynomial.X '' S) := by |
| 18 | classical |
| 19 | refine ⟨fun h => ?_, fun h => Ideal.mul_mem_left _ _ h⟩ |
| 20 | apply MvPolynomial.mem_ideal_span_X_image.mpr |
| 21 | intro m hm |
| 22 | have hshift : Finsupp.single j 1 + m ∈ (MvPolynomial.X j * p).support := by |
| 23 | rw [MvPolynomial.mem_support_iff, MvPolynomial.coeff_X_mul] |
| 24 | exact MvPolynomial.mem_support_iff.mp hm |
| 25 | obtain ⟨i, hi, hmi⟩ := MvPolynomial.mem_ideal_span_X_image.mp h _ hshift |
| 26 | have hij : j ≠ i := by |
| 27 | intro heq |
| 28 | exact hj (heq.symm ▸ hi) |
| 29 | refine ⟨i, hi, ?_⟩ |
| 30 | simpa only [Finsupp.add_apply, Finsupp.single_eq_of_ne' hij, zero_add] using hmi |
| 31 | |
| 32 | theorem fresh_variable_smul_regular_quotient (S : Set ι) (j : ι) (hj : j ∉ S) : |
| 33 | IsSMulRegular (MvPolynomial ι R ⧸ Ideal.span ((MvPolynomial.X : ι → MvPolynomial ι R) '' S)) |
| 34 | (MvPolynomial.X j : MvPolynomial ι R) := by |
| 35 | rw [isSMulRegular_iff_right_eq_zero_of_smul] |
| 36 | intro z hz |
| 37 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective z |
| 38 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 39 | apply (fresh_variable_mul_mem_span_iff S j hj p).mp |
| 40 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 41 | exact hz |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.VariableRegularity |