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.IntegralGlobalSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FactorThroughConstants |
| 3 | |
| 4 | /-! # Integral Affine Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.IntegralAffineMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Maps from integral universally closed schemes to affine schemes factor through the algebraically closed base field. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {K : Type u} [Field K] [IsAlgClosed K] {X Y : Scheme.{u}} |
| 17 | |
| 18 | theorem properIntegral_affineFactorization (p : X ⟶ Spec (.of K)) |
| 19 | [IsIntegral X] [UniversallyClosed p] (f : X ⟶ Y) [IsAffine Y] : |
| 20 | ∃! a : Spec (.of K) ⟶ Y, p ≫ a = f := by |
| 21 | let : IsIso p.appTop := IntegralGlobalSections.properIntegral_appTop_isIso p |
| 22 | exact Affine.FactorThroughConstants.affineFactorOfGlobalIso_existsUnique p f |
| 23 | |
| 24 | theorem properIntegral_map_eq_constant (p : X ⟶ Spec (.of K)) |
| 25 | [IsIntegral X] [UniversallyClosed p] (f : X ⟶ Y) [IsAffine Y] |
| 26 | (x : Spec (.of K) ⟶ X) (hx : x ≫ p = 𝟙 _) : f = p ≫ x ≫ f := by |
| 27 | obtain ⟨a, ha, _⟩ := properIntegral_affineFactorization p f |
| 28 | have hxa : x ≫ f = a := by rw [← ha, ← Category.assoc, hx, Category.id_comp] |
| 29 | exact ha.symm.trans (congrArg (fun b => p ≫ b) hxa.symm) |
| 30 | |
| 31 | theorem properIntegral_affineMap_eq_iff_atPoint (p : X ⟶ Spec (.of K)) |
| 32 | [IsIntegral X] [UniversallyClosed p] [IsAffine Y] |
| 33 | (x : Spec (.of K) ⟶ X) (hx : x ≫ p = 𝟙 _) (f h : X ⟶ Y) : |
| 34 | f = h ↔ x ≫ f = x ≫ h := by |
| 35 | constructor |
| 36 | · exact congrArg (fun k => x ≫ k) |
| 37 | · intro H |
| 38 | exact (properIntegral_map_eq_constant p f x hx).trans |
| 39 | ((congrArg (fun k => p ≫ k) H).trans (properIntegral_map_eq_constant p h x hx).symm) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.IntegralAffineMaps |