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 Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 2 | |
| 3 | /-! # Smooth Stalk Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.SmoothStalkCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Algebraic smoothness at a prime gives formal smoothness of the corresponding scheme stalk map. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem spec_stalk_formallySmooth_of_isSmoothAt |
| 16 | {C A : Type u} [CommRing C] [CommRing A] [Algebra C A] |
| 17 | (q : PrimeSpectrum A) [Algebra.IsSmoothAt C q.asIdeal] : |
| 18 | ((Spec.map (CommRingCat.ofHom (algebraMap C A))).stalkMap q).hom.FormallySmooth := by |
| 19 | let p := q.comap (algebraMap C A) |
| 20 | have : q.asIdeal.LiesOver p.asIdeal := ⟨rfl⟩ |
| 21 | let := Localization.AtPrime.algebraOfLiesOver p.asIdeal q.asIdeal |
| 22 | have : Algebra.FormallySmooth (Localization.AtPrime p.asIdeal) (Localization.AtPrime q.asIdeal) := |
| 23 | (Algebra.FormallySmooth.iff_restrictScalars (R := C) |
| 24 | (A := Localization.AtPrime p.asIdeal) (B := Localization.AtPrime q.asIdeal)).mp inferInstance |
| 25 | apply (RingHom.FormallySmooth.respectsIso.arrow_mk_iso_iff |
| 26 | (Scheme.arrowStalkMapSpecIso (CommRingCat.ofHom (algebraMap C A)) q)).mpr |
| 27 | exact RingHom.formallySmooth_algebraMap.mpr |
| 28 | (inferInstanceAs (Algebra.FormallySmooth (Localization.AtPrime p.asIdeal) (Localization.AtPrime q.asIdeal))) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.SmoothStalkCriterion |