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.RepresentedProperEquationLocus |
| 3 | |
| 4 | /-! # Endomorphism Equation Package -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.EndomorphismEquationPackage.Core |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The full endomorphism/equation package for arbitrary finite systems |
| 11 | of natural equations with proper flat sources. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 17 | variable (A : Over S) [GrpObj A] |
| 18 | variable [Flat A.hom] [IsProper A.hom] [LocallyOfFinitePresentation A.hom] |
| 19 | variable {B : Has.Core.ProjectivePresentation (A ⨯ A)} {n : ℕ} {P : Fin n → Polynomial ℚ} |
| 20 | |
| 21 | theorem endomorphismEquationLoci_of_proper_sources |
| 22 | (BA : Has.Core.ProjectivePresentation A) (L : Loci.Core.HilbertHomLoci A A B n P) |
| 23 | (R : Endomorphisms.Core.FiniteEndomorphismEquations A n) : |
| 24 | Nonempty (Loci.Core.EndomorphismEquationLoci A B n P L R) := by |
| 25 | obtain ⟨E, j, hj, e, he⟩ := L.endomorphism_closed_locus A BA |
| 26 | let : IsClosedImmersion j.left := hj |
| 27 | let : LocallyOfFiniteType L.homScheme.hom := L.hom_finiteType |
| 28 | let : IsLocallyNoetherian L.homScheme.left := |
| 29 | LocallyOfFiniteType.isLocallyNoetherian L.homScheme.hom |
| 30 | let : IsLocallyNoetherian E.left := LocallyOfFiniteType.isLocallyNoetherian j.left |
| 31 | obtain ⟨Z, k, hk, e', he'⟩ := RepresentedProperEquationLocus.Core.represented_proper_equation_locus |
| 32 | (EndomorphismPolynomialSubfunctors.Core.endomorphismPolynomialSubfunctor A n B P) e R |
| 33 | exact ⟨{ |
| 34 | endScheme := E |
| 35 | solutionScheme := Z |
| 36 | endLocus := EndomorphismPolynomialSubfunctors.Core.endomorphismPolynomialSubfunctor A n B P |
| 37 | solutionLocus := EndomorphismPolynomialSubfunctors.Core.endomorphismPolynomialSolutionSubfunctor A n B P R |
| 38 | end_mem := fun _ _ => Iff.rfl |
| 39 | solution_mem := fun _ _ => Iff.rfl |
| 40 | endEquivalence := e |
| 41 | solutionEquivalence := e' |
| 42 | forgetGroup := j |
| 43 | forgetEquations := k |
| 44 | group_closed := hj |
| 45 | equations_closed := hk |
| 46 | group_compatibility := he |
| 47 | equations_compatibility := he' }⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.EndomorphismEquationPackage.Core |