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.Ordered.SectionCechIndices |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModulePresheaf |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Products |
| 4 | |
| 5 | /-! # Coefficient Cech Terms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ordered.CoefficientCechTerms |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Category _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite _root_.TopologicalSpace |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | abbrev coefficientCechFactor {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 16 | (c : R →+* Γ(X, ⊤)) (M : X.Modules) {ι : Type u} |
| 17 | (U : ι → X.Opens) (n : ℕ) (i : Fin (n + 1) → ι) := |
| 18 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op (∏ᶜ fun k : Fin (n + 1) ↦ U (i k))) |
| 19 | |
| 20 | /-- A term of the ordered base-linear Cech complex. -/ |
| 21 | abbrev orderedCoefficientCechTerm {X : Scheme.{u}} {R : Type u} [CommRing R] (c : R →+* Γ(X, ⊤)) |
| 22 | (M : X.Modules) {ι : Type u} [LinearOrder ι] |
| 23 | (U : ι → X.Opens) (n : ℕ) := |
| 24 | ∀ i : SectionCechIndices.OrderedCechIndex ι n, coefficientCechFactor c M U n i.1 |
| 25 | |
| 26 | /-- Ordered Cech cochains as a module over global functions on the base. -/ |
| 27 | noncomputable def orderedCoefficientCechObject |
| 28 | {X : Scheme.{u}} {R : Type u} [CommRing R] (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 29 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) : |
| 30 | ModuleCat.{u} R := |
| 31 | ((FormalCoproduct.evalOp X.Opens |
| 32 | (ModuleCat.{u} R)).obj |
| 33 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c M)).obj (op (SectionCechIndices.orderedCechFormalObject U n)) |
| 34 | |
| 35 | /-- Ordered Cech cochains are the concrete dependent product of their |
| 36 | intersection-section factors. -/ |
| 37 | noncomputable def orderedCoefficientCechObjectIsoPi |
| 38 | {X : Scheme.{u}} {R : Type u} [CommRing R] (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 39 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) : |
| 40 | orderedCoefficientCechObject c M U n ≅ |
| 41 | ModuleCat.of R (orderedCoefficientCechTerm c M U n) := |
| 42 | ModuleCat.piIsoPi _ |
| 43 | |
| 44 | /-- The `k`th ordered Cech coface. -/ |
| 45 | noncomputable def orderedCoefficientCechCoface |
| 46 | {X : Scheme.{u}} {R : Type u} [CommRing R] (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 47 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 48 | (n : ℕ) (k : Fin (n + 2)) : |
| 49 | orderedCoefficientCechObject c M U n ⟶ |
| 50 | orderedCoefficientCechObject c M U (n + 1) := |
| 51 | ((FormalCoproduct.evalOp X.Opens |
| 52 | (ModuleCat.{u} R)).obj |
| 53 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c M)).map (SectionCechIndices.orderedCechFace U n k).op |
| 54 | |
| 55 | theorem orderedCoefficientCechCoface_comp_π |
| 56 | {X : Scheme.{u}} {R : Type u} [CommRing R] (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 57 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) |
| 58 | (k : Fin (n + 2)) (i : SectionCechIndices.OrderedCechIndex ι (n + 1)) : |
| 59 | orderedCoefficientCechCoface c M U n k ≫ |
| 60 | Pi.π (fun j : SectionCechIndices.OrderedCechIndex ι (n + 1) => |
| 61 | coefficientCechFactor c M U (n + 1) j.1) i = |
| 62 | Pi.π (fun j : SectionCechIndices.OrderedCechIndex ι n => |
| 63 | coefficientCechFactor c M U n j.1) (i.delete k) ≫ |
| 64 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map |
| 65 | (((FormalCoproduct.mk _ U).mapPower |
| 66 | (SimplexCategory.δ k).toOrderHom.toFun).φ i.1).op := by |
| 67 | change (Pi.lift fun j : SectionCechIndices.OrderedCechIndex ι (n + 1) => |
| 68 | Pi.π (fun l : SectionCechIndices.OrderedCechIndex ι n => |
| 69 | coefficientCechFactor c M U n l.1) (j.delete k) ≫ |
| 70 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map |
| 71 | (((FormalCoproduct.mk _ U).mapPower |
| 72 | (SimplexCategory.δ k).toOrderHom.toFun).φ j.1).op) ≫ _ = _ |
| 73 | exact Pi.lift_comp_π _ i |
| 74 | |
| 75 | theorem orderedCoefficientCechCoface_comp |
| 76 | {X : Scheme.{u}} {R : Type u} [CommRing R] (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 77 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) |
| 78 | {i j : Fin (n + 2)} (hij : i ≤ j) : |
| 79 | orderedCoefficientCechCoface c M U n i ≫ |
| 80 | orderedCoefficientCechCoface c M U (n + 1) j.succ = |
| 81 | orderedCoefficientCechCoface c M U n j ≫ |
| 82 | orderedCoefficientCechCoface c M U (n + 1) i.castSucc := by |
| 83 | let F : (FormalCoproduct.{u} X.Opens)ᵒᵖ ⥤ |
| 84 | ModuleCat.{u} R := |
| 85 | ((FormalCoproduct.evalOp.{u} X.Opens |
| 86 | (ModuleCat.{u} R)).obj |
| 87 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c M)) |
| 88 | change F.map (SectionCechIndices.orderedCechFace U n i).op ≫ |
| 89 | F.map (SectionCechIndices.orderedCechFace U (n + 1) j.succ).op = |
| 90 | F.map (SectionCechIndices.orderedCechFace U n j).op ≫ |
| 91 | F.map (SectionCechIndices.orderedCechFace U (n + 1) i.castSucc).op |
| 92 | rw [← F.map_comp, ← F.map_comp, ← op_comp, ← op_comp, |
| 93 | SectionCechIndices.orderedCechFace_comp U n hij] |
| 94 | |
| 95 | theorem orderedCoefficientCechCoface_comp' |
| 96 | {X : Scheme.{u}} {R : Type u} [CommRing R] (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 97 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) |
| 98 | {i : Fin (n + 3)} {j : Fin (n + 2)} (hij : i ≤ j.castSucc) : |
| 99 | orderedCoefficientCechCoface c M U n |
| 100 | (i.castLT (lt_of_le_of_lt hij j.is_lt)) ≫ |
| 101 | orderedCoefficientCechCoface c M U (n + 1) j.succ = |
| 102 | orderedCoefficientCechCoface c M U n j ≫ |
| 103 | orderedCoefficientCechCoface c M U (n + 1) i := by |
| 104 | have hle : i.castLT (lt_of_le_of_lt hij j.is_lt) ≤ j := by |
| 105 | rw [Fin.le_iff_val_le_val] at hij ⊢ |
| 106 | exact hij |
| 107 | simpa using orderedCoefficientCechCoface_comp c M U n hle |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ordered.CoefficientCechTerms |