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.Veronese.Subalgebra |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubalgebraInternalDecomposition |
| 3 | |
| 4 | /-! # Grading -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Veronese.Grading |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Regrading the Veronese algebra by dividing its homogeneous degrees |
| 11 | by N gives an internal grading, with no extra decomposition hypothesis. -/ |
| 12 | universe u |
| 13 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 14 | variable (g : ℕ → Submodule R A) [GradedAlgebra g] (N : ℕ) |
| 15 | |
| 16 | def veroneseGrading (n : ℕ) : Submodule R (Subalgebra.veroneseSubalgebra g N) := |
| 17 | (g (N * n)).comap (Subalgebra.veroneseSubalgebra g N).toSubmodule.subtype |
| 18 | |
| 19 | instance veroneseGradedAlgebra [NeZero N] : GradedAlgebra (veroneseGrading g N) where |
| 20 | toDecomposition := by |
| 21 | have h : DirectSum.IsInternal (veroneseGrading g N) := by |
| 22 | convert (SubalgebraInternalDecomposition.subalgebra_internalDecomposition (Subalgebra.veroneseSubalgebra g N) |
| 23 | (fun n : ℕ => g (N * n)) |
| 24 | (fun n => le_iSup (fun k : ℕ => g (N * k)) n) |
| 25 | ((DirectSum.Decomposition.isInternal g).submodule_iSupIndep.comp |
| 26 | (fun _ _ h => Nat.eq_of_mul_eq_mul_left (Nat.pos_of_ne_zero (NeZero.ne N)) h)) |
| 27 | rfl) using 1; rfl |
| 28 | exact h.chooseDecomposition |
| 29 | toGradedMonoid := { |
| 30 | one_mem := by |
| 31 | change (1 : A) ∈ g (N * 0) |
| 32 | simpa only [Nat.mul_zero] using (SetLike.GradedOne.one_mem : (1 : A) ∈ g 0) |
| 33 | mul_mem := by |
| 34 | intro n k x y hx hy |
| 35 | change x.val * y.val ∈ g (N * (n + k)) |
| 36 | simpa only [Nat.mul_add] using (show x.val * y.val ∈ g (N * n + N * k) from SetLike.mul_mem_graded hx hy) } |
| 37 | |
| 38 | theorem veroneseGrading_mem_iff (n : ℕ) (a : Subalgebra.veroneseSubalgebra g N) : |
| 39 | a ∈ veroneseGrading g N n ↔ a.val ∈ g (N * n) := Iff.rfl |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Veronese.Grading |