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.Homogeneous.QuotientFlatness |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.Projective |
| 3 | |
| 4 | /-! # Reconstructed Projective Families -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Actual proper projective families reconstructed from compatible degree relations. |
| 12 | Flatness of every degree quotient implies flatness of the projective structure |
| 13 | morphism, checked on its standard homogeneous affine charts. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R σ : Type u} [CommRing R] |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | variable (D : GradedIdealReconstruction.GradedIdealRelations R σ) |
| 23 | |
| 24 | def GradedIdealReconstruction.GradedIdealRelations.projectiveFamily : Over (Spec (CommRingCat.of R)) := |
| 25 | Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.quotientGrading D.toHomogeneousIdeal)) |
| 26 | |
| 27 | instance GradedIdealReconstruction.GradedIdealRelations.projectiveFamily_proper [Finite σ] : IsProper D.projectiveFamily.hom := |
| 28 | HilbertScheme.Presentations.Polynomial.Projective.PolynomialProjective.projectiveQuotient_proper D.toHomogeneousIdeal |
| 29 | |
| 30 | def GradedIdealReconstruction.GradedIdealRelations.projectiveFamilyEmbedding : D.projectiveFamily ⟶ |
| 31 | Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (MvPolynomial.homogeneousSubmodule σ R)) := |
| 32 | Over.homMk (HilbertScheme.Presentations.Homogeneous.ProjectiveQuotient.HomogeneousQuotient.projectiveQuotientInclusion D.toHomogeneousIdeal) |
| 33 | (HilbertScheme.Presentations.Polynomial.Projective.PolynomialProjective.projectiveQuotientInclusion_over D.toHomogeneousIdeal) |
| 34 | |
| 35 | instance GradedIdealReconstruction.GradedIdealRelations.projectiveFamilyEmbedding_closed : IsClosedImmersion D.projectiveFamilyEmbedding.left := |
| 36 | HilbertScheme.Presentations.Homogeneous.ProjectiveQuotient.HomogeneousQuotient.projectiveQuotientInclusion_isClosedImmersion D.toHomogeneousIdeal |
| 37 | |
| 38 | theorem GradedIdealReconstruction.GradedIdealRelations.quotientDegree_flat |
| 39 | (h : ∀ d, Module.Flat R (MvPolynomial.homogeneousSubmodule σ R d ⧸ D.piece d)) (d : ℕ) : |
| 40 | Module.Flat R (HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.quotientGrading D.toHomogeneousIdeal d) := by |
| 41 | have hd : Module.Flat R (MvPolynomial.homogeneousSubmodule σ R d ⧸ |
| 42 | Homogeneous.IdealIncidence.homogeneousDegreeRelations D.toHomogeneousIdeal d) := by |
| 43 | rw [D.toHomogeneousIdeal_degree] |
| 44 | exact h d |
| 45 | exact (Module.Flat.equiv_iff (Homogeneous.QuotientFlatness.homogeneousDegreeQuotientEquiv D.toHomogeneousIdeal d)).mp hd |
| 46 | |
| 47 | theorem GradedIdealReconstruction.GradedIdealRelations.projectiveFamily_flat |
| 48 | (h : ∀ d, Module.Flat R (MvPolynomial.homogeneousSubmodule σ R d ⧸ D.piece d)) : |
| 49 | Flat D.projectiveFamily.hom := by |
| 50 | exact HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap_flat |
| 51 | (HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.quotientGrading D.toHomogeneousIdeal) |
| 52 | (fun i : σ => HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.gradedQuotientMap D.toHomogeneousIdeal (MvPolynomial.X i)) |
| 53 | (fun i => (HilbertScheme.Presentations.Homogeneous.Quotient.HomogeneousQuotient.gradedQuotientMap D.toHomogeneousIdeal).map_mem |
| 54 | (MvPolynomial.isHomogeneous_X R i)) |
| 55 | (HilbertScheme.Presentations.Polynomial.Projective.PolynomialProjective.quotient_irrelevant_le_span_variables D.toHomogeneousIdeal) |
| 56 | 0 (fun d _ => D.quotientDegree_flat h d) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |