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 | import Mathlib.RingTheory.GradedAlgebra.Homogeneous.Ideal |
| 3 | |
| 4 | /-! # Ideal Incidence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.IdealIncidence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The degree relations of an actual homogeneous ideal satisfy the constructed |
| 12 | multiplication incidence matrices. Linear coordinate changes preserve the |
| 13 | underlying submodule-containment condition exactly. |
| 14 | -/ |
| 15 | |
| 16 | universe u v w v' w' |
| 17 | |
| 18 | section LinearCoordinates |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] |
| 21 | variable {V : Type v} [AddCommGroup V] [Module R V] |
| 22 | variable {W : Type w} [AddCommGroup W] [Module R W] |
| 23 | variable {V' : Type v'} [AddCommGroup V'] [Module R V'] |
| 24 | variable {W' : Type w'} [AddCommGroup W'] [Module R W'] |
| 25 | |
| 26 | theorem coordinate_submodule_incidence_iff (e : V ≃ₗ[R] V') (h : W ≃ₗ[R] W') |
| 27 | (L : V →ₗ[R] W) (F : V' →ₗ[R] W') (hc : ∀ x, F (e x) = h (L x)) |
| 28 | (N : Submodule R V) (P : Submodule R W) : |
| 29 | N.map e.toLinearMap ≤ (P.map h.toLinearMap).comap F ↔ N ≤ P.comap L := by |
| 30 | constructor |
| 31 | · intro hi x hx |
| 32 | have him := hi (Submodule.mem_map.mpr ⟨x, hx, rfl⟩) |
| 33 | change F (e x) ∈ P.map h.toLinearMap at him |
| 34 | rw [hc] at him |
| 35 | obtain ⟨y, hy, he⟩ := him |
| 36 | have hey : y = L x := h.injective he |
| 37 | change L x ∈ P |
| 38 | exact hey ▸ hy |
| 39 | · intro hi y hy |
| 40 | obtain ⟨x, hx, rfl⟩ := hy |
| 41 | exact ⟨L x, hi hx, (hc x).symm⟩ |
| 42 | |
| 43 | end LinearCoordinates |
| 44 | |
| 45 | variable {R : Type u} [CommRing R] {σ : Type v} [Finite σ] |
| 46 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 47 | variable (I : HomogeneousIdeal (MvPolynomial.homogeneousSubmodule σ R)) (d : ℕ) |
| 48 | |
| 49 | def homogeneousDegreeRelations : Submodule R (MvPolynomial.homogeneousSubmodule σ R d) := |
| 50 | (I.toIdeal.restrictScalars R).comap (MvPolynomial.homogeneousSubmodule σ R d).subtype |
| 51 | |
| 52 | def homogeneousCoordinateRelations : Submodule R (Coordinates.HomogeneousMonomials σ d → R) := |
| 53 | (homogeneousDegreeRelations I d).map (Coordinates.homogeneousCoordinates R σ d).toLinearMap |
| 54 | |
| 55 | omit [Finite σ] in |
| 56 | theorem homogeneousDegreeRelations_multiply (i : σ) : |
| 57 | homogeneousDegreeRelations I d ≤ |
| 58 | (homogeneousDegreeRelations I (d + 1)).comap (MultiplicationMatrices.homogeneousMultiplyX R σ d i) := by |
| 59 | intro p hp |
| 60 | exact I.toIdeal.mul_mem_left (MvPolynomial.X i) hp |
| 61 | |
| 62 | theorem homogeneousCoordinateRelations_incidence (i : σ) : |
| 63 | homogeneousCoordinateRelations I d ≤ |
| 64 | (homogeneousCoordinateRelations I (d + 1)).comap |
| 65 | (Matrix.toLin' (MultiplicationMatrices.homogeneousMultiplicationMatrix R σ d i)) := by |
| 66 | apply (coordinate_submodule_incidence_iff (Coordinates.homogeneousCoordinates R σ d) |
| 67 | (Coordinates.homogeneousCoordinates R σ (d + 1)) (MultiplicationMatrices.homogeneousMultiplyX R σ d i) |
| 68 | (Matrix.toLin' (MultiplicationMatrices.homogeneousMultiplicationMatrix R σ d i)) |
| 69 | (MultiplicationMatrices.homogeneousMultiplicationMatrix_represents R σ d i) |
| 70 | (homogeneousDegreeRelations I d) (homogeneousDegreeRelations I (d + 1))).mpr |
| 71 | exact homogeneousDegreeRelations_multiply I d i |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.IdealIncidence |