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.AbelianModuli.HilbertConstruction.Homogeneous.MultiplicationMatrices |
| 2 | |
| 3 | /-! # Component Multiplication -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ComponentMultiplication |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Multiplication by a variable shifts homogeneous components by one degree. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {R : Type u} [CommRing R] {σ : Type v} |
| 14 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 15 | |
| 16 | def homogeneousComponentSection (d : ℕ) : MvPolynomial σ R →ₗ[R] |
| 17 | MvPolynomial.homogeneousSubmodule σ R d := |
| 18 | (MvPolynomial.homogeneousComponent d).codRestrict _ (MvPolynomial.homogeneousComponent_mem d) |
| 19 | |
| 20 | theorem homogeneous_decompose_eq_component (p : MvPolynomial σ R) (d : ℕ) : |
| 21 | (DirectSum.decompose (MvPolynomial.homogeneousSubmodule σ R) p d : MvPolynomial σ R) = |
| 22 | MvPolynomial.homogeneousComponent d p := |
| 23 | MvPolynomial.decomposition.decompose'_apply p d |
| 24 | |
| 25 | theorem homogeneousComponent_variable_mul_succ (i : σ) (p : MvPolynomial σ R) (d : ℕ) : |
| 26 | MvPolynomial.homogeneousComponent (d + 1) (MvPolynomial.X i * p) = |
| 27 | MvPolynomial.X i * MvPolynomial.homogeneousComponent d p := by |
| 28 | have h := DirectSum.coe_decompose_mul_add_of_left_mem |
| 29 | (MvPolynomial.homogeneousSubmodule σ R) (i := 1) (j := d) (b := p) |
| 30 | (MvPolynomial.isHomogeneous_X R i) |
| 31 | rw [homogeneous_decompose_eq_component, homogeneous_decompose_eq_component] at h |
| 32 | simpa only [Nat.add_comm] using h |
| 33 | |
| 34 | theorem homogeneousComponent_variable_mul_zero (i : σ) (p : MvPolynomial σ R) : |
| 35 | MvPolynomial.homogeneousComponent 0 (MvPolynomial.X i * p) = 0 := by |
| 36 | have h := DirectSum.coe_decompose_mul_of_left_mem_of_not_le |
| 37 | (MvPolynomial.homogeneousSubmodule σ R) (b := p) |
| 38 | (MvPolynomial.isHomogeneous_X R i) (show ¬1 ≤ (0 : ℕ) by omega) |
| 39 | rw [homogeneous_decompose_eq_component] at h |
| 40 | exact h |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ComponentMultiplication |