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.Local.FlatConstancy |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ProjectiveCriterion |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.Existence |
| 4 | |
| 5 | /-! # Projective Criterion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual flat projective family over a noetherian local ring has one Hilbert polynomial on every field-valued fiber. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [IsLocalRing R] {n : ℕ} |
| 18 | |
| 19 | theorem Closed.Families.FlatClosedFamily.localCoefficientField_hilbertPolynomial_iff |
| 20 | (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.affineProjectiveSpace R n)) |
| 21 | {K : Type u} [Field K] (φ : CommRingCat.of R ⟶ CommRingCat.of K) (P : Polynomial ℚ) : |
| 22 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.pullbackAlong (Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n) (Spec.map φ) |
| 23 | (Projective.CoefficientFunctoriality.polynomialProjectiveMap_isPullback φ n)).homogeneousIdeal.toIdeal P ↔ |
| 24 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial F.homogeneousIdeal.toIdeal P := by |
| 25 | let : Algebra R K := φ.hom.toAlgebra |
| 26 | have : Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading F.homogeneousIdeal)) := F.homogeneousIdeal_flat |
| 27 | have he := Closed.Families.FlatClosedFamily.homogeneousIdeal_coefficientBaseChange |
| 28 | (R := CommRingCat.of R) (A := CommRingCat.of K) (n := n) F φ |
| 29 | rw [he] |
| 30 | exact Local.FlatConstancy.localFlat_saturatedFieldHilbertPolynomial_iff F.homogeneousIdeal K P |
| 31 | |
| 32 | theorem Closed.Families.FlatClosedFamily.localFieldHilbertPolynomial_iff_identity |
| 33 | (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of R)) n)) |
| 34 | {K : Type u} [Field K] (x : Spec (.of K) ⟶ Spec (.of R)) (P : Polynomial ℚ) : |
| 35 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.affineProjectivePullback x).homogeneousIdeal.toIdeal P ↔ |
| 36 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.affineProjectivePullback (𝟙 _)).homogeneousIdeal.toIdeal P := by |
| 37 | let φ : CommRingCat.of R ⟶ CommRingCat.of K := (Spec.fullyFaithful.preimage x).unop |
| 38 | have he : Spec.map φ = x := Spec.fullyFaithful.map_preimage x |
| 39 | have hx := F.affineProjectivePullback_coefficient (𝟙 _) φ |
| 40 | have hc : Spec.map φ ≫ 𝟙 (Spec (.of R)) = x := (Category.comp_id _).trans he |
| 41 | have hF := (congrArg (fun a => F.affineProjectivePullback a) hc).symm.trans hx |
| 42 | rw [hF] |
| 43 | exact (F.affineProjectivePullback (𝟙 _)).localCoefficientField_hilbertPolynomial_iff φ P |
| 44 | |
| 45 | theorem Closed.Families.FlatClosedFamily.exists_localFieldHilbertPolynomial |
| 46 | (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of R)) n)) : |
| 47 | ∃ P : Polynomial ℚ, ∀ (K : Type u) [Field K] (x : Spec (.of K) ⟶ Spec (.of R)), |
| 48 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.affineProjectivePullback x).homogeneousIdeal.toIdeal P := by |
| 49 | let x := Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)) |
| 50 | obtain ⟨P, hP⟩ := HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.exists_hilbertPolynomial (F.affineProjectivePullback x).homogeneousIdeal |
| 51 | have hI := (F.localFieldHilbertPolynomial_iff_identity x P).mp hP |
| 52 | exact ⟨P, fun L _ y => (F.localFieldHilbertPolynomial_iff_identity y P).mpr hI⟩ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |