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.Normalized.GraphPolynomial |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.EmbeddingIntrinsic |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.TwistingBundle |
| 4 | |
| 5 | /-! # Graph Embedding Polynomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.GraphEmbeddingPolynomial.PolarizedAbelianWithLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Each actual graph-power embedding has the specified type polynomial, |
| 12 | including its full Hilbert condition after every extension of the ground field. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 19 | |
| 20 | local instance : Flat (Over.mk A.abelian.scheme.hom).hom := |
| 21 | inferInstanceAs (Flat A.abelian.scheme.hom) |
| 22 | local instance : LocallyOfFinitePresentation (Over.mk A.abelian.scheme.hom).hom := |
| 23 | inferInstanceAs (LocallyOfFinitePresentation A.abelian.scheme.hom) |
| 24 | |
| 25 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_powerEmbedding_hilbertPolynomial |
| 26 | (hg : 0 < g) (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) |
| 27 | (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding A.graphBundle A.abelian.scheme.hom) : |
| 28 | letI : IsClosedImmersion |
| 29 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers).left := E.closedImmersion |
| 30 | ∀ (F : Type u) [Field F] (x : Spec (.of F) ⟶ Spec (.of K)), |
| 31 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial ((Closed.Families.FlatClosedFamily.ofEmbedding |
| 32 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers)).affineProjectivePullback x).homogeneousIdeal.toIdeal |
| 33 | ((GraphPolynomial.normalizedGraphHilbertPolynomial g δ).comp |
| 34 | (Polynomial.C (E.degree : ℚ) * Polynomial.X)) := by |
| 35 | let : IsClosedImmersion |
| 36 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers).left := E.closedImmersion |
| 37 | have : Flat (Over.mk A.abelian.scheme.hom).hom := inferInstanceAs (Flat A.abelian.scheme.hom) |
| 38 | have : LocallyOfFinitePresentation (Over.mk A.abelian.scheme.hom).hom := |
| 39 | inferInstanceAs (LocallyOfFinitePresentation A.abelian.scheme.hom) |
| 40 | let M := (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) E.dimension).pullback |
| 41 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers).left |
| 42 | let e : M.sheaf ≅ (A.graphBundle.tensorPower E.degree).sheaf := |
| 43 | E.twistingBundleIso A.abelian.scheme.hom ≪≫ |
| 44 | (E.isPower.unique (A.graphBundle.tensorPower_isTensorPower E.degree)).some |
| 45 | apply (Relative.EmbeddingIntrinsic.relativeEmbedding_hilbertPolynomial_iff |
| 46 | (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom E.sections E.covers) _).mpr |
| 47 | exact (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_sheafIso A.abelian.scheme.hom |
| 48 | M (A.graphBundle.tensorPower E.degree) e _).mpr |
| 49 | (A.graphBundle_positivePower_normalized_hilbertPolynomial hg hN hNk E.degree E.degree_pos) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.GraphEmbeddingPolynomial.PolarizedAbelianWithLevel |