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.HilbertScheme.Presentations.Segre.Open |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Endomorphisms |
| 3 | |
| 4 | /-! # Loci -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Loci.Core |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Complete existence packages used only in Presentations theorem conclusions. The |
| 11 | subfunctors are identified with the stated geometric predicates on every test |
| 12 | scheme, and all representing equivalences are natural isomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (X Y : Over S) |
| 18 | variable [Flat X.hom] [IsProper X.hom] [LocallyOfFinitePresentation X.hom] |
| 19 | variable [IsSeparated Y.hom] |
| 20 | |
| 21 | /-- All assertions of relative Hilbert/Hom representability and the open graph |
| 22 | locus. This is output data; none of these fields is a theorem hypothesis. -/ |
| 23 | structure HilbertHomLoci (B : Has.Core.ProjectivePresentation (X ⨯ Y)) |
| 24 | (n : ℕ) (P : Fin n → Polynomial ℚ) where |
| 25 | hilbert : Over S |
| 26 | homScheme : Over S |
| 27 | hilbertLocus : Subfunctor (Has.Core.hilbertTuples X Y n) |
| 28 | morphismLocus : Subfunctor (Has.Core.morphismTuples X Y n) |
| 29 | hilbert_mem : ∀ (T : Over S) (I : (Has.Core.hilbertTuples X Y n).obj (.op T)), |
| 30 | I ∈ hilbertLocus.obj (.op T) ↔ Has.Core.HasHilbertPolynomials X Y n B P I |
| 31 | morphism_mem : ∀ (T : Over S) (f : (Has.Core.morphismTuples X Y n).obj (.op T)), |
| 32 | f ∈ morphismLocus.obj (.op T) ↔ Has.Core.HasGraphPolynomials X Y n B P f |
| 33 | hilbertEquivalence : yoneda.obj hilbert ≅ hilbertLocus.toFunctor |
| 34 | morphismEquivalence : yoneda.obj homScheme ≅ morphismLocus.toFunctor |
| 35 | projective : Has.Core.IsProjectiveOver hilbert |
| 36 | hom_finiteType : LocallyOfFiniteType homScheme.hom |
| 37 | graphInclusion : homScheme ⟶ hilbert |
| 38 | graph_open : IsOpenImmersion graphInclusion.left |
| 39 | graph_compatibility : morphismEquivalence.hom ≫ morphismLocus.ι ≫ Has.Core.graphs X Y n = |
| 40 | yoneda.map graphInclusion ≫ hilbertEquivalence.hom ≫ hilbertLocus.ι |
| 41 | graph_image : ∀ (T : Over S) (x : T ⟶ hilbert), |
| 42 | Has.Core.IsGraphTuple X Y n (hilbertEquivalence.hom.app (.op T) x).val ↔ |
| 43 | ∃! y : T ⟶ homScheme, y ≫ graphInclusion = x |
| 44 | |
| 45 | variable (A : Over S) [GrpObj A] |
| 46 | variable [Flat A.hom] [IsProper A.hom] [LocallyOfFinitePresentation A.hom] |
| 47 | variable [IsSeparated A.hom] |
| 48 | |
| 49 | /-- Closed group-compatibility and finite-equation loci in the actual graph |
| 50 | locus. Equations are imposed scheme-theoretically, on arbitrary test schemes. -/ |
| 51 | structure EndomorphismEquationLoci (B : Has.Core.ProjectivePresentation (A ⨯ A)) |
| 52 | (n : ℕ) (P : Fin n → Polynomial ℚ) (L : HilbertHomLoci A A B n P) |
| 53 | (R : Endomorphisms.Core.FiniteEndomorphismEquations A n) where |
| 54 | endScheme : Over S |
| 55 | solutionScheme : Over S |
| 56 | endLocus : Subfunctor (Endomorphisms.Core.endomorphismTuples A n) |
| 57 | solutionLocus : Subfunctor (Endomorphisms.Core.endomorphismTuples A n) |
| 58 | end_mem : ∀ (T : Over S) (f : (Endomorphisms.Core.endomorphismTuples A n).obj (.op T)), |
| 59 | f ∈ endLocus.obj (.op T) ↔ |
| 60 | Has.Core.HasGraphPolynomials A A n B P ((Endomorphisms.Core.forgetGroupLaw A n).app (.op T) f) |
| 61 | solution_mem : ∀ (T : Over S) (f : (Endomorphisms.Core.endomorphismTuples A n).obj (.op T)), |
| 62 | f ∈ solutionLocus.obj (.op T) ↔ |
| 63 | Has.Core.HasGraphPolynomials A A n B P ((Endomorphisms.Core.forgetGroupLaw A n).app (.op T) f) ∧ |
| 64 | Endomorphisms.Core.SatisfiesEquations R f |
| 65 | endEquivalence : yoneda.obj endScheme ≅ endLocus.toFunctor |
| 66 | solutionEquivalence : yoneda.obj solutionScheme ≅ solutionLocus.toFunctor |
| 67 | forgetGroup : endScheme ⟶ L.homScheme |
| 68 | forgetEquations : solutionScheme ⟶ endScheme |
| 69 | group_closed : IsClosedImmersion forgetGroup.left |
| 70 | equations_closed : IsClosedImmersion forgetEquations.left |
| 71 | group_compatibility : endEquivalence.hom ≫ endLocus.ι ≫ Endomorphisms.Core.forgetGroupLaw A n = |
| 72 | yoneda.map forgetGroup ≫ L.morphismEquivalence.hom ≫ L.morphismLocus.ι |
| 73 | equations_compatibility : solutionEquivalence.hom ≫ solutionLocus.ι = |
| 74 | yoneda.map forgetEquations ≫ endEquivalence.hom ≫ endLocus.ι |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Loci.Core |