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.Spec.SmoothStalkCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.SmoothFiberAlgebra |
| 3 | |
| 4 | /-! # Smooth Fiber Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.SmoothFiberCriterion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A smooth fiber of a flat finitely presented affine family lies in the smooth locus. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem spec_stalk_formallySmooth_of_smooth_fiber |
| 17 | {C A : Type u} [CommRing C] [CommRing A] [Algebra C A] |
| 18 | [Algebra.FinitePresentation C A] [Module.Flat C A] (q : PrimeSpectrum A) |
| 19 | [Smooth ((Spec.map (CommRingCat.ofHom (algebraMap C A))).fiberToSpecResidueField |
| 20 | (q.comap (algebraMap C A)))] : |
| 21 | ((Spec.map (CommRingCat.ofHom (algebraMap C A))).stalkMap q).hom.FormallySmooth := by |
| 22 | let p := q.comap (algebraMap C A) |
| 23 | have : q.asIdeal.LiesOver p.asIdeal := ⟨rfl⟩ |
| 24 | have : Algebra.Smooth p.asIdeal.ResidueField (p.asIdeal.Fiber A) := SmoothFiberAlgebra.algebraFiber_smooth_of_specFiber p |
| 25 | have : Algebra.IsSmoothAt C q.asIdeal := Algebra.IsSmoothAt.of_formallySmooth_fiber p.asIdeal q.asIdeal |
| 26 | exact HilbertConstruction.Spec.SmoothStalkCriterion.spec_stalk_formallySmooth_of_isSmoothAt q |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.SmoothFiberCriterion |