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.Affine.ChartCoefficientSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.GlobalFunctionDimension |
| 3 | |
| 4 | /-! # Global Function Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.GlobalFunctionDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The pointed proper smooth connectedness criterion can be stated over the actual coefficient field, using global regular functions with their structural algebra action. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem coefficientSectionMap_top {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 17 | (f : R →+* Γ(X, ⊤)) : AlgebraPresheaf.coefficientSectionMap f ⊤ = f := by |
| 18 | change (X.presheaf.map (𝟙 (op ⊤))).hom.comp f = f |
| 19 | rw [X.presheaf.map_id] |
| 20 | rfl |
| 21 | |
| 22 | theorem schemeGlobalCoefficient_bijective_iff {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 23 | (p : X ⟶ Spec (.of R)) : Function.Bijective (Affine.ChartCoefficientSections.schemeGlobalCoefficient p) ↔ Function.Bijective p.appTop.hom := |
| 24 | Function.Bijective.of_comp_iff p.appTop.hom |
| 25 | (Scheme.ΓSpecIso (.of R)).symm.commRingCatIsoToRingEquiv.bijective |
| 26 | |
| 27 | def coefficientGlobalFunctionDimension {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 28 | (p : X ⟶ Spec (.of R)) : ℕ := |
| 29 | Module.finrank R (AlgebraPresheaf.coefficientAlgebraSections (Affine.ChartCoefficientSections.schemeGlobalCoefficient p) ⊤) |
| 30 | |
| 31 | theorem coefficientGlobalFunctionDimension_eq_one_iff_iso |
| 32 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) : |
| 33 | coefficientGlobalFunctionDimension p = 1 ↔ IsIso p.appTop := by |
| 34 | have hd : coefficientGlobalFunctionDimension p = 1 ↔ |
| 35 | Function.Bijective (AlgebraPresheaf.coefficientSectionMap (Affine.ChartCoefficientSections.schemeGlobalCoefficient p) ⊤) := |
| 36 | Algebra.finrank_eq_one_iff_bijective_algebraMap |
| 37 | rw [coefficientSectionMap_top] at hd |
| 38 | have h := hd.trans (schemeGlobalCoefficient_bijective_iff p) |
| 39 | constructor |
| 40 | · intro hn |
| 41 | exact (RingEquiv.ofBijective p.appTop.hom (h.mp hn)).toCommRingCatIso.isIso_hom |
| 42 | · intro hi |
| 43 | let : IsIso p.appTop := hi |
| 44 | exact h.mpr (ConcreteCategory.bijective_of_isIso p.appTop) |
| 45 | |
| 46 | theorem pointed_coefficientGlobalFunctionDimension_pos |
| 47 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) |
| 48 | [Module.Finite K (AlgebraPresheaf.coefficientAlgebraSections (Affine.ChartCoefficientSections.schemeGlobalCoefficient p) ⊤)] |
| 49 | (x : Spec (.of K) ⟶ X) : 0 < coefficientGlobalFunctionDimension p := by |
| 50 | let : Nontrivial Γ(Spec (.of K), ⊤) := (Scheme.ΓSpecIso (.of K)).hom.hom.domain_nontrivial |
| 51 | let : Nontrivial (AlgebraPresheaf.coefficientAlgebraSections (Affine.ChartCoefficientSections.schemeGlobalCoefficient p) ⊤) := x.appTop.hom.domain_nontrivial |
| 52 | exact Module.finrank_pos |
| 53 | |
| 54 | theorem properSmoothPointed_connected_iff_coefficient_dimension_le_one |
| 55 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsProper p] [Smooth p] |
| 56 | [Module.Finite K (AlgebraPresheaf.coefficientAlgebraSections (Affine.ChartCoefficientSections.schemeGlobalCoefficient p) ⊤)] |
| 57 | (x : Spec (.of K) ⟶ X) (hx : x ≫ p = 𝟙 _) : |
| 58 | GeometricallyConnected p ↔ coefficientGlobalFunctionDimension p ≤ 1 := by |
| 59 | have h := (HilbertConstruction.Field.GlobalFunctionsConnectedness.properSmoothPointed_geometricallyConnected_iff_globalFunctionsIso p x hx).trans |
| 60 | (coefficientGlobalFunctionDimension_eq_one_iff_iso p).symm |
| 61 | have hp := pointed_coefficientGlobalFunctionDimension_pos p x |
| 62 | exact h.trans (by omega) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.GlobalFunctionDimension |