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.Stable.BalancedFrameIndex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DeterminantProjectivity |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameChartCoordinates |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.ProjectiveOpen |
| 5 | |
| 6 | /-! # Balanced Projective Open -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.BalancedProjectiveOpen |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The stable balanced charts form an actual open subscheme of the |
| 13 | balanced projective scheme. Over a Noetherian coefficient ring this |
| 14 | open has a quasi-projective presentation. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped Classical |
| 17 | universe u |
| 18 | variable (R : Type u) [CommRing R] {r m : ℕ} (i : Fin m) |
| 19 | |
| 20 | def stableBalancedFrameOpen (j : BalancedFrameIndex.StableBalancedFrameIndex.{u} r m) : |
| 21 | (Proj (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i)).Opens := |
| 22 | Proj.basicOpen (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i) |
| 23 | (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement R j.exponent j.balanced) |
| 24 | |
| 25 | def stableBalancedProjectiveOpen : (Proj (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i)).Opens := |
| 26 | ⨆ j : BalancedFrameIndex.StableBalancedFrameIndex.{u} r m, stableBalancedFrameOpen R i j |
| 27 | |
| 28 | def stableBalancedQuotientScheme : Over (Spec (.of R)) := |
| 29 | Over.mk ((stableBalancedProjectiveOpen R (r := r) i).ι ≫ |
| 30 | HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i)) |
| 31 | |
| 32 | def stableBalancedFrameOpenIsoSpec (j : BalancedFrameIndex.StableBalancedFrameIndex.{u} r m) : |
| 33 | (stableBalancedFrameOpen R i j).toScheme ≅ |
| 34 | Spec (.of (Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i j.exponent j.balanced)) := |
| 35 | Proj.basicOpenIsoSpec (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i) |
| 36 | (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement R j.exponent j.balanced) |
| 37 | (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement_mem_grading R j.exponent j.balanced i) |
| 38 | (j.degree_positive i) |
| 39 | |
| 40 | theorem stableBalancedQuotientScheme_quasiProjective [IsNoetherianRing R] (hr : 0 < r) : |
| 41 | Nonempty (Projective.ProjectivePresentations.QuasiProjectivePresentation (stableBalancedQuotientScheme R (r := r) i)) := by |
| 42 | obtain ⟨P⟩ := Balanced.DeterminantProjectivity.balancedDeterminant_projective_presentation R hr i |
| 43 | exact ⟨P.openQuasiProjective (stableBalancedProjectiveOpen R (r := r) i)⟩ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.BalancedProjectiveOpen |