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.Truncated.SingleDegreeGeneration |
| 2 | |
| 3 | /-! # Degree Relation Extension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.DegreeRelationExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Extending one homogeneous relation submodule by repeated variable multiplication, with exact recovery of its generated ideal. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {R : Type u} [CommRing R] {σ : Type v} (N : ℕ) |
| 14 | variable (K : Submodule R (MvPolynomial.homogeneousSubmodule σ R N)) |
| 15 | |
| 16 | def singleDegreePiece : ∀ d : ℕ, Submodule R (MvPolynomial.homogeneousSubmodule σ R d) |
| 17 | | 0 => if h : 0 = N then h ▸ K else ⊥ |
| 18 | | d + 1 => if h : d + 1 = N then h ▸ K else |
| 19 | if N < d + 1 then ⨆ i : σ, (singleDegreePiece d).map (Homogeneous.MultiplicationMatrices.homogeneousMultiplyX R σ d i) else ⊥ |
| 20 | |
| 21 | theorem singleDegreePiece_at : DegreeRelationExtension.singleDegreePiece N K N = K := by |
| 22 | cases N with |
| 23 | | zero => simp [DegreeRelationExtension.singleDegreePiece] |
| 24 | | succ N => simp [DegreeRelationExtension.singleDegreePiece] |
| 25 | |
| 26 | theorem singleDegreePiece_below (d : ℕ) (hd : d < N) : DegreeRelationExtension.singleDegreePiece N K d = ⊥ := by |
| 27 | cases d with |
| 28 | | zero => simp only [DegreeRelationExtension.singleDegreePiece, dite_eq_right (show ¬0 = N by omega)] |
| 29 | | succ d => |
| 30 | simp only [DegreeRelationExtension.singleDegreePiece, dite_eq_right (show ¬d + 1 = N by omega), |
| 31 | ite_eq_right (show ¬N < d + 1 by omega)] |
| 32 | |
| 33 | theorem singleDegreePiece_succ (d : ℕ) (hd : N ≤ d) : |
| 34 | DegreeRelationExtension.singleDegreePiece N K (d + 1) = |
| 35 | ⨆ i : σ, (DegreeRelationExtension.singleDegreePiece N K d).map (Homogeneous.MultiplicationMatrices.homogeneousMultiplyX R σ d i) := by |
| 36 | simp only [DegreeRelationExtension.singleDegreePiece, dite_eq_right (show ¬d + 1 = N by omega), |
| 37 | ite_eq_left (show N < d + 1 by omega)] |
| 38 | |
| 39 | def singleDegreeRelations : GradedIdealReconstruction.GradedIdealRelations R σ where |
| 40 | piece := DegreeRelationExtension.singleDegreePiece N K |
| 41 | variable_mul d i := by |
| 42 | by_cases hd : N ≤ d |
| 43 | · rw [singleDegreePiece_succ N K d hd] |
| 44 | exact Submodule.map_le_iff_le_comap.mp (le_iSup |
| 45 | (fun j : σ => (DegreeRelationExtension.singleDegreePiece N K d).map (Homogeneous.MultiplicationMatrices.homogeneousMultiplyX R σ d j)) i) |
| 46 | · rw [singleDegreePiece_below N K d (by omega)] |
| 47 | exact bot_le |
| 48 | |
| 49 | theorem singleDegreeRelations_ideal : |
| 50 | (singleDegreeRelations N K).toIdeal = Ideal.span |
| 51 | (K.map (MvPolynomial.homogeneousSubmodule σ R N).subtype : Set (MvPolynomial σ R)) := by |
| 52 | rw [← (singleDegreeRelations N K).lowDegreeIdeal_eq N (singleDegreePiece_succ N K)] |
| 53 | change Ideal.span ((singleDegreeRelations N K).lowDegreeRelations N : Set (MvPolynomial σ R)) = _ |
| 54 | rw [(singleDegreeRelations N K).lowDegreeRelations_eq_last N (singleDegreePiece_below N K)] |
| 55 | change Ideal.span ((DegreeRelationExtension.singleDegreePiece N K N).map |
| 56 | (MvPolynomial.homogeneousSubmodule σ R N).subtype : Set (MvPolynomial σ R)) = _ |
| 57 | rw [singleDegreePiece_at] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.DegreeRelationExtension |