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.Quotients.FiniteDescent.SchemeSmooth |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeFiniteness |
| 3 | import Mathlib.AlgebraicGeometry.Group.Smooth |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.SmoothFiber |
| 5 | |
| 6 | /-! # Group Smooth Of -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupSmoothOf.Construction.GroupSmooth |
| 9 | |
| 10 | /-! |
| 11 | # Smoothness of finite locally free group-scheme quotients |
| 12 | |
| 13 | Flatness and finite presentation descend through the quotient. Its geometric |
| 14 | fibers are reduced group schemes, hence smooth; the smooth-fiber criterion |
| 15 | then establishes smoothness over the original base. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | /-- A flat group scheme locally of finite presentation with geometrically |
| 23 | reduced fibers is smooth. -/ |
| 24 | theorem smooth_of_flat_geometricallyReduced |
| 25 | {S : Scheme.{u}} (G : Over S) [GrpObj G] |
| 26 | [Flat G.hom] [LocallyOfFinitePresentation G.hom] [GeometricallyReduced G.hom] : |
| 27 | Smooth G.hom := by |
| 28 | apply Smooth.of_smooth_fiberToSpecResidueField |
| 29 | intro s |
| 30 | let : GrpObj (Over.mk G.hom) := inferInstanceAs (GrpObj G) |
| 31 | let : GrpObj (Over.mk (G.hom.fiberToSpecResidueField s)) := Over.grpObjMkPullbackSnd |
| 32 | have hft : LocallyOfFiniteType (G.hom.fiberToSpecResidueField s) := |
| 33 | inferInstanceAs (LocallyOfFiniteType (Limits.pullback.snd G.hom (S.fromSpecResidueField s))) |
| 34 | exact @smooth_of_grpObj _ _ _ (G.hom.fiberToSpecResidueField s) hft |
| 35 | (inferInstanceAs (GrpObj (Over.mk (G.hom.fiberToSpecResidueField s)))) |
| 36 | (inferInstanceAs (GeometricallyReduced (G.hom.fiberToSpecResidueField s))) |
| 37 | |
| 38 | /-- A finite locally free quotient of a smooth group scheme is smooth over |
| 39 | the original base. -/ |
| 40 | theorem smooth_of_finite_quotient |
| 41 | {S : Scheme.{u}} {A B : Over S} [GrpObj B] [Smooth A.hom] |
| 42 | (q : A ⟶ B) [IsFinite q.left] [Flat q.left] [Surjective q.left] |
| 43 | [LocallyOfFinitePresentation q.left] : Smooth B.hom := by |
| 44 | have : Smooth (q.left ≫ B.hom) := by rw [q.w]; infer_instance |
| 45 | have : GeometricallyReduced (q.left ≫ B.hom) := |
| 46 | SchemeSmooth.Construction.SchemeSmoothReduced.geometricallyReduced_of_smooth _ |
| 47 | have : GeometricallyReduced B.hom := SchemeSmooth.Construction.SchemeSmoothReduced.geometricallyReduced_of_comp q.left B.hom |
| 48 | have : Flat B.hom := SchemeFiniteness.Construction.SchemeFinitenessDescent.flat q.left B.hom |
| 49 | have : LocallyOfFinitePresentation B.hom := |
| 50 | SchemeFiniteness.Construction.SchemeFinitenessDescent.locallyOfFinitePresentation q.left B.hom |
| 51 | exact smooth_of_flat_geometricallyReduced B |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupSmoothOf.Construction.GroupSmooth |