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.HilbertScheme.Presentations.Projective.Flatness |
| 2 | import Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Proper |
| 3 | |
| 4 | /-! # Properness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Properness.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The structure morphism of a polynomial homogeneous quotient is proper. |
| 12 | Its degree-zero algebra is a quotient of the coefficient ring, and its |
| 13 | whole coordinate algebra is finitely generated over that degree-zero part. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 21 | variable (𝒜 : ℕ → Submodule R A) [GradedAlgebra 𝒜] |
| 22 | |
| 23 | theorem projectiveStructureMap_proper [Algebra.FiniteType R A] |
| 24 | (hzero : Function.Surjective (algebraMap R (𝒜 0))) : |
| 25 | IsProper (Flatness.GradedHilbert.projectiveStructureMap 𝒜) := by |
| 26 | have : IsScalarTower R (𝒜 0) A := |
| 27 | IsScalarTower.of_algebraMap_eq (R := R) (S := 𝒜 0) (A := A) (fun _ => rfl) |
| 28 | have : Algebra.FiniteType (𝒜 0) A := Algebra.FiniteType.of_restrictScalars_finiteType R (𝒜 0) A |
| 29 | have : IsClosedImmersion (Spec.map (CommRingCat.ofHom (algebraMap R (𝒜 0)))) := |
| 30 | IsClosedImmersion.spec_of_surjective _ hzero |
| 31 | change IsProper (Proj.toSpecZero 𝒜 ≫ Spec.map (CommRingCat.ofHom (algebraMap R (𝒜 0)))) |
| 32 | infer_instance |
| 33 | |
| 34 | variable {n : ℕ} |
| 35 | |
| 36 | theorem quotientGrading_zero_algebraMap_surjective (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 37 | Function.Surjective (algebraMap R (Graded.Quotient.GradedHilbert.quotientGrading I 0)) := by |
| 38 | intro q |
| 39 | obtain ⟨f, hf, hq⟩ := q.property |
| 40 | have hfeq : f = C (f.coeff 0) := totalDegree_eq_zero_iff_eq_C.mp |
| 41 | ((totalDegree_zero_iff_isHomogeneous (Fin (n + 1))).mpr hf) |
| 42 | refine ⟨f.coeff 0, Subtype.ext ?_⟩ |
| 43 | change Ideal.Quotient.mk I.toIdeal (C (f.coeff 0)) = q.val |
| 44 | rw [← hfeq] |
| 45 | exact hq |
| 46 | |
| 47 | theorem projectiveQuotient_proper (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 48 | IsProper (Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := |
| 49 | projectiveStructureMap_proper (Graded.Quotient.GradedHilbert.quotientGrading I) (quotientGrading_zero_algebraMap_surjective I) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Properness.GradedHilbert |