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 Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 3 | import Mathlib.RingTheory.MvPolynomial.Homogeneous |
| 4 | |
| 5 | /-! # Projectivity -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projectivity.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: stable geometric projectivity predicate |
| 13 | |
| 14 | Projectivity is a closed immersion into the actual finite-dimensional |
| 15 | projective space over the base. These definitions are shared by the |
| 16 | source statement and the developing comparison proof. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | variable (k : Type*) [CommRing k] |
| 22 | |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | |
| 25 | /-- Projective n-space as the projective spectrum of the standard graded |
| 26 | polynomial ring in n + 1 variables. -/ |
| 27 | def projectiveSpace (n : ℕ) : Scheme := |
| 28 | Proj (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) k) |
| 29 | |
| 30 | /-- The canonical structure morphism of projective n-space over k. -/ |
| 31 | def projectiveSpaceToSpec (n : ℕ) : |
| 32 | projectiveSpace k n ⟶ Spec (CommRingCat.of k) := |
| 33 | Proj.toSpecZero (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) k) ≫ |
| 34 | Spec.map (CommRingCat.ofHom |
| 35 | (algebraMap k (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) k 0))) |
| 36 | |
| 37 | /-- The geometric projectivity predicate required by IntegralComparison. It asserts an |
| 38 | actual closed immersion into a finite-dimensional projective space over k. -/ |
| 39 | def ProjectiveOver {X : Scheme} (f : X ⟶ Spec (CommRingCat.of k)) : Prop := |
| 40 | ∃ (n : ℕ) (ι : X ⟶ projectiveSpace k n), |
| 41 | IsClosedImmersion ι ∧ ι ≫ projectiveSpaceToSpec k n = f |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projectivity.Construction |