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.Proper.ConnectedReducedConstants |
| 2 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 3 | import Mathlib.AlgebraicGeometry.Geometrically.Reduced |
| 4 | |
| 5 | /-! # Reduced Fiber Constants -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.ReducedFiberConstants |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Affine-valued maps on a proper geometrically connected reduced family with a section are constant along each residue-field fiber. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X S Y : Scheme.{u}} |
| 18 | |
| 19 | theorem properConnectedReducedFamily_affineMap_residue (p : X ⟶ S) |
| 20 | [UniversallyClosed p] [GeometricallyConnected p] [GeometricallyReduced p] (σ : S ⟶ X) (hσ : σ ≫ p = 𝟙 _) |
| 21 | (f : X ⟶ Y) [IsAffine Y] (z : X) : |
| 22 | X.fromSpecResidueField z ≫ f = X.fromSpecResidueField z ≫ (p ≫ σ ≫ f) := by |
| 23 | let b := X.fromSpecResidueField z ≫ p |
| 24 | let q : pullback p b ⟶ Spec (.of (X.residueField z)) := pullback.snd p b |
| 25 | let j : pullback p b ⟶ X := pullback.fst p b |
| 26 | have : UniversallyClosed q := inferInstanceAs (UniversallyClosed (pullback.snd p b)) |
| 27 | have : ConnectedSpace (pullback p b : Scheme.{u}) := |
| 28 | GeometricallyConnected.geometrically_connectedSpace b j q (.of_hasPullback p b) |
| 29 | have : IsReduced (pullback p b) := |
| 30 | GeometricallyReduced.geometrically_isReduced b j q (.of_hasPullback p b) |
| 31 | have hs : (b ≫ σ) ≫ p = (𝟙 _) ≫ b := by rw [Category.assoc, hσ, Category.comp_id, Category.id_comp] |
| 32 | let s : Spec (.of (X.residueField z)) ⟶ pullback p b := pullback.lift (b ≫ σ) (𝟙 _) hs |
| 33 | have hsq : s ≫ q = 𝟙 _ := pullback.lift_snd _ _ _ |
| 34 | have hsj : s ≫ j = b ≫ σ := pullback.lift_fst _ _ _ |
| 35 | have ha : X.fromSpecResidueField z ≫ p = (𝟙 _) ≫ b := (Category.id_comp b).symm |
| 36 | let a : Spec (.of (X.residueField z)) ⟶ pullback p b := |
| 37 | pullback.lift (X.fromSpecResidueField z) (𝟙 _) ha |
| 38 | have haq : a ≫ q = 𝟙 _ := pullback.lift_snd _ _ _ |
| 39 | have haj : a ≫ j = X.fromSpecResidueField z := pullback.lift_fst _ _ _ |
| 40 | have H := Proper.ConnectedReducedConstants.properConnectedReduced_map_eq_constant q (j ≫ f) s hsq |
| 41 | calc |
| 42 | _ = a ≫ (j ≫ f) := by rw [← Category.assoc, haj] |
| 43 | _ = a ≫ (q ≫ s ≫ (j ≫ f)) := congrArg (fun k => a ≫ k) H |
| 44 | _ = b ≫ σ ≫ f := by |
| 45 | rw [← Category.assoc a q, haq, Category.id_comp, ← Category.assoc s j, hsj, Category.assoc] |
| 46 | _ = _ := Category.assoc _ _ _ |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.ReducedFiberConstants |