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.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReducedAlgebra |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 3 | import Mathlib.AlgebraicGeometry.Geometrically.Reduced |
| 4 | |
| 5 | /-! # Smooth Reduced -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Reduced geometric fibers of smooth schemes in Openness. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | /-- An affine smooth scheme over a field is reduced. -/ |
| 18 | theorem isReduced_smooth_affine_over_field |
| 19 | {K : Type u} [Field K] {X : Scheme.{u}} [IsAffine X] |
| 20 | (f : X ⟶ Spec (.of K)) [Smooth f] : IsReduced X := by |
| 21 | let φ := Spec.preimage (X.isoSpec.inv ≫ f) |
| 22 | let : Algebra K Γ(X, ⊤) := φ.hom.toAlgebra |
| 23 | have : Smooth (Spec.map φ) := by |
| 24 | dsimp [φ] |
| 25 | rw [Spec.map_preimage] |
| 26 | infer_instance |
| 27 | have : Algebra.Smooth K Γ(X, ⊤) := |
| 28 | (HasRingHomProperty.Spec_iff (P := @Smooth) (φ := φ)).mp inferInstance |
| 29 | have : _root_.IsReduced Γ(X, ⊤) := SmoothReducedAlgebra.Construction.isReduced_smooth_algebra_of_field K Γ(X, ⊤) |
| 30 | exact isReduced_of_isAffine_isReduced X |
| 31 | |
| 32 | /-- Every smooth scheme over a field is reduced. -/ |
| 33 | theorem isReduced_smooth_over_field |
| 34 | {K : Type u} [Field K] {X : Scheme.{u}} |
| 35 | (f : X ⟶ Spec (.of K)) [Smooth f] : IsReduced X := by |
| 36 | have (i : X.affineCover.I₀) : IsReduced (X.affineCover.X i) := |
| 37 | isReduced_smooth_affine_over_field (X.affineCover.f i ≫ f) |
| 38 | exact IsReduced.of_openCover X X.affineCover |
| 39 | |
| 40 | /-- Smooth morphisms have reduced fibers after every field extension. -/ |
| 41 | theorem geometricallyReduced_of_smooth |
| 42 | {X Y : Scheme} (f : X ⟶ Y) [Smooth f] : GeometricallyReduced f := by |
| 43 | constructor |
| 44 | intro K _ t Z h g hp |
| 45 | have : Smooth g := MorphismProperty.of_isPullback hp inferInstance |
| 46 | exact isReduced_smooth_over_field g |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced.Construction |