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.Smooth.DomainReduced |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 3 | import Mathlib.AlgebraicGeometry.Geometrically.Reduced |
| 4 | |
| 5 | /-! # Reduced Fibers -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.ReducedFibers |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth morphisms have geometrically reduced fibers. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {X S : Scheme.{u}} |
| 18 | |
| 19 | theorem smoothOverField_affine_isReduced (p : X ⟶ Spec (.of K)) [IsAffine X] |
| 20 | [Smooth p] : IsReduced X := by |
| 21 | let := ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 22 | (Field.toIsField K)).toField |
| 23 | have hp : p.appTop.hom.Smooth := |
| 24 | (HasRingHomProperty.iff_of_isAffine (P := @Smooth) (f := p)).mp inferInstance |
| 25 | algebraize [p.appTop.hom] |
| 26 | have : _root_.IsReduced Γ(X, ⊤) := DomainReduced.smooth_domain_isReduced Γ(Spec (.of K), ⊤) Γ(X, ⊤) |
| 27 | exact isReduced_of_isAffine_isReduced X |
| 28 | |
| 29 | theorem smoothOverField_isReduced (p : X ⟶ Spec (.of K)) [Smooth p] : IsReduced X := by |
| 30 | have (i : X.affineCover.I₀) : IsReduced (X.affineCover.X i) := |
| 31 | smoothOverField_affine_isReduced (X.affineCover.f i ≫ p) |
| 32 | exact IsReduced.of_openCover X X.affineCover |
| 33 | |
| 34 | theorem smooth_geometricallyReduced (p : X ⟶ S) [Smooth p] : GeometricallyReduced p := by |
| 35 | constructor |
| 36 | intro K _ b Z fst snd H |
| 37 | have : Smooth snd := MorphismProperty.of_isPullback H inferInstance |
| 38 | exact smoothOverField_isReduced snd |
| 39 | |
| 40 | theorem smooth_reducedSource (p : X ⟶ S) [Smooth p] [IsReduced S] [IsLocallyNoetherian S] : |
| 41 | IsReduced X := by |
| 42 | have : GeometricallyReduced p := smooth_geometricallyReduced p |
| 43 | exact GeometricallyReduced.isReduced_of_flat_of_isLocallyNoetherian p |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.ReducedFibers |