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.Noetherian.LocalCoefficientPolynomial |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.ProjectiveFamilyDescent |
| 3 | |
| 4 | /-! # Local Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth projective families over arbitrary local rings have one field-fiber Hilbert polynomial. A constructed Noetherian coefficient model is localized at the image of the closed point. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem Closed.Families.FlatClosedFamily.noetherianModel_localCoefficientFieldHilbertPolynomial |
| 15 | {C R : Type u} [CommRing C] [IsNoetherianRing C] [CommRing R] [IsLocalRing R] {n : ℕ} |
| 16 | (G : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.affineProjectiveSpace C n)) (ψ : CommRingCat.of C ⟶ CommRingCat.of R) : |
| 17 | ∃ P : Polynomial ℚ, ∀ (K : Type u) [Field K] (φ : CommRingCat.of R ⟶ CommRingCat.of K), |
| 18 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Closed.Families.FlatClosedFamily.homogeneousIdeal (R := K) (n := n) ((G.coefficientPullback ψ).coefficientPullback φ)).toIdeal P := by |
| 19 | let S := Spec (.of C) |
| 20 | let b := Spec.map ψ |
| 21 | let s := b (IsLocalRing.closedPoint R) |
| 22 | let c := S.fromSpecStalk s |
| 23 | let σ : CommRingCat.of C ⟶ CommRingCat.of (S.presheaf.stalk s) := (Spec.fullyFaithful.preimage c).unop |
| 24 | let χ : CommRingCat.of (S.presheaf.stalk s) ⟶ CommRingCat.of R := Scheme.stalkClosedPointTo b |
| 25 | have hσ : Spec.map σ = c := Spec.fullyFaithful.map_preimage c |
| 26 | have hσχ : σ ≫ χ = ψ := by |
| 27 | apply Spec.map_injective |
| 28 | rw [Spec.map_comp, hσ] |
| 29 | exact Scheme.Spec_stalkClosedPointTo_fromSpecStalk b |
| 30 | have hN : IsNoetherianRing (S.presheaf.stalk s) := |
| 31 | AlgebraicGeometry.instIsNoetherianRingCarrierStalkCommRingCatPresheafOfIsLocallyNoetherian |
| 32 | (X := S) (x := s) |
| 33 | have hlocal : IsLocalRing (S.presheaf.stalk s) := S.toLocallyRingedSpace.isLocalRing s |
| 34 | obtain ⟨P, hP⟩ := @Closed.Families.FlatClosedFamily.exists_localCoefficientFieldHilbertPolynomial |
| 35 | (S.presheaf.stalk s) _ hN hlocal n (G.coefficientPullback σ) |
| 36 | refine ⟨P, fun K _ φ => ?_⟩ |
| 37 | have he : (G.coefficientPullback ψ).coefficientPullback φ = |
| 38 | (G.coefficientPullback σ).coefficientPullback (χ ≫ φ) := by |
| 39 | exact (Closed.Families.FlatClosedFamily.coefficientPullback_comp G ψ φ).trans |
| 40 | ((congrArg (fun z => G.coefficientPullback z) |
| 41 | ((congrArg (fun z => z ≫ φ) hσχ).symm.trans (Category.assoc σ χ φ))).trans |
| 42 | (Closed.Families.FlatClosedFamily.coefficientPullback_comp G σ (χ ≫ φ)).symm) |
| 43 | rw [he] |
| 44 | exact hP K (χ ≫ φ) |
| 45 | |
| 46 | theorem Closed.Families.FlatClosedFamily.smooth_exists_localCoefficientFieldHilbertPolynomial |
| 47 | {R : Type u} [CommRing R] [IsLocalRing R] {n : ℕ} |
| 48 | (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.affineProjectiveSpace R n)) [Smooth F.scheme.hom] : |
| 49 | ∃ P : Polynomial ℚ, ∀ (K : Type u) [Field K] (φ : CommRingCat.of R ⟶ CommRingCat.of K), |
| 50 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Closed.Families.FlatClosedFamily.homogeneousIdeal (R := K) (n := n) (F.coefficientPullback φ)).toIdeal P := by |
| 51 | obtain ⟨C, _, hC, G, _, hF⟩ := F.exists_smooth_noetherian_projective_family |
| 52 | have := hC |
| 53 | let ψ : CommRingCat.of C ⟶ CommRingCat.of R := CommRingCat.ofHom C.val.toRingHom |
| 54 | have hF' : F = G.coefficientPullback ψ := hF |
| 55 | rw [hF'] |
| 56 | exact Closed.Families.FlatClosedFamily.noetherianModel_localCoefficientFieldHilbertPolynomial G ψ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |