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.Moduli.Coherence |
| 2 | |
| 3 | /-! # Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The presheaf of isomorphism classes of polarized abelian schemes with full level. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {g N : ℕ} {δ : Fin g → ℕ} {S S' S'' : Scheme.{u}} |
| 16 | |
| 17 | /-- The moduli class of an actual polarized abelian scheme with full level. -/ |
| 18 | def PolarizationData.PolarizedAbelianWithFullLevel.classOf (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) : |
| 19 | Moduli.Isomorphisms.PolarizedLevelClasses g δ N S := Quotient.mk _ A |
| 20 | |
| 21 | /-- Equality of moduli classes means an actual level-preserving isomorphism exists. -/ |
| 22 | theorem PolarizationData.PolarizedAbelianWithFullLevel.classOf_eq_iff |
| 23 | (A B : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) : |
| 24 | A.classOf = B.classOf ↔ Nonempty (Moduli.Isomorphisms.LevelPreservingIso A B) := |
| 25 | Quotient.eq |
| 26 | |
| 27 | @[simp] |
| 28 | theorem Moduli.Isomorphisms.PolarizedLevelClasses.pullback_classOf (f : S' ⟶ S) |
| 29 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) : |
| 30 | Moduli.Isomorphisms.PolarizedLevelClasses.pullback f A.classOf = (A.pullback f).classOf := rfl |
| 31 | |
| 32 | @[simp] |
| 33 | theorem Moduli.Isomorphisms.PolarizedLevelClasses.pullback_id (q : Moduli.Isomorphisms.PolarizedLevelClasses g δ N S) : |
| 34 | Moduli.Isomorphisms.PolarizedLevelClasses.pullback (𝟙 S) q = q := by |
| 35 | induction q using Quotient.inductionOn with |
| 36 | | h A => exact Quotient.sound ⟨Moduli.Isomorphisms.LevelPreservingIso.pullbackId A⟩ |
| 37 | |
| 38 | /-- The contravariant composition law holds on moduli classes. -/ |
| 39 | theorem Moduli.Isomorphisms.PolarizedLevelClasses.pullback_comp (f : S' ⟶ S) (h : S'' ⟶ S') |
| 40 | (q : Moduli.Isomorphisms.PolarizedLevelClasses g δ N S) : |
| 41 | Moduli.Isomorphisms.PolarizedLevelClasses.pullback (h ≫ f) q = Moduli.Isomorphisms.PolarizedLevelClasses.pullback h (Moduli.Isomorphisms.PolarizedLevelClasses.pullback f q) := by |
| 42 | induction q using Quotient.inductionOn with |
| 43 | | h A => exact Quotient.sound ⟨(Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A f h).symm⟩ |
| 44 | |
| 45 | /-- The moduli presheaf with arbitrary ordered full level. -/ |
| 46 | def Moduli.Functor.polarizedLevelModuli (g : ℕ) (δ : Fin g → ℕ) (N : ℕ) : |
| 47 | Scheme.{u}ᵒᵖ ⥤ Type (u + 1) where |
| 48 | obj S := Moduli.Isomorphisms.PolarizedLevelClasses g δ N S.unop |
| 49 | map f := TypeCat.ofHom (Moduli.Isomorphisms.PolarizedLevelClasses.pullback f.unop) |
| 50 | map_id S := by |
| 51 | ext q |
| 52 | exact Moduli.Isomorphisms.PolarizedLevelClasses.pullback_id q |
| 53 | map_comp f h := by |
| 54 | ext q |
| 55 | exact Moduli.Isomorphisms.PolarizedLevelClasses.pullback_comp f.unop h.unop q |
| 56 | |
| 57 | /-- The moduli problem restricted to schemes over a fixed base. -/ |
| 58 | def Moduli.Functor.polarizedLevelModuliOver (g : ℕ) (δ : Fin g → ℕ) (N : ℕ) (S : Scheme.{u}) : |
| 59 | (Over S)ᵒᵖ ⥤ Type (u + 1) := |
| 60 | (Over.forget S).op ⋙ Moduli.Functor.polarizedLevelModuli g δ N |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |