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.Polynomial.EndomorphismClosedLocus |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedProjectiveEquationLocus |
| 3 | |
| 4 | /-! # Endomorphism Equation Package -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.EndomorphismEquationPackage.Core |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Assemble the statement's complete endomorphism/equation package |
| 11 | when the supplied equation sources have projective presentations. The general |
| 12 | proper-source assertion is separate from this proved projective-source case. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 18 | variable (A : Over S) [GrpObj A] |
| 19 | variable [Flat A.hom] [IsProper A.hom] [LocallyOfFinitePresentation A.hom] |
| 20 | variable {B : Has.Core.ProjectivePresentation (A ⨯ A)} {n : ℕ} {P : Fin n → Polynomial ℚ} |
| 21 | |
| 22 | theorem endomorphismEquationLoci_of_projective_sources |
| 23 | (BA : Has.Core.ProjectivePresentation A) (L : Loci.Core.HilbertHomLoci A A B n P) |
| 24 | (R : Endomorphisms.Core.FiniteEndomorphismEquations A n) |
| 25 | (hR : ∀ r ∈ R, Nonempty (Has.Core.ProjectivePresentation r.source)) : |
| 26 | Nonempty (Loci.Core.EndomorphismEquationLoci A B n P L R) := by |
| 27 | obtain ⟨E, j, hj, e, he⟩ := L.endomorphism_closed_locus A BA |
| 28 | let : IsClosedImmersion j.left := hj |
| 29 | let : LocallyOfFiniteType L.homScheme.hom := L.hom_finiteType |
| 30 | let : IsLocallyNoetherian L.homScheme.left := |
| 31 | LocallyOfFiniteType.isLocallyNoetherian L.homScheme.hom |
| 32 | let : IsLocallyNoetherian E.left := LocallyOfFiniteType.isLocallyNoetherian j.left |
| 33 | obtain ⟨Z, k, hk, e', he'⟩ := RepresentedProjectiveEquationLocus.Core.represented_projective_equation_locus |
| 34 | (EndomorphismPolynomialSubfunctors.Core.endomorphismPolynomialSubfunctor A n B P) e R hR |
| 35 | exact ⟨{ |
| 36 | endScheme := E |
| 37 | solutionScheme := Z |
| 38 | endLocus := EndomorphismPolynomialSubfunctors.Core.endomorphismPolynomialSubfunctor A n B P |
| 39 | solutionLocus := EndomorphismPolynomialSubfunctors.Core.endomorphismPolynomialSolutionSubfunctor A n B P R |
| 40 | end_mem := fun _ _ => Iff.rfl |
| 41 | solution_mem := fun _ _ => Iff.rfl |
| 42 | endEquivalence := e |
| 43 | solutionEquivalence := e' |
| 44 | forgetGroup := j |
| 45 | forgetEquations := k |
| 46 | group_closed := hj |
| 47 | equations_closed := hk |
| 48 | group_compatibility := he |
| 49 | equations_compatibility := he' }⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.EndomorphismEquationPackage.Core |