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.Finite.ProjectiveEquationLoci |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.EndomorphismTupleEquations |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ExactSegrePresentation |
| 4 | |
| 5 | /-! # Endomorphism Equations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.EndomorphismEquations.Core |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every source in the finite group-law equation list has a projective |
| 12 | presentation, obtained from the given presentation by the Segre construction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] |
| 18 | variable [Flat A.hom] [IsProper A.hom] [LocallyOfFinitePresentation A.hom] |
| 19 | variable (BA : Has.Core.ProjectivePresentation A) (n : ℕ) |
| 20 | |
| 21 | include BA in |
| 22 | theorem endomorphismTupleEquations_projective_sources : |
| 23 | ∀ r ∈ EndomorphismTupleEquations.Core.endomorphismTupleEquations A n, Nonempty (Has.Core.ProjectivePresentation r.source) := by |
| 24 | intro r hr |
| 25 | obtain ⟨i, rfl⟩ := List.mem_ofFn.mp hr |
| 26 | exact ⟨Relative.SegrePresentation.Core.segreProductPresentation BA BA⟩ |
| 27 | |
| 28 | include BA in |
| 29 | theorem endomorphismTuples_closed_lifts |
| 30 | {M : Over S} [IsLocallyNoetherian M.left] |
| 31 | (φ : yoneda.obj M ⟶ Has.Core.morphismTuples A A n) : |
| 32 | ∃ (Z : Over S) (j : Z ⟶ M), IsClosedImmersion j.left ∧ |
| 33 | ∀ (T : Over S) (x : T ⟶ M), |
| 34 | (∀ i, Endomorphisms.Core.PreservesGroupLaw A (φ.app (.op T) x i)) ↔ |
| 35 | ∃! y : T ⟶ Z, y ≫ j = x := by |
| 36 | obtain ⟨Z, j, hj, htest⟩ := Finite.ProjectiveEquationLoci.Core.finite_projective_equations_closed_lifts |
| 37 | (EndomorphismTupleEquations.Core.endomorphismTupleEquations A n) (endomorphismTupleEquations_projective_sources A BA n) φ |
| 38 | refine ⟨Z, j, hj, ?_⟩ |
| 39 | intro T x |
| 40 | exact (EndomorphismTupleEquations.Core.satisfies_endomorphismTupleEquations_iff A n _).symm.trans (htest T x) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.EndomorphismEquations.Core |