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.Polynomial.Reindex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.MapOverBase |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.GrassmannianProjectivity |
| 5 | |
| 6 | /-! # Space Reindex -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceReindex |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Comparison of finite-coordinate projective space with HilbertConstruction's projective space |
| 14 | indexed by a finite ordinal, including compatibility with arbitrary bases. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R : Type u) [CommRing R] {σ : Type u} {n : ℕ} |
| 22 | |
| 23 | theorem degreeZeroConstants_eq_algebraMap : |
| 24 | (ProjectivePresentations.degreeZeroConstants R n).toRingHom = algebraMap R (ProjectivePresentations.coordinateGrading R n 0) := by |
| 25 | apply RingHom.ext |
| 26 | intro r |
| 27 | rfl |
| 28 | |
| 29 | def affineProjectiveSpaceReindexIso (e : σ ≃ Fin (n + 1)) : |
| 30 | Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Polynomial.Dehomogenization.PolynomialProjective.polynomialGrading σ R)) ≅ |
| 31 | ProjectivePresentations.affineProjectiveSpace R n := |
| 32 | Over.isoMk (Polynomial.Reindex.polynomialProjectiveReindexIso R e) (by |
| 33 | change (Polynomial.Reindex.polynomialProjectiveReindexIso R e).hom ≫ |
| 34 | (Proj.toSpecZero (ProjectivePresentations.coordinateGrading R n) ≫ |
| 35 | Spec.map (CommRingCat.ofHom (ProjectivePresentations.degreeZeroConstants R n).toRingHom)) = _ |
| 36 | rw [degreeZeroConstants_eq_algebraMap] |
| 37 | exact MapOverBase.projectiveMap_over_base _ _ (Polynomial.Reindex.polynomialReindexGraded R e.symm) |
| 38 | (Polynomial.Reindex.polynomialReindexGraded_irrelevant R e.symm) (by |
| 39 | intro r |
| 40 | exact MvPolynomial.rename_C e.symm r)) |
| 41 | |
| 42 | /-- A reindexing identifies relative projective spaces over the same arbitrary base. -/ |
| 43 | def relativeProjectiveSpaceReindexIso (S : Scheme.{u}) (e : σ ≃ Fin (n + 1)) : |
| 44 | Over.mk (HilbertScheme.Presentations.Relative.GrassmannianProjectivity.PolynomialProjective.relativeProjectiveSpaceProjection σ S) ≅ ProjectivePresentations.projectiveSpaceOver S n := |
| 45 | (Over.pullback S.toSpecΓ).mapIso (affineProjectiveSpaceReindexIso Γ(S, ⊤) e) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceReindex |