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.Connected.ReducedFiberConstants |
| 2 | |
| 3 | /-! # Reduced Family Affine Rigidity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.ReducedFamilyAffineRigidity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Affine-valued maps from reduced proper geometrically connected reduced families factor through a section. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X S Y : Scheme.{u}} |
| 16 | |
| 17 | theorem connectedReducedFamily_affineMap_eq (p : X ⟶ S) [IsReduced X] |
| 18 | [UniversallyClosed p] [GeometricallyConnected p] [GeometricallyReduced p] (σ : S ⟶ X) (hσ : σ ≫ p = 𝟙 _) |
| 19 | (f : X ⟶ Y) [IsAffine Y] : f = p ≫ σ ≫ f := by |
| 20 | apply ext_of_fromSpecResidueField_eq f (p ≫ σ ≫ f) (terminal.from Y) Set.univ dense_univ |
| 21 | · intro z _ |
| 22 | exact ReducedFiberConstants.properConnectedReducedFamily_affineMap_residue p σ hσ f z |
| 23 | · exact Subsingleton.elim _ _ |
| 24 | |
| 25 | theorem connectedReducedFamily_affineFactorization (p : X ⟶ S) [IsReduced X] |
| 26 | [UniversallyClosed p] [GeometricallyConnected p] [GeometricallyReduced p] (σ : S ⟶ X) (hσ : σ ≫ p = 𝟙 _) |
| 27 | (f : X ⟶ Y) [IsAffine Y] : ∃! a : S ⟶ Y, p ≫ a = f := by |
| 28 | refine ⟨σ ≫ f, (connectedReducedFamily_affineMap_eq p σ hσ f).symm, ?_⟩ |
| 29 | intro a ha |
| 30 | exact (Category.id_comp a).symm.trans |
| 31 | ((congrArg (fun k => k ≫ a) hσ.symm).trans |
| 32 | ((Category.assoc _ _ _).trans (congrArg (fun k => σ ≫ k) ha))) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.ReducedFamilyAffineRigidity |