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.Affine.SmoothFiberCriterion |
| 2 | |
| 3 | /-! # Map Smooth Fiber Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.MapSmoothFiberCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The affine pointwise smooth-fiber criterion for an explicit map of coefficient rings. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem specMap_stalk_formallySmooth_of_smooth_fiber |
| 16 | {C A : CommRingCat.{u}} (φ : C ⟶ A) |
| 17 | [Flat (Spec.map φ)] [LocallyOfFinitePresentation (Spec.map φ)] (q : PrimeSpectrum A) |
| 18 | [Smooth ((Spec.map φ).fiberToSpecResidueField (Spec.map φ q))] : |
| 19 | ((Spec.map φ).stalkMap q).hom.FormallySmooth := by |
| 20 | let : Algebra C A := φ.hom.toAlgebra |
| 21 | have : Module.Flat C A := RingHom.flat_algebraMap_iff.mp |
| 22 | ((HasRingHomProperty.Spec_iff (P := @Flat)).mp (inferInstanceAs (Flat (Spec.map φ)))) |
| 23 | have : Algebra.FinitePresentation C A := RingHom.finitePresentation_algebraMap.mp |
| 24 | ((HasRingHomProperty.Spec_iff (P := @LocallyOfFinitePresentation)).mp |
| 25 | (inferInstanceAs (LocallyOfFinitePresentation (Spec.map φ)))) |
| 26 | have : Smooth ((Spec.map (CommRingCat.ofHom (algebraMap C A))).fiberToSpecResidueField |
| 27 | (q.comap (algebraMap C A))) := inferInstanceAs (Smooth ((Spec.map φ).fiberToSpecResidueField (Spec.map φ q))) |
| 28 | exact Affine.SmoothFiberCriterion.spec_stalk_formallySmooth_of_smooth_fiber q |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.MapSmoothFiberCriterion |