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.Embedded.HomFieldDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.IsomorphismUniquenessOverField |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 4 | |
| 5 | /-! # Rigidity Projective Base -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.RigidityProjectiveBase |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual polarized isomorphisms preserving a full level of degree at least three are unique over locally noetherian bases when the abelian schemes admit projective presentations. Nonreduced bases are included. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {g N : ℕ} {δ : Fin g → ℕ} |
| 19 | variable (A B : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 20 | |
| 21 | theorem polarizedIsomorphisms_subsingleton_of_productEmbedding {n : ℕ} |
| 22 | (j : A.abelian.scheme ⊗ B.abelian.scheme ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) |
| 23 | [IsClosedImmersion j.left] (hN : 3 ≤ N) : Subsingleton (Moduli.Isomorphisms.LevelPreservingIso A B) := by |
| 24 | refine ⟨fun e d => ?_⟩ |
| 25 | apply Moduli.Isomorphisms.LevelPreservingIso.ext_abelian e d |
| 26 | apply Embedded.HomFieldDetection.embeddedAbelianHom_eq_of_fieldPullbacks A.abelian B.abelian j |
| 27 | intro K _ b |
| 28 | have := IsomorphismUniquenessOverField.polarizedIsomorphisms_subsingleton_overField (A.pullback b) (B.pullback b) hN |
| 29 | exact congrArg (fun f : Moduli.Isomorphisms.LevelPreservingIso (A.pullback b) (B.pullback b) => f.abelian.hom) |
| 30 | (Subsingleton.elim (e.pullback b) (d.pullback b)) |
| 31 | |
| 32 | theorem polarizedIsomorphisms_subsingleton_of_projectivePresentations |
| 33 | (PA : Projective.ProjectivePresentations.ProjectivePresentation A.abelian.scheme) (PB : Projective.ProjectivePresentations.ProjectivePresentation B.abelian.scheme) |
| 34 | (hN : 3 ≤ N) : Subsingleton (Moduli.Isomorphisms.LevelPreservingIso A B) := |
| 35 | polarizedIsomorphisms_subsingleton_of_productEmbedding A B (PA.product PB).embedding hN |
| 36 | |
| 37 | theorem polarizedIsomorphisms_subsingleton_of_sourceProjective |
| 38 | (PA : Projective.ProjectivePresentations.ProjectivePresentation A.abelian.scheme) (hN : 3 ≤ N) : |
| 39 | Subsingleton (Moduli.Isomorphisms.LevelPreservingIso A B) := by |
| 40 | refine ⟨fun e d => ?_⟩ |
| 41 | let PB := PA.ofSourceIso e.abelian.symm |
| 42 | have := polarizedIsomorphisms_subsingleton_of_projectivePresentations A B PA PB hN |
| 43 | exact Subsingleton.elim e d |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.RigidityProjectiveBase |