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.ComponentMultiplication |
| 2 | |
| 3 | /-! # Degreewise Relations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DegreewiseRelations |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Polynomials whose homogeneous pieces lie in a prescribed family of submodules. |
| 11 | Stability under variable multiplication implies stability under every polynomial. |
| 12 | -/ |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {σ : Type v} |
| 17 | variable (N : ∀ d, Submodule R (MvPolynomial.homogeneousSubmodule σ R d)) |
| 18 | |
| 19 | def degreewiseRelationsSubmodule : Submodule R (MvPolynomial σ R) where |
| 20 | carrier := {p | ∀ d, Homogeneous.ComponentMultiplication.homogeneousComponentSection d p ∈ N d} |
| 21 | zero_mem' d := by rw [map_zero]; exact (N d).zero_mem |
| 22 | add_mem' hp hq d := by rw [map_add]; exact (N d).add_mem (hp d) (hq d) |
| 23 | smul_mem' r _p hp d := by rw [map_smul]; exact (N d).smul_mem r (hp d) |
| 24 | |
| 25 | theorem degreewiseRelations_mem_homogeneous {d : ℕ} |
| 26 | (p : MvPolynomial.homogeneousSubmodule σ R d) : |
| 27 | p.val ∈ degreewiseRelationsSubmodule N ↔ p ∈ N d := by |
| 28 | have hd : Homogeneous.ComponentMultiplication.homogeneousComponentSection d p.val = p := |
| 29 | Subtype.ext (MvPolynomial.homogeneousComponent_eq_self p.property) |
| 30 | constructor |
| 31 | · intro hp |
| 32 | exact hd ▸ hp d |
| 33 | · intro hp e |
| 34 | by_cases he : e = d |
| 35 | · subst e |
| 36 | rwa [hd] |
| 37 | · have hz : Homogeneous.ComponentMultiplication.homogeneousComponentSection e p.val = 0 := by |
| 38 | apply Subtype.ext |
| 39 | exact (MvPolynomial.homogeneousComponent_of_mem p.property).trans (ite_eq_right he) |
| 40 | rw [hz] |
| 41 | exact (N e).zero_mem |
| 42 | |
| 43 | theorem degreewiseRelations_component {p : MvPolynomial σ R} |
| 44 | (hp : p ∈ degreewiseRelationsSubmodule N) (d : ℕ) : |
| 45 | MvPolynomial.homogeneousComponent d p ∈ degreewiseRelationsSubmodule N := |
| 46 | (degreewiseRelations_mem_homogeneous N |
| 47 | ⟨MvPolynomial.homogeneousComponent d p, MvPolynomial.homogeneousComponent_mem d p⟩).mpr (hp d) |
| 48 | |
| 49 | variable (hN : ∀ d i, N d ≤ (N (d + 1)).comap (Homogeneous.MultiplicationMatrices.homogeneousMultiplyX R σ d i)) |
| 50 | include hN |
| 51 | |
| 52 | theorem degreewiseRelations_variable_mul {p : MvPolynomial σ R} |
| 53 | (hp : p ∈ degreewiseRelationsSubmodule N) (i : σ) : |
| 54 | MvPolynomial.X i * p ∈ degreewiseRelationsSubmodule N := by |
| 55 | intro d |
| 56 | cases d with |
| 57 | | zero => |
| 58 | have hz : Homogeneous.ComponentMultiplication.homogeneousComponentSection 0 (MvPolynomial.X i * p) = 0 := |
| 59 | Subtype.ext (Homogeneous.ComponentMultiplication.homogeneousComponent_variable_mul_zero i p) |
| 60 | rw [hz] |
| 61 | exact (N 0).zero_mem |
| 62 | | succ d => |
| 63 | have he : Homogeneous.ComponentMultiplication.homogeneousComponentSection (d + 1) (MvPolynomial.X i * p) = |
| 64 | Homogeneous.MultiplicationMatrices.homogeneousMultiplyX R σ d i (Homogeneous.ComponentMultiplication.homogeneousComponentSection d p) := |
| 65 | Subtype.ext (Homogeneous.ComponentMultiplication.homogeneousComponent_variable_mul_succ i p d) |
| 66 | rw [he] |
| 67 | exact hN d i (hp d) |
| 68 | |
| 69 | theorem degreewiseRelations_mul {p : MvPolynomial σ R} |
| 70 | (hp : p ∈ degreewiseRelationsSubmodule N) (q : MvPolynomial σ R) : |
| 71 | q * p ∈ degreewiseRelationsSubmodule N := by |
| 72 | induction q using MvPolynomial.induction_on with |
| 73 | | C r => |
| 74 | rw [MvPolynomial.C_mul'] |
| 75 | exact (degreewiseRelationsSubmodule N).smul_mem r hp |
| 76 | | add a b ha hb => |
| 77 | rw [add_mul] |
| 78 | exact (degreewiseRelationsSubmodule N).add_mem ha hb |
| 79 | | mul_X a i ha => |
| 80 | have he : (a * MvPolynomial.X i) * p = MvPolynomial.X i * (a * p) := by ac_rfl |
| 81 | rw [he] |
| 82 | exact degreewiseRelations_variable_mul N hN ha i |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DegreewiseRelations |