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.ProjectiveCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.FamilyBaseChange |
| 3 | |
| 4 | /-! # Fiber Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual residue-field Hilbert polynomial of a flat projective family determines its Hilbert polynomial at every field-valued point. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | variable {S : Scheme.{u}} {n : ℕ} (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver S n)) |
| 15 | |
| 16 | def Closed.Families.FlatClosedFamily.fiberHilbertPolynomial (x : S) : Polynomial ℚ := |
| 17 | (HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.exists_hilbertPolynomial (F.affineProjectivePullback (S.fromSpecResidueField x)).homogeneousIdeal).choose |
| 18 | |
| 19 | theorem Closed.Families.FlatClosedFamily.fiberHilbertPolynomial_spec (x : S) : |
| 20 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.affineProjectivePullback (S.fromSpecResidueField x)).homogeneousIdeal.toIdeal |
| 21 | (F.fiberHilbertPolynomial x) := |
| 22 | (HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.exists_hilbertPolynomial (F.affineProjectivePullback (S.fromSpecResidueField x)).homogeneousIdeal).choose_spec |
| 23 | |
| 24 | theorem Closed.Families.FlatClosedFamily.fieldPoint_fiberHilbertPolynomial {K : Type u} [Field K] (s : Spec (.of K) ⟶ S) : |
| 25 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.affineProjectivePullback s).homogeneousIdeal.toIdeal |
| 26 | (F.fiberHilbertPolynomial (s (IsLocalRing.closedPoint K))) := by |
| 27 | let x := s (IsLocalRing.closedPoint K) |
| 28 | let φ : S.residueField x ⟶ CommRingCat.of K := S.descResidueField (Scheme.stalkClosedPointTo s) |
| 29 | have hφ : Spec.map φ ≫ S.fromSpecResidueField x = s := |
| 30 | S.descResidueField_stalkClosedPointTo_fromSpecResidueField K s |
| 31 | have he := (congrArg (fun b => F.affineProjectivePullback b) hφ).symm.trans |
| 32 | (F.affineProjectivePullback_coefficient (S.fromSpecResidueField x) φ) |
| 33 | rw [he] |
| 34 | exact ((F.affineProjectivePullback (S.fromSpecResidueField x)).coefficientField_hilbertPolynomial_iff |
| 35 | φ (F.fiberHilbertPolynomial x)).mpr (F.fiberHilbertPolynomial_spec x) |
| 36 | |
| 37 | theorem Closed.Families.FlatClosedFamily.fieldPoint_hilbertPolynomial_iff {K : Type u} [Field K] (s : Spec (.of K) ⟶ S) |
| 38 | (P : Polynomial ℚ) : |
| 39 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.affineProjectivePullback s).homogeneousIdeal.toIdeal P ↔ |
| 40 | F.fiberHilbertPolynomial (s (IsLocalRing.closedPoint K)) = P := by |
| 41 | constructor |
| 42 | · intro h |
| 43 | exact HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertPolynomial_unique (F.fieldPoint_fiberHilbertPolynomial s) h |
| 44 | · intro h |
| 45 | exact h ▸ F.fieldPoint_fiberHilbertPolynomial s |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |