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.RigidParameterDiagonal |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.HomFiberFaithfulness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiProjectiveProducts |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.UnramifiedQuasiFinite |
| 5 | |
| 6 | /-! # Hom Unramified -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.HomUnramified |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual bounded homomorphism parameter between abelian varieties is unramified and finite over the ground field. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {K : Type u} [Field K] {g h n : ℕ} |
| 20 | variable (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (B : Abelian.Schemes.AbelianScheme h (Spec (.of K))) |
| 21 | variable (j : A.scheme ⊗ B.scheme ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of K)) n) |
| 22 | variable [IsClosedImmersion j.left] (P : Polynomial ℚ) |
| 23 | |
| 24 | theorem boundedAbelianHomParameter_formallyUnramified : |
| 25 | FormallyUnramified (MonoidHomParameters.boundedFamilyMonoidHomParameter j P).hom := by |
| 26 | let Q := MonoidHomParameters.boundedFamilyMonoidHomParameterQuasiProjectivePresentation j P |
| 27 | have : IsNoetherian (pullback (MonoidHomParameters.boundedFamilyMonoidHomParameter j P).hom |
| 28 | (MonoidHomParameters.boundedFamilyMonoidHomParameter j P).hom) := (Q.product Q).noetherian |
| 29 | apply RigidParameterDiagonal.fieldFaithfulParameter_formallyUnramified |
| 30 | intro F _ T _ s a b hab |
| 31 | exact HomFiberFaithfulness.boundedAbelianHomParameter_field_faithful A B j P T s a b hab |
| 32 | |
| 33 | theorem boundedAbelianHomParameter_locallyQuasiFinite : |
| 34 | LocallyQuasiFinite (MonoidHomParameters.boundedFamilyMonoidHomParameter j P).hom := by |
| 35 | have := boundedAbelianHomParameter_formallyUnramified A B j P |
| 36 | have := (MonoidHomParameters.boundedFamilyMonoidHomParameterQuasiProjectivePresentation j P).locallyFiniteType |
| 37 | exact UnramifiedQuasiFinite.locallyQuasiFinite_of_unramified _ |
| 38 | |
| 39 | theorem boundedAbelianHomParameter_finite : |
| 40 | IsFinite (MonoidHomParameters.boundedFamilyMonoidHomParameter j P).hom := by |
| 41 | have := boundedAbelianHomParameter_locallyQuasiFinite A B j P |
| 42 | have := (MonoidHomParameters.boundedFamilyMonoidHomParameterQuasiProjectivePresentation j P).quasiCompact |
| 43 | exact IsFinite.of_locallyQuasiFinite _ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.HomUnramified |