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.Bounded.HomFinitePoints |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.IntrinsicMonoidHom |
| 3 | |
| 4 | /-! # Intrinsic Hom Finite -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.IntrinsicHomFinite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native homomorphisms of abelian varieties with a fixed embedded graph polynomial form a finite set. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {K : Type u} [Field K] {g h n : ℕ} |
| 19 | variable (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (B : Abelian.Schemes.AbelianScheme h (Spec (.of K))) |
| 20 | variable (j : A.scheme ⊗ B.scheme ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of K)) n) |
| 21 | variable [IsClosedImmersion j.left] (P : Polynomial ℚ) |
| 22 | |
| 23 | theorem boundedNativeAbelianHom_finite : |
| 24 | Finite {f : A.scheme ⟶ B.scheme // IsMonHom f ∧ Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial j P f} := by |
| 25 | let T := (algSpec (.of K)).obj (Opposite.op (CommAlgCat.of K K)) |
| 26 | have : IsIso T.hom := by |
| 27 | change IsIso (Spec.map (𝟙 (CommRingCat.of K))) |
| 28 | infer_instance |
| 29 | have : Finite (MonoidHomParameters.BoundedFamilyMonoidHom j P T) := HomFinitePoints.boundedAbelianHom_finite_fieldPoints A B j P K |
| 30 | exact Finite.of_injective (IntrinsicMonoidHom.boundedNativeMonoidHomToPoint j P T) |
| 31 | (IntrinsicMonoidHom.boundedNativeMonoidHomToPoint_injective j P T) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.IntrinsicHomFinite |