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.Smooth.LocalPolynomial |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.ClosedFamilyPullbacks |
| 3 | |
| 4 | /-! # Relative Local Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual smooth closed family in relative projective space over any local ring has one Hilbert polynomial on every field-valued fiber. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem Closed.Families.FlatClosedFamily.smooth_exists_localFieldHilbertPolynomial |
| 15 | {R : Type u} [CommRing R] [IsLocalRing R] {n : ℕ} |
| 16 | (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of R)) n)) [Smooth F.scheme.hom] : |
| 17 | ∃ P : Polynomial ℚ, ∀ (K : Type u) [Field K] (x : Spec (.of K) ⟶ Spec (.of R)), |
| 18 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.affineProjectivePullback x).homogeneousIdeal.toIdeal P := by |
| 19 | let G := F.affineProjectivePullback (𝟙 _) |
| 20 | have : Smooth G.scheme.hom := F.affineProjectivePullback_smooth (𝟙 _) |
| 21 | obtain ⟨P, hP⟩ := G.smooth_exists_localCoefficientFieldHilbertPolynomial |
| 22 | refine ⟨P, fun K _ x => ?_⟩ |
| 23 | let φ : CommRingCat.of R ⟶ CommRingCat.of K := (Spec.fullyFaithful.preimage x).unop |
| 24 | have he : Spec.map φ = x := Spec.fullyFaithful.map_preimage x |
| 25 | have hx := F.affineProjectivePullback_coefficient (𝟙 _) φ |
| 26 | have hc : Spec.map φ ≫ 𝟙 (Spec (.of R)) = x := (Category.comp_id _).trans he |
| 27 | have hF := (congrArg (fun a => F.affineProjectivePullback a) hc).symm.trans hx |
| 28 | rw [hF] |
| 29 | exact hP K φ |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |