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.Projective.FiberPolynomial |
| 2 | |
| 3 | /-! # Specialization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Hilbert polynomials of flat projective fibers over a locally Noetherian base are unchanged by specialization. Both fibers are compared inside the actual local-ring base change. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | theorem Closed.Families.FlatClosedFamily.fiberHilbertPolynomial_eq_of_specializes |
| 14 | {S : Scheme.{u}} [IsLocallyNoetherian S] {n : ℕ} |
| 15 | (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver S n)) {x y : S} (h : x ⤳ y) : |
| 16 | F.fiberHilbertPolynomial x = F.fiberHilbertPolynomial y := by |
| 17 | let R := S.presheaf.stalk y |
| 18 | have hR : IsNoetherianRing R := |
| 19 | AlgebraicGeometry.instIsNoetherianRingCarrierStalkCommRingCatPresheafOfIsLocallyNoetherian |
| 20 | (X := S) (x := y) |
| 21 | have hlocal : IsLocalRing R := S.toLocallyRingedSpace.isLocalRing y |
| 22 | let b := S.fromSpecStalk y |
| 23 | let G := F.projectiveBaseChange b |
| 24 | obtain ⟨P, hP⟩ := @Closed.Families.FlatClosedFamily.exists_localFieldHilbertPolynomial R _ hR hlocal n G |
| 25 | let tx : Spec (S.residueField x) ⟶ Spec R := |
| 26 | Spec.map (S.presheaf.stalkSpecializes h ≫ S.residue x) |
| 27 | let ty : Spec (S.residueField y) ⟶ Spec R := Spec.map (S.residue y) |
| 28 | have hx : tx ≫ b = S.fromSpecResidueField x := by |
| 29 | change Spec.map (S.presheaf.stalkSpecializes h ≫ S.residue x) ≫ S.fromSpecStalk y = _ |
| 30 | rw [Spec.map_comp, Category.assoc, S.SpecMap_stalkSpecializes_fromSpecStalk h] |
| 31 | rfl |
| 32 | have hy : ty ≫ b = S.fromSpecResidueField y := rfl |
| 33 | have hpx := hP (S.residueField x) tx |
| 34 | have hpy := hP (S.residueField y) ty |
| 35 | have hFx := (F.projectiveBaseChange_affine b tx).trans |
| 36 | (congrArg (fun s => F.affineProjectivePullback s) hx) |
| 37 | have hFy := (F.projectiveBaseChange_affine b ty).trans |
| 38 | (congrArg (fun s => F.affineProjectivePullback s) hy) |
| 39 | rw [hFx] at hpx |
| 40 | rw [hFy] at hpy |
| 41 | exact (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertPolynomial_unique (F.fiberHilbertPolynomial_spec x) hpx).trans |
| 42 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertPolynomial_unique (F.fiberHilbertPolynomial_spec y) hpy).symm |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |