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 | /- |
| 2 | Copyright (c) 2026 The AINTLIB contributors. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: AINTLIB ModularCurves project |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistCechFirstLaurent |
| 8 | |
| 9 | /-! # Laurent Cech Data -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentCechData.MvPolynomial |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.MvPolynomial |
| 16 | |
| 17 | /-! |
| 18 | # Homogeneous Laurent cochain groups and deletion maps |
| 19 | |
| 20 | This file reindexes each standard-intersection factor of the existing ordered Cech complex by its |
| 21 | allowed global homogeneous Laurent weights. |
| 22 | -/ |
| 23 | |
| 24 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | variable {R : Type u} {σ : Type} [CommRing R] |
| 29 | |
| 30 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 31 | |
| 32 | local instance : DecidableEq σ := Classical.decEq σ |
| 33 | |
| 34 | /-- The degree-`n` coordinate Cech term, with each standard-intersection factor reindexed by the |
| 35 | global degree-`d` homogeneous Laurent weights allowed on its ordered tuple. -/ |
| 36 | noncomputable def coordinateHomogeneousLaurentOrderedCechObject |
| 37 | [LinearOrder σ] (d : ℤ) (n : ℕ) : |
| 38 | ModuleCat.{u} Γ(Spec (CommRingCat.of R), |
| 39 | (⊤ : (Spec (CommRingCat.of R)).Opens)) := |
| 40 | ∏ᶜ fun a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n => |
| 41 | ModuleCat.of |
| 42 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 43 | (AddMonoidAlgebra |
| 44 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 45 | {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 46 | e.IsAllowedOn (fun k => (a.1 k).down)}) |
| 47 | |
| 48 | /-- The existing structure-sheaf coordinate Cech term is factorwise equivalent to its |
| 49 | homogeneous-weight presentation. -/ |
| 50 | noncomputable def coordinateHomogeneousLaurentOrderedCechObjectIso |
| 51 | [LinearOrder σ] (d : ℤ) (n : ℕ) : |
| 52 | OrderedBaseCech.Scheme.Modules.orderedBaseCechObject |
| 53 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 54 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R))) |
| 55 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) n ≅ |
| 56 | coordinateHomogeneousLaurentOrderedCechObject (R := R) (σ := σ) d n := |
| 57 | Pi.mapIso fun a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n => |
| 58 | (StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv |
| 59 | (R := R) a.1 d).toModuleIso |
| 60 | |
| 61 | /-- The degreewise homogeneous-weight comparison is the landed factor equivalence on every |
| 62 | ordered tuple. -/ |
| 63 | @[reassoc] |
| 64 | theorem coordinateHomogeneousLaurentOrderedCechObjectIso_hom_comp_π |
| 65 | [LinearOrder σ] (d : ℤ) (n : ℕ) |
| 66 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n) : |
| 67 | (coordinateHomogeneousLaurentOrderedCechObjectIso |
| 68 | (R := R) (σ := σ) d n).hom ≫ |
| 69 | Pi.π (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n => |
| 70 | ModuleCat.of |
| 71 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 72 | (AddMonoidAlgebra |
| 73 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 74 | {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 75 | e.IsAllowedOn (fun k => (b.1 k).down)})) a = |
| 76 | Pi.π (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n => |
| 77 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor |
| 78 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 79 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R))) |
| 80 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) n b.1) a ≫ |
| 81 | (StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv |
| 82 | (R := R) a.1 d).toModuleIso.hom := by |
| 83 | exact Pi.mapIso_hom_π |
| 84 | (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n => |
| 85 | (StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv |
| 86 | (R := R) b.1 d).toModuleIso) a |
| 87 | |
| 88 | /-- The ordered Cech coface on homogeneous Laurent weights deletes one entry from the ordered |
| 89 | tuple and extends each allowed weight to the larger intersection. -/ |
| 90 | noncomputable def coordinateHomogeneousLaurentOrderedCechCoface |
| 91 | [LinearOrder σ] (d : ℤ) (n : ℕ) (k : Fin (n + 2)) : |
| 92 | coordinateHomogeneousLaurentOrderedCechObject (R := R) (σ := σ) d n ⟶ |
| 93 | coordinateHomogeneousLaurentOrderedCechObject (R := R) (σ := σ) d (n + 1) := |
| 94 | Pi.lift fun a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1) => |
| 95 | Pi.π (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n => |
| 96 | ModuleCat.of |
| 97 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 98 | (AddMonoidAlgebra |
| 99 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 100 | {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 101 | e.IsAllowedOn (fun l => (b.1 l).down)})) (a.delete k) ≫ |
| 102 | ModuleCat.ofHom |
| 103 | (StandardCech.MvPolynomial.coordinateHomogeneousLaurentDeleteLinearMap (R := R) a k d) |
| 104 | |
| 105 | /-- Projecting a homogeneous-weight coface to an ordered tuple gives the corresponding deletion |
| 106 | map on allowed weights. -/ |
| 107 | @[reassoc] |
| 108 | theorem coordinateHomogeneousLaurentOrderedCechCoface_comp_π |
| 109 | [LinearOrder σ] (d : ℤ) (n : ℕ) (k : Fin (n + 2)) |
| 110 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) : |
| 111 | coordinateHomogeneousLaurentOrderedCechCoface |
| 112 | (R := R) (σ := σ) d n k ≫ |
| 113 | Pi.π (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1) => |
| 114 | ModuleCat.of |
| 115 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 116 | (AddMonoidAlgebra |
| 117 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 118 | {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 119 | e.IsAllowedOn (fun l => (b.1 l).down)})) a = |
| 120 | Pi.π (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) n => |
| 121 | ModuleCat.of |
| 122 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 123 | (AddMonoidAlgebra |
| 124 | Γ(Spec (CommRingCat.of R), (⊤ : (Spec (CommRingCat.of R)).Opens)) |
| 125 | {e : LaurentWeight.MvPolynomial.HomogeneousLaurentExponent σ d // |
| 126 | e.IsAllowedOn (fun l => (b.1 l).down)})) (a.delete k) ≫ |
| 127 | ModuleCat.ofHom |
| 128 | (StandardCech.MvPolynomial.coordinateHomogeneousLaurentDeleteLinearMap (R := R) a k d) := by |
| 129 | exact Pi.lift_comp_π _ a |
| 130 | |
| 131 | /-- On the first face, the homogeneous-weight deletion map is conjugate to restriction followed |
| 132 | by the first-face transition factor. -/ |
| 133 | theorem coordinateHomogeneousLaurentFactorCoface_naturality_delete_zero |
| 134 | [LinearOrder σ] {n : ℕ} |
| 135 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) : |
| 136 | (StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv |
| 137 | (R := R) (a.delete 0).1 d).toModuleIso.hom ≫ |
| 138 | ModuleCat.ofHom |
| 139 | (StandardCech.MvPolynomial.coordinateHomogeneousLaurentDeleteLinearMap (R := R) a 0 d) = |
| 140 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf |
| 141 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 142 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R)))).map |
| 143 | (StandardCech.MvPolynomial.coordinateOpenCechDelete (R := R) a 0).op ≫ |
| 144 | TwistCechFactors.MvPolynomial.coordinateOpenCechFirstTransitionFactorEnd (R := R) a d ≫ |
| 145 | (StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv |
| 146 | (R := R) a.1 d).toModuleIso.hom := by |
| 147 | apply ModuleCat.hom_ext |
| 148 | apply LinearMap.ext |
| 149 | intro x |
| 150 | exact (TwistCechFirstLaurent.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv_naturality_delete_zero |
| 151 | (R := R) a d x).symm |
| 152 | |
| 153 | /-- On every noninitial face, the homogeneous-weight deletion map is conjugate to ordinary |
| 154 | restriction. -/ |
| 155 | theorem coordinateHomogeneousLaurentFactorCoface_naturality_delete_succ |
| 156 | [LinearOrder σ] {n : ℕ} |
| 157 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) |
| 158 | (k : Fin (n + 1)) (d : ℤ) : |
| 159 | (StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv |
| 160 | (R := R) (a.delete k.succ).1 d).toModuleIso.hom ≫ |
| 161 | ModuleCat.ofHom |
| 162 | (StandardCech.MvPolynomial.coordinateHomogeneousLaurentDeleteLinearMap (R := R) a k.succ d) = |
| 163 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf |
| 164 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 165 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R)))).map |
| 166 | (StandardCech.MvPolynomial.coordinateOpenCechDelete (R := R) a k.succ).op ≫ |
| 167 | (StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv |
| 168 | (R := R) a.1 d).toModuleIso.hom := by |
| 169 | apply ModuleCat.hom_ext |
| 170 | apply LinearMap.ext |
| 171 | intro x |
| 172 | exact (StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseHomogeneousLaurentLinearEquiv_naturality_delete_succ |
| 173 | (R := R) a k d x).symm |
| 174 | |
| 175 | /-- The alternating ordered Cech differential in homogeneous Laurent weights. -/ |
| 176 | noncomputable def coordinateHomogeneousLaurentOrderedCechDifferential |
| 177 | [LinearOrder σ] (d : ℤ) (n : ℕ) : |
| 178 | coordinateHomogeneousLaurentOrderedCechObject (R := R) (σ := σ) d n ⟶ |
| 179 | coordinateHomogeneousLaurentOrderedCechObject (R := R) (σ := σ) d (n + 1) := |
| 180 | ∑ k : Fin (n + 2), (-1 : ℤ) ^ (k : ℕ) • |
| 181 | coordinateHomogeneousLaurentOrderedCechCoface (R := R) (σ := σ) d n k |
| 182 | |
| 183 | end |
| 184 | |
| 185 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.LaurentCechData.MvPolynomial |