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 Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 3 | |
| 4 | /-! # Cube Proper Global Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProperGlobalSections.Construction.CubeCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global regular functions on the proper integral schemes used in the degree argument. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def globalConstants {k : Type u} [Field k] {X : Scheme.{u}} |
| 17 | (f : X ⟶ Spec (.of k)) : k →+* Γ(X, ⊤) := |
| 18 | ((Scheme.ΓSpecIso (.of k)).inv ≫ f.appTop).hom |
| 19 | |
| 20 | /-- Over an algebraically closed field, every global regular function on |
| 21 | a universally closed integral scheme is constant. -/ |
| 22 | theorem globalConstants_bijective |
| 23 | {k : Type u} [Field k] [IsAlgClosed k] {X : Scheme.{u}} |
| 24 | (f : X ⟶ Spec (.of k)) [IsIntegral X] [UniversallyClosed f] : |
| 25 | Function.Bijective (globalConstants f) := by |
| 26 | apply IsAlgClosed.ringHom_bijective_of_isIntegral |
| 27 | apply RingHom.isIntegral_respectsIso.2 |
| 28 | (e := (Scheme.ΓSpecIso (.of k)).symm.commRingCatIsoToRingEquiv) |
| 29 | exact isIntegral_appTop_of_universallyClosed f |
| 30 | |
| 31 | def properIntegralGlobalSectionsEquiv |
| 32 | {k : Type u} [Field k] [IsAlgClosed k] {X : Scheme.{u}} |
| 33 | (f : X ⟶ Spec (.of k)) [IsIntegral X] [UniversallyClosed f] : |
| 34 | k ≃+* Γ(X, ⊤) := |
| 35 | RingEquiv.ofBijective (globalConstants f) (globalConstants_bijective f) |
| 36 | |
| 37 | /-- Every morphism from a proper integral scheme to an affine scheme |
| 38 | factors through the algebraically closed base field. -/ |
| 39 | theorem factors_through_base_of_proper_integral |
| 40 | {k : Type u} [Field k] [IsAlgClosed k] {X Y : Scheme.{u}} |
| 41 | (f : X ⟶ Spec (.of k)) [IsIntegral X] [UniversallyClosed f] |
| 42 | [IsAffine Y] (g : X ⟶ Y) : ∃ a : Spec (.of k) ⟶ Y, f ≫ a = g := by |
| 43 | let e := (properIntegralGlobalSectionsEquiv f).toCommRingCatIso |
| 44 | have hf : X.toSpecΓ ≫ Spec.map e.hom = f := by |
| 45 | change X.toSpecΓ ≫ Spec.map ((Scheme.ΓSpecIso (.of k)).inv ≫ f.appTop) = f |
| 46 | rw [Spec.map_comp, ← Category.assoc, ← Scheme.toSpecΓ_naturality, Category.assoc] |
| 47 | simp |
| 48 | refine ⟨Spec.map (g.appTop ≫ e.inv) ≫ Y.isoSpec.inv, ?_⟩ |
| 49 | rw [← hf, Spec.map_comp] |
| 50 | simp only [Category.assoc] |
| 51 | rw [← Spec.map_comp_assoc, e.inv_hom_id] |
| 52 | have hid : Spec.map (𝟙 (CommRingCat.of ↑Γ(X, ⊤))) = 𝟙 (Spec Γ(X, ⊤)) := |
| 53 | Spec.map_id _ |
| 54 | rw [hid, Category.id_comp, ← Category.assoc, ← Scheme.toSpecΓ_naturality] |
| 55 | simp |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProperGlobalSections.Construction.CubeCech |