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.Finite.ConstantMonoidIsoParameters |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.LevelPullbackGeometry |
| 3 | |
| 4 | /-! # Level Parameters -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual full-level parameters for an abelian scheme over a Noetherian base. A projective presentation of the abelian family gives a quasi-projective parameter, with full levels classified on every test scheme and an actual universal full level. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | abbrev Projective.LevelParameters.fullLevelLabels (g N : ℕ) := ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) |
| 19 | |
| 20 | local instance Projective.LevelParameters.fullLevelLabelGroup (g N : ℕ) (S : Scheme.{u}) : |
| 21 | GrpObj (ConstantScheme.Iff.constantScheme S (Projective.LevelParameters.fullLevelLabels g N)) := Geometric.GeometricLevel.constantFullLevelScheme_group g N S |
| 22 | |
| 23 | theorem Projective.LevelParameters.monoidUnit_closedImmersion {S : Scheme.{u}} (X : Over S) [MonObj X] [IsSeparated X.hom] : |
| 24 | IsClosedImmersion η[X].left := by |
| 25 | have : IsClosedImmersion (η[X].left ≫ X.hom) := by |
| 26 | rw [η[X].w] |
| 27 | exact inferInstanceAs (IsClosedImmersion (𝟙 S)) |
| 28 | exact IsClosedImmersion.of_comp _ X.hom |
| 29 | |
| 30 | variable {g : ℕ} {S : Scheme.{u}} [IsNoetherian S] (A : Abelian.Schemes.AbelianScheme g S) (N : ℕ) [NeZero N] |
| 31 | |
| 32 | def Abelian.Schemes.AbelianScheme.fullLevelParameter : Over S := |
| 33 | Finite.ConstantMonoidIsoParameters.finiteConstantMonoidIsoParameter (A.torsionScheme N) (Projective.LevelParameters.fullLevelLabels g N) |
| 34 | |
| 35 | def Abelian.Schemes.AbelianScheme.fullLevelParameterPointEquiv (T : Over S) : |
| 36 | (T ⟶ A.fullLevelParameter N) ≃ (A.pullback T.hom).FullLevel N := |
| 37 | (Finite.ConstantMonoidIsoParameters.finiteConstantMonoidIsoParameterPointEquiv (A.torsionScheme N) (Projective.LevelParameters.fullLevelLabels g N) T).trans |
| 38 | ((GroupIsomorphismData.groupIsoMorphismEquiv ((Over.pullback T.hom).obj (Level.Scheme.constantFullLevelScheme g N S)) |
| 39 | ((Over.pullback T.hom).obj (A.torsionScheme N))).symm.trans |
| 40 | (Abelian.Schemes.AbelianScheme.FullLevel.baseChangeGeometricEquiv A N T.hom).symm) |
| 41 | |
| 42 | def Abelian.Schemes.AbelianScheme.fullLevelParameterQuasiProjectivePresentation (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) : |
| 43 | Projective.ProjectivePresentations.QuasiProjectivePresentation (A.fullLevelParameter N) := by |
| 44 | let : IsClosedImmersion η[A.torsionScheme N].left := Projective.LevelParameters.monoidUnit_closedImmersion (A.torsionScheme N) |
| 45 | exact Finite.ConstantMonoidIsoParameters.finiteConstantMonoidIsoParameterQuasiProjectivePresentation |
| 46 | (A.torsionScheme N) (Projective.LevelParameters.fullLevelLabels g N) (P.ofClosedImmersion (A.torsionInclusion N)) η[A.torsionScheme N] |
| 47 | |
| 48 | def Abelian.Schemes.AbelianScheme.universalFullLevel : (A.pullback (A.fullLevelParameter N).hom).FullLevel N := |
| 49 | A.fullLevelParameterPointEquiv N _ (𝟙 _) |
| 50 | |
| 51 | theorem Abelian.Schemes.AbelianScheme.fullLevel_quasiProjective_point_classification (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) : |
| 52 | ∃ M : Over S, Nonempty (Projective.ProjectivePresentations.QuasiProjectivePresentation M) ∧ |
| 53 | Nonempty ((A.pullback M.hom).FullLevel N) ∧ |
| 54 | ∀ T : Over S, Nonempty ((T ⟶ M) ≃ (A.pullback T.hom).FullLevel N) := |
| 55 | ⟨A.fullLevelParameter N, ⟨A.fullLevelParameterQuasiProjectivePresentation N P⟩, |
| 56 | ⟨A.universalFullLevel N⟩, fun T => ⟨A.fullLevelParameterPointEquiv N T⟩⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |