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.Morphisms.Proper |
| 2 | import Mathlib.FieldTheory.IsAlgClosed.Basic |
| 3 | |
| 4 | /-! # Global Functions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.GlobalFunctions.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: global functions on a proper integral geometric scheme |
| 12 | |
| 13 | Over an algebraically closed field the structure map induces an isomorphism |
| 14 | on global sections. Consequently every map to an affine scheme is constant |
| 15 | along this proper integral scheme, with its value determined by any section. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {K : Type u} [Field K] [IsAlgClosed K] {X : Scheme.{u}} |
| 26 | (p : X ⟶ Spec (CommRingCat.of K)) [IsIntegral X] [UniversallyClosed p] |
| 27 | |
| 28 | /-- An integral proper geometric scheme has only constant global regular functions. -/ |
| 29 | theorem properIntegral_appTop_isIso : IsIso p.appTop := by |
| 30 | let f : CommRingCat.of K ⟶ Γ(X, ⊤) := (Scheme.ΓSpecIso _).inv ≫ p.appTop |
| 31 | have hf : f.hom.IsIntegral := by |
| 32 | apply RingHom.isIntegral_respectsIso.2 |
| 33 | (e := (Scheme.ΓSpecIso _).symm.commRingCatIsoToRingEquiv) |
| 34 | exact isIntegral_appTop_of_universallyClosed p |
| 35 | have : IsIso f := (ConcreteCategory.isIso_iff_bijective f).mpr |
| 36 | (IsAlgClosed.ringHom_bijective_of_isIntegral f.hom hf) |
| 37 | exact (isIso_comp_left_iff (Scheme.ΓSpecIso _).inv p.appTop).mp this |
| 38 | |
| 39 | /-- The value at a section determines every morphism to an affine target. -/ |
| 40 | theorem properIntegral_to_affine_constant {Z : Scheme.{u}} [IsAffine Z] |
| 41 | (e : Spec (CommRingCat.of K) ⟶ X) (he : e ≫ p = 𝟙 _) (f : X ⟶ Z) : |
| 42 | f = p ≫ e ≫ f := by |
| 43 | have : IsIso p.appTop := properIntegral_appTop_isIso p |
| 44 | have h : p.appTop ≫ e.appTop = 𝟙 _ := by |
| 45 | rw [← Scheme.Hom.comp_appTop, he, Scheme.Hom.id_appTop] |
| 46 | have h' : e.appTop ≫ p.appTop = 𝟙 _ := by |
| 47 | rw [← cancel_epi p.appTop, ← Category.assoc, h] |
| 48 | simp |
| 49 | apply ext_of_isAffine |
| 50 | simp only [Scheme.Hom.comp_appTop, ← Category.assoc, h', Category.comp_id] |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.GlobalFunctions.Construction |