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.Level.PullbackPreservationCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.MorphismEqualityParameters |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ConstantScheme |
| 4 | |
| 5 | /-! # Morphism Preservation Parameters -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.MorphismPreservationParameters |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full-level preservation by a family morphism is represented by a specified closed parameter scheme, with its exact all-test-scheme condition and a quasi-projective presentation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} (M : Over S) [IsLocallyNoetherian M.left] |
| 18 | variable {g N : ℕ} [NeZero N] (A B : Abelian.Schemes.AbelianScheme g M.left) |
| 19 | variable (l : A.FullLevel N) (k : B.FullLevel N) (f : A.scheme ⟶ B.scheme) |
| 20 | |
| 21 | local instance fullLevelConstant_proper : IsProper (Level.Scheme.constantFullLevelScheme g N M.left).hom := |
| 22 | Finite.ConstantScheme.constantScheme_proper |
| 23 | |
| 24 | local instance fullLevelConstant_flat : Flat (Level.Scheme.constantFullLevelScheme g N M.left).hom := by |
| 25 | have : Etale (Level.Scheme.constantFullLevelScheme g N M.left).hom := Level.Scheme.constantScheme_etale _ _ |
| 26 | infer_instance |
| 27 | |
| 28 | def fullLevelMorphismPreservingParameter : Over S := |
| 29 | Proper.MorphismEqualityParameters.properMorphismEqualityParameter M (l.schemeIso.hom ≫ A.torsionInclusion N ≫ f) |
| 30 | (k.schemeIso.hom ≫ B.torsionInclusion N) |
| 31 | |
| 32 | def fullLevelMorphismPreservingParameterInclusion : fullLevelMorphismPreservingParameter M A B l k f ⟶ M := |
| 33 | Proper.MorphismEqualityParameters.properMorphismEqualityParameterInclusion _ _ _ |
| 34 | |
| 35 | instance fullLevelMorphismPreservingParameterInclusion_closed : |
| 36 | IsClosedImmersion (fullLevelMorphismPreservingParameterInclusion M A B l k f).left := |
| 37 | Proper.MorphismEqualityParameters.properMorphismEqualityParameterInclusion_closed _ _ _ |
| 38 | |
| 39 | def FullLevelMorphismPreservingPoint (T : Over S) := |
| 40 | {c : T ⟶ M // ∀ (U : Over T.left) |
| 41 | (z : LocallyConstant U.left (Multiplicative (Fin (2 * g) → ZMod N))), |
| 42 | ((l.pullback c.left).hom.app (.op U) z).val ≫ (Over.pullback c.left).map f = |
| 43 | ((k.pullback c.left).hom.app (.op U) z).val} |
| 44 | |
| 45 | def fullLevelMorphismPreservingParameterPointEquiv (T : Over S) : |
| 46 | (T ⟶ fullLevelMorphismPreservingParameter M A B l k f) ≃ FullLevelMorphismPreservingPoint M A B l k f T := |
| 47 | (Proper.MorphismEqualityParameters.properMorphismEqualityParameterPointEquiv M (l.schemeIso.hom ≫ A.torsionInclusion N ≫ f) |
| 48 | (k.schemeIso.hom ≫ B.torsionInclusion N) T).trans |
| 49 | { toFun c := ⟨c.val, (PullbackPreservationCriterion.fullLevel_pullback_preserves_iff l k f c.val.left).mp c.property⟩ |
| 50 | invFun c := ⟨c.val, (PullbackPreservationCriterion.fullLevel_pullback_preserves_iff l k f c.val.left).mpr c.property⟩ |
| 51 | left_inv _ := Subtype.ext rfl |
| 52 | right_inv _ := Subtype.ext rfl } |
| 53 | |
| 54 | def fullLevelMorphismPreservingParameterQuasiProjectivePresentation [IsNoetherian S] |
| 55 | (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation M) : Projective.ProjectivePresentations.QuasiProjectivePresentation (fullLevelMorphismPreservingParameter M A B l k f) := |
| 56 | Proper.MorphismEqualityParameters.properMorphismEqualityParameterQuasiProjectivePresentation _ _ _ Q |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.MorphismPreservationParameters |