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.Generated.TensorEulerPolynomial |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.IsoGeneratedFactors |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.EmbeddingProjectiveQuotient |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.ProjectiveEmbeddings |
| 5 | |
| 6 | /-! # Line Bundle Euler Polynomial -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual projective embeddings supply the generated factors used to prove polynomiality of every line-bundle Euler sequence. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | theorem Projective.LineBundleEulerPolynomial.lineBundle_eulerPolynomial_of_projectiveIso |
| 17 | {K : Type u} [Field K] {n : ℕ} {X : Scheme.{u}} |
| 18 | (p : X ⟶ Spec (.of K)) [IsProper p] |
| 19 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K n)) (e : X ≅ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 20 | (L : Line.Bundles.LineBundle X) : |
| 21 | ∃ P : Polynomial ℚ, ∀ m : ℕ, |
| 22 | P.eval (m : ℚ) = (CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensorPower m).sheaf : ℚ) := by |
| 23 | obtain ⟨H, hH, hLH⟩ := Projective.IsoGeneratedFactors.lineBundle_two_generated_factors_of_projectiveIso I e L |
| 24 | exact Generated.TensorEulerPolynomial.lineBundle_eulerPolynomial_of_two_generated p L H hH hLH |
| 25 | |
| 26 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.lineBundle_eulerPolynomial |
| 27 | {K : Type u} [Field K] {X : Scheme.{u}} |
| 28 | (p : X ⟶ Spec (.of K)) [IsProper p] [Flat p] [LocallyOfFinitePresentation p] |
| 29 | {L : Line.Bundles.LineBundle X} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) (M : Line.Bundles.LineBundle X) : |
| 30 | ∃ P : Polynomial ℚ, ∀ m : ℕ, |
| 31 | P.eval (m : ℚ) = (CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (M.tensorPower m).sheaf : ℚ) := by |
| 32 | have : IsClosedImmersion (SectionsProjectiveMorphism.sectionProjectiveMorphism p E.sections E.covers).left := |
| 33 | E.closedImmersion |
| 34 | have : Flat (Over.mk p).hom := inferInstanceAs (Flat p) |
| 35 | have : LocallyOfFinitePresentation (Over.mk p).hom := |
| 36 | inferInstanceAs (LocallyOfFinitePresentation p) |
| 37 | obtain ⟨I, ⟨e⟩⟩ := Relative.EmbeddingProjectiveQuotient.relativeEmbedding_has_projectiveQuotient_iso |
| 38 | (SectionsProjectiveMorphism.sectionProjectiveMorphism p E.sections E.covers) |
| 39 | exact Projective.LineBundleEulerPolynomial.lineBundle_eulerPolynomial_of_projectiveIso p I e M |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |