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.Field.GlobalFunctionDimension |
| 2 | |
| 3 | /-! # Pointed Family Fiber Connectedness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointedFamilyFiberConnectedness |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A pointed proper smooth family is geometrically connected exactly when every residue-field fiber has a one-dimensional space of global functions. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | def schemeSectionBaseChange {X S T : Scheme.{u}} (p : X ⟶ S) (x : S ⟶ X) (hx : x ≫ p = 𝟙 S) |
| 16 | (c : T ⟶ S) : T ⟶ pullback p c := |
| 17 | pullback.lift (c ≫ x) (𝟙 T) (by rw [Category.assoc, hx]; simp) |
| 18 | |
| 19 | theorem schemeSectionBaseChange_section {X S T : Scheme.{u}} (p : X ⟶ S) (x : S ⟶ X) (hx : x ≫ p = 𝟙 S) |
| 20 | (c : T ⟶ S) : schemeSectionBaseChange p x hx c ≫ pullback.snd p c = 𝟙 T := |
| 21 | pullback.lift_snd _ _ _ |
| 22 | |
| 23 | theorem properSmoothPointed_geometricallyConnected_iff_fiber_dimension_one |
| 24 | {X S : Scheme.{u}} (p : X ⟶ S) [IsProper p] [Smooth p] (x : S ⟶ X) (hx : x ≫ p = 𝟙 S) : |
| 25 | GeometricallyConnected p ↔ ∀ s : S, Field.GlobalFunctionDimension.fieldGlobalFunctionDimension (p.fiberToSpecResidueField s) = 1 := by |
| 26 | rw [GeometricallyConnected.iff_geometricallyConnected_fiber] |
| 27 | apply forall_congr' |
| 28 | intro s |
| 29 | have hp : IsProper (pullback.snd p (S.fromSpecResidueField s)) := |
| 30 | (inferInstance : MorphismProperty.IsStableUnderBaseChange (@IsProper : MorphismProperty Scheme.{u})).of_isPullback |
| 31 | (IsPullback.of_hasPullback p (S.fromSpecResidueField s)) (inferInstance : IsProper p) |
| 32 | have hs : Smooth (pullback.snd p (S.fromSpecResidueField s)) := |
| 33 | smooth_isStableUnderBaseChange.of_isPullback |
| 34 | (IsPullback.of_hasPullback p (S.fromSpecResidueField s)) (inferInstance : Smooth p) |
| 35 | exact @Field.GlobalFunctionDimension.properSmoothPointed_geometricallyConnected_iff_dimension_one |
| 36 | (S.residueField s) inferInstance (p.fiber s) (p.fiberToSpecResidueField s) hp hs |
| 37 | (schemeSectionBaseChange p x hx (S.fromSpecResidueField s)) |
| 38 | (schemeSectionBaseChange_section p x hx (S.fromSpecResidueField s)) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointedFamilyFiberConnectedness |