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.StandardCech |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverlapTopUnit |
| 9 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistPowers |
| 10 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OpenFrameTransitivity |
| 11 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverFrameScalarTransfer |
| 12 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverFrameTransitions |
| 13 | |
| 14 | /-! # Twist Cech Factors -/ |
| 15 | |
| 16 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistCechFactors.MvPolynomial |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | open _root_.MvPolynomial |
| 21 | |
| 22 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 23 | universe u |
| 24 | variable {R : Type u} {σ : Type} [CommRing R] |
| 25 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 26 | |
| 27 | /-- The standard frame of `O(d)` restricted to an ordered Cech intersection. -/ |
| 28 | noncomputable def coordinateHyperplaneTwistCechTrivialization {n : ℕ} |
| 29 | (a : Fin (n + 1) → ULift.{u} σ) (j : σ) (d : ℤ) : |
| 30 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := R) j d).restrict |
| 31 | (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a).ι ≅ |
| 32 | Invertible.Scheme.Modules.unitObj |
| 33 | (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a).toScheme := |
| 34 | OpenFrames.Scheme.Modules.restrictOpenTrivialization |
| 35 | (StandardCech.MvPolynomial.coordinateOpenCechIntersection_le (R := R) a 0) |
| 36 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwistTrivialization (R := R) (a 0).down j d) |
| 37 | |
| 38 | noncomputable def baseModulePresheafObjIsoUnitOfOverIso |
| 39 | {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) (U : X.Opens) |
| 40 | (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 41 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).obj (op U) ≅ |
| 42 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π (Invertible.Scheme.Modules.unitObj X)).obj (op U) := by |
| 43 | let eVal := (SheafOfModules.forget (X.ringCatSheaf.over U)).mapIso e |
| 44 | let eTop := (PresheafOfModules.evaluation (X.ringCatSheaf.over U).obj |
| 45 | (.op (Over.mk (𝟙 U)))).mapIso eVal |
| 46 | let f : Γ(S, (⊤ : S.Opens)) →+* Γ(X, U) := |
| 47 | (X.presheaf.map |
| 48 | ((Limits.initialOpOfTerminal Limits.isTerminalTop).to (op U))).hom.comp |
| 49 | π.appTop.hom |
| 50 | exact (ModuleCat.restrictScalars f).mapIso eTop |
| 51 | |
| 52 | theorem baseModulePresheafObjIsoUnitOfOverIso_naturality |
| 53 | {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 54 | {U V : X.Opens} (hVU : V ≤ U) |
| 55 | (e : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 56 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).map (homOfLE hVU).op ≫ |
| 57 | (baseModulePresheafObjIsoUnitOfOverIso π M V |
| 58 | (Dual.SheafOfModules.restrictOverTrivialization |
| 59 | X.ringCatSheaf M U e (Over.mk (homOfLE hVU)))).hom = |
| 60 | (baseModulePresheafObjIsoUnitOfOverIso π M U e).hom ≫ |
| 61 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π |
| 62 | (Invertible.Scheme.Modules.unitObj X)).map (homOfLE hVU).op := by |
| 63 | ext x |
| 64 | change e.hom.val.app (.op (Over.mk (homOfLE hVU))) |
| 65 | (M.presheaf.map (homOfLE hVU).op x) = |
| 66 | X.presheaf.map (homOfLE hVU).op |
| 67 | (e.hom.val.app (.op (Over.mk (𝟙 U))) x) |
| 68 | let k : Over.mk (homOfLE hVU) ⟶ Over.mk (𝟙 U) := |
| 69 | Over.mkIdTerminal.from (Over.mk (homOfLE hVU)) |
| 70 | have hnat := PresheafOfModules.naturality_apply e.hom.val k.op x |
| 71 | change e.hom.val.app (.op (Over.mk (homOfLE hVU))) |
| 72 | ((M.over U).val.map k.op x) = |
| 73 | (X.ringCatSheaf.over U).obj.map k.op |
| 74 | (e.hom.val.app (.op (Over.mk (𝟙 U))) x) at hnat |
| 75 | dsimp only [k] at hnat |
| 76 | change e.hom.val.app (.op (Over.mk (homOfLE hVU))) |
| 77 | (M.presheaf.map |
| 78 | (Over.mkIdTerminal.from (Over.mk (homOfLE hVU))).left.op x) = |
| 79 | X.presheaf.map |
| 80 | (Over.mkIdTerminal.from (Over.mk (homOfLE hVU))).left.op |
| 81 | (e.hom.val.app (.op (Over.mk (𝟙 U))) x) at hnat |
| 82 | rw [Over.mkIdTerminal_from_left] at hnat |
| 83 | exact hnat |
| 84 | |
| 85 | noncomputable def baseModulePresheafObjUnitScalar |
| 86 | {X S : Scheme.{u}} (π : X ⟶ S) (U : X.Opens) (s : Γ(X, U)) : |
| 87 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π (Invertible.Scheme.Modules.unitObj X)).obj (op U) ⟶ |
| 88 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π (Invertible.Scheme.Modules.unitObj X)).obj (op U) := by |
| 89 | let q := Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U s |
| 90 | let qVal := (SheafOfModules.forget (X.ringCatSheaf.over U)).map q |
| 91 | let qTop := (PresheafOfModules.evaluation (X.ringCatSheaf.over U).obj |
| 92 | (.op (Over.mk (𝟙 U)))).map qVal |
| 93 | let f : Γ(S, (⊤ : S.Opens)) →+* Γ(X, U) := |
| 94 | (X.presheaf.map |
| 95 | ((Limits.initialOpOfTerminal Limits.isTerminalTop).to (op U))).hom.comp |
| 96 | π.appTop.hom |
| 97 | exact (ModuleCat.restrictScalars f).map qTop |
| 98 | |
| 99 | theorem baseModulePresheafObjIsoUnitOfOverIso_comp_scalar |
| 100 | {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) (U : X.Opens) |
| 101 | (e g : M.over U ≅ SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 102 | (s : Γ(X, U)) |
| 103 | (h : e.hom = g.hom ≫ |
| 104 | Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U s) : |
| 105 | (baseModulePresheafObjIsoUnitOfOverIso π M U e).hom = |
| 106 | (baseModulePresheafObjIsoUnitOfOverIso π M U g).hom ≫ |
| 107 | baseModulePresheafObjUnitScalar π U s := by |
| 108 | ext x |
| 109 | change e.hom.val.app (.op (Over.mk (𝟙 U))) x = |
| 110 | (Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U s).val.app |
| 111 | (.op (Over.mk (𝟙 U))) (g.hom.val.app (.op (Over.mk (𝟙 U))) x) |
| 112 | have happ := congrArg (fun q => q.val.app (.op (Over.mk (𝟙 U)))) h |
| 113 | exact ConcreteCategory.congr_hom happ x |
| 114 | |
| 115 | lemma coordinateOpenTransitionTopUnit_zpow_coe_aux |
| 116 | (i k : σ) (d : ℤ) : |
| 117 | ((OverlapTopUnit.MvPolynomial.coordinateOpenTransitionTopUnit (R := R) i k ^ d : |
| 118 | Γ((CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme, |
| 119 | (⊤ : (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme.Opens))ˣ) : |
| 120 | Γ((CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme, |
| 121 | (⊤ : (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme.Opens))) = |
| 122 | OpenFrames.Scheme.Modules.openTopSection (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k) |
| 123 | ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k ^ d : |
| 124 | Γ(Proj (homogeneousSubmodule σ R), |
| 125 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k)ˣ) : |
| 126 | Γ(Proj (homogeneousSubmodule σ R), |
| 127 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k)) := by |
| 128 | let f : Γ(Proj (homogeneousSubmodule σ R), |
| 129 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k) →+* |
| 130 | Γ((CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme, |
| 131 | (⊤ : (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme.Opens)) := |
| 132 | (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).topIso.inv.hom |
| 133 | change (((Units.map f.toMonoidHom |
| 134 | (CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k)) ^ d : |
| 135 | Γ((CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme, |
| 136 | (⊤ : (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme.Opens))ˣ) : |
| 137 | Γ((CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme, |
| 138 | (⊤ : (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k).toScheme.Opens))) = |
| 139 | f ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k ^ d : |
| 140 | Γ(Proj (homogeneousSubmodule σ R), |
| 141 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k)ˣ) : |
| 142 | Γ(Proj (homogeneousSubmodule σ R), |
| 143 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k)) |
| 144 | rw [← (Units.map f.toMonoidHom).map_zpow] |
| 145 | rfl |
| 146 | |
| 147 | theorem restrictOpenTrivialization_hom_eq_comp_scalar_aux |
| 148 | {X : Scheme.{u}} (M : X.Modules) {U V : X.Opens} (hVU : V ≤ U) |
| 149 | (e g : M.restrict U.ι ≅ Invertible.Scheme.Modules.unitObj U.toScheme) |
| 150 | (r : Γ(X, U)) |
| 151 | (h : e.hom = g.hom ≫ |
| 152 | UnitScalar.unitEndomorphismOfTopSection |
| 153 | (OpenFrames.Scheme.Modules.openTopSection U r)) : |
| 154 | (OpenFrames.Scheme.Modules.restrictOpenTrivialization hVU e).hom = |
| 155 | (OpenFrames.Scheme.Modules.restrictOpenTrivialization hVU g).hom ≫ |
| 156 | UnitScalar.unitEndomorphismOfTopSection |
| 157 | (OpenFrames.Scheme.Modules.openTopSection V |
| 158 | (X.presheaf.map (homOfLE hVU).op r)) := by |
| 159 | let eOver := Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U e |
| 160 | let gOver := Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U g |
| 161 | have hOver : eOver.hom = gOver.hom ≫ |
| 162 | Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r := |
| 163 | OverFrameScalarTransfer.overTrivializationOfRestrictIso_hom_eq_comp_scalar |
| 164 | M U e g r h |
| 165 | let eRes := Dual.SheafOfModules.restrictOverTrivialization |
| 166 | X.ringCatSheaf M U eOver (Over.mk (homOfLE hVU)) |
| 167 | let gRes := Dual.SheafOfModules.restrictOverTrivialization |
| 168 | X.ringCatSheaf M U gOver (Over.mk (homOfLE hVU)) |
| 169 | have hRes : eRes.hom = gRes.hom ≫ |
| 170 | Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf V |
| 171 | (X.presheaf.map (homOfLE hVU).op r) := |
| 172 | OverFrameTransitions.restrictOverTrivialization_hom_eq_comp_scalar |
| 173 | M hVU gOver eOver r hOver |
| 174 | have hOpen := OverScalarRestriction.restrictTrivializationOfOverIso_hom_eq_comp_scalar |
| 175 | M V eRes gRes (X.presheaf.map (homOfLE hVU).op r) hRes |
| 176 | have heOver := OpenFrames.Scheme.Modules.overTrivializationOfRestrictOpenTrivialization |
| 177 | hVU e |
| 178 | have hgOver := OpenFrames.Scheme.Modules.overTrivializationOfRestrictOpenTrivialization |
| 179 | hVU g |
| 180 | have heOpen := congrArg |
| 181 | (FrameSections.restrictTrivializationOfOverIso M V) heOver |
| 182 | have hgOpen := congrArg |
| 183 | (FrameSections.restrictTrivializationOfOverIso M V) hgOver |
| 184 | rw [OpenFrames.restrictTrivializationOfOverTrivializationOfRestrictIso] |
| 185 | at heOpen hgOpen |
| 186 | rw [← heOpen, ← hgOpen] at hOpen |
| 187 | exact hOpen |
| 188 | |
| 189 | /-- A twist Cech factor is the corresponding structure-sheaf section module. -/ |
| 190 | noncomputable def coordinateHyperplaneTwistBaseCechFactorIsoUnit {n : ℕ} |
| 191 | (a : Fin (n + 1) → ULift.{u} σ) (j : σ) (d : ℤ) : |
| 192 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor |
| 193 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 194 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := R) j d) |
| 195 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) n a ≅ |
| 196 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor |
| 197 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 198 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R))) |
| 199 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) n a := |
| 200 | baseModulePresheafObjIsoUnitOfOverIso |
| 201 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 202 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := R) j d) |
| 203 | (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a) |
| 204 | (Invertible.Scheme.Modules.overTrivializationOfRestrictIso |
| 205 | (TwistPowers.MvPolynomial.coordinateHyperplaneTwist (R := R) j d) |
| 206 | (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a) |
| 207 | (coordinateHyperplaneTwistCechTrivialization (R := R) a j d)) |
| 208 | |
| 209 | /-- The order relation underlying `coordinateOpenCechDelete`. -/ |
| 210 | theorem coordinateOpenCechDelete_le [LinearOrder σ] {n : ℕ} |
| 211 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) |
| 212 | (k : Fin (n + 2)) : |
| 213 | StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1 ≤ |
| 214 | StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) (a.delete k).1 := |
| 215 | leOfHom (StandardCech.MvPolynomial.coordinateOpenCechDelete (R := R) a k) |
| 216 | |
| 217 | /-- A full ordered Cech intersection lies in the overlap of its first two |
| 218 | standard charts. -/ |
| 219 | theorem coordinateOpenCechIntersection_le_firstOverlap [LinearOrder σ] {n : ℕ} |
| 220 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) : |
| 221 | StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1 ≤ |
| 222 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down := by |
| 223 | rw [CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_eq] |
| 224 | exact le_inf |
| 225 | (StandardCech.MvPolynomial.coordinateOpenCechIntersection_le (R := R) a.1 0) |
| 226 | (StandardCech.MvPolynomial.coordinateOpenCechIntersection_le (R := R) a.1 1) |
| 227 | |
| 228 | /-- The first-chart transition section is the Laurent monomial represented by the second |
| 229 | coordinate divided by the first. -/ |
| 230 | theorem coordinateOpenCechFirstTransition_laurent [LinearOrder σ] {n : ℕ} |
| 231 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) : |
| 232 | let h10 : (a.1 1).down ≠ (a.1 0).down := by |
| 233 | intro h |
| 234 | have ha : a.1 1 = a.1 0 := ULift.ext _ _ h |
| 235 | exact one_ne_zero (a.2.injective ha) |
| 236 | StandardCech.MvPolynomial.coordinateOpenCechIntersectionLaurentRingEquiv (R := R) a.1 |
| 237 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 238 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 239 | (R := R) a)).op |
| 240 | (CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit |
| 241 | (R := R) (a.1 0).down (a.1 1).down : |
| 242 | Γ(Proj (homogeneousSubmodule σ R), |
| 243 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down))) = |
| 244 | AddMonoidAlgebra.single |
| 245 | (LaurentExponentLocalization.MvPolynomial.laurentExponentAwayMap |
| 246 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down)) |
| 247 | (Finsupp.single ⟨(a.1 1).down, h10⟩ 1)) 1 := by |
| 248 | dsimp only |
| 249 | let h10 : (a.1 1).down ≠ (a.1 0).down := by |
| 250 | intro h |
| 251 | have ha : a.1 1 = a.1 0 := ULift.ext _ _ h |
| 252 | exact one_ne_zero (a.2.injective ha) |
| 253 | let q : HomogeneousLocalization.Away |
| 254 | (homogeneousSubmodule σ R) (X (a.1 0).down) := |
| 255 | SpaceChart.MvPolynomial.awayVar R (a.1 0).down ⟨(a.1 1).down, h10⟩ |
| 256 | have hsection : |
| 257 | (Proj (homogeneousSubmodule σ R)).presheaf.map |
| 258 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 259 | (R := R) a)).op |
| 260 | (CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit |
| 261 | (R := R) (a.1 0).down (a.1 1).down : |
| 262 | Γ(Proj (homogeneousSubmodule σ R), |
| 263 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)) = |
| 264 | (Proj (homogeneousSubmodule σ R)).presheaf.map |
| 265 | (homOfLE (StandardCech.MvPolynomial.coordinateOpenCechIntersection_le (R := R) a.1 0)).op |
| 266 | ((Proj.basicOpenIsoAway (homogeneousSubmodule σ R) (X (a.1 0).down) |
| 267 | (SpaceChart.MvPolynomial.X_mem_homogeneousSubmodule_one R (a.1 0).down) one_pos).hom.hom q) := by |
| 268 | change (Proj (homogeneousSubmodule σ R)).presheaf.map |
| 269 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 270 | (R := R) a)).op |
| 271 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 272 | (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left |
| 273 | (R := R) (a.1 0).down (a.1 1).down)).op |
| 274 | (CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation |
| 275 | (R := R) (a.1 0).down (a.1 1).down)) = _ |
| 276 | rw [← ConcreteCategory.comp_apply, ← Functor.map_comp] |
| 277 | rw [show (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left |
| 278 | (R := R) (a.1 0).down (a.1 1).down)).op ≫ |
| 279 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 280 | (R := R) a)).op = |
| 281 | (homOfLE (StandardCech.MvPolynomial.coordinateOpenCechIntersection_le (R := R) a.1 0)).op |
| 282 | from Subsingleton.elim _ _] |
| 283 | rw [CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_of_ne |
| 284 | (R := R) (a.1 0).down (a.1 1).down h10] |
| 285 | rw [hsection] |
| 286 | let qFull := HomogeneousLocalization.awayMap |
| 287 | (f := X (a.1 0).down) |
| 288 | (g := StandardIntersectionRing.MvPolynomial.coordinateTailPolynomial (R := R) (fun k => (a.1 k).down)) |
| 289 | (x := StandardIntersectionRing.MvPolynomial.coordinateProductPolynomial (R := R) (fun k => (a.1 k).down)) |
| 290 | (homogeneousSubmodule σ R) |
| 291 | (StandardIntersectionRing.MvPolynomial.coordinateTailPolynomial_mem (R := R) (fun k => (a.1 k).down)) |
| 292 | (show StandardIntersectionRing.MvPolynomial.coordinateProductPolynomial (R := R) (fun k => (a.1 k).down) = |
| 293 | X (a.1 0).down * StandardIntersectionRing.MvPolynomial.coordinateTailPolynomial (R := R) (fun k => (a.1 k).down) |
| 294 | by rw [StandardIntersectionRing.MvPolynomial.coordinateProductPolynomial]) q |
| 295 | have hNat := StandardCech.MvPolynomial.coordinateOpenCechIntersectionAwayIso_naturality_firstChart |
| 296 | (R := R) a.1 |
| 297 | have hNatq := ConcreteCategory.congr_hom hNat q |
| 298 | simp only [ConcreteCategory.comp_apply] at hNatq |
| 299 | have hq' := congrArg |
| 300 | (fun z => (StandardCech.MvPolynomial.coordinateOpenCechIntersectionAwayIso (R := R) a.1).inv.hom z) |
| 301 | hNatq |
| 302 | rw [Iso.hom_inv_id_apply] at hq' |
| 303 | have hq : (StandardCech.MvPolynomial.coordinateOpenCechIntersectionAwayIso (R := R) a.1).inv.hom |
| 304 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 305 | (homOfLE (StandardCech.MvPolynomial.coordinateOpenCechIntersection_le (R := R) a.1 0)).op |
| 306 | ((Proj.basicOpenIsoAway (homogeneousSubmodule σ R) (X (a.1 0).down) |
| 307 | (SpaceChart.MvPolynomial.X_mem_homogeneousSubmodule_one R (a.1 0).down) one_pos).hom.hom q)) = |
| 308 | qFull := by |
| 309 | exact hq'.symm |
| 310 | change LaurentMonomialBasis.MvPolynomial.laurentMonomialRingEquiv R _ |
| 311 | (StandardIntersectionRing.MvPolynomial.coordinateProductAwayRingEquiv (R := R) _ |
| 312 | ((StandardCech.MvPolynomial.coordinateOpenCechIntersectionAwayIso (R := R) a.1).inv.hom _)) = _ |
| 313 | rw [hq] |
| 314 | rw [StandardIntersectionRing.MvPolynomial.coordinateProductAwayLaurentRingEquiv_awayMap] |
| 315 | rw [SpaceChart.MvPolynomial.chartRingEquiv_apply_awayVar] |
| 316 | change AddMonoidAlgebra.mapDomain _ |
| 317 | (AddMonoidAlgebra.single |
| 318 | (Finsupp.single |
| 319 | (⟨(a.1 1).down, h10⟩ : {j : σ // j ≠ (a.1 0).down}) 1) 1) = _ |
| 320 | rw [AddMonoidAlgebra.mapDomain_single] |
| 321 | rfl |
| 322 | |
| 323 | /-- The first two entries of an ordered Cech index are distinct. -/ |
| 324 | theorem coordinateOpenCechFirstSecond_ne [LinearOrder σ] {n : ℕ} |
| 325 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) : |
| 326 | (a.1 1).down ≠ (a.1 0).down := by |
| 327 | intro h |
| 328 | have ha : a.1 1 = a.1 0 := ULift.ext _ _ h |
| 329 | exact one_ne_zero (a.2.injective ha) |
| 330 | |
| 331 | /-- The local Laurent exponent of an integer power of the first transition unit. -/ |
| 332 | noncomputable def coordinateOpenCechFirstTransitionExponent [LinearOrder σ] {n : ℕ} |
| 333 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) : |
| 334 | ℤ →+ LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 335 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down)) where |
| 336 | toFun d := ⟨Finsupp.single |
| 337 | (⟨(a.1 1).down, coordinateOpenCechFirstSecond_ne a⟩ : |
| 338 | {j : σ // j ≠ (a.1 0).down}) d, by |
| 339 | intro i hi |
| 340 | by_cases hij : i = |
| 341 | (⟨(a.1 1).down, coordinateOpenCechFirstSecond_ne a⟩ : |
| 342 | {j : σ // j ≠ (a.1 0).down}) |
| 343 | · subst i |
| 344 | exact (StandardIntersectionRing.MvPolynomial.coordinateTailExponent_ne_zero_iff |
| 345 | (fun k => (a.1 k).down) |
| 346 | (⟨(a.1 1).down, coordinateOpenCechFirstSecond_ne a⟩ : |
| 347 | {j : σ // j ≠ (a.1 0).down})).2 ⟨1, rfl⟩ |
| 348 | · simp [hij] at hi⟩ |
| 349 | map_zero' := by |
| 350 | apply Subtype.ext |
| 351 | simp |
| 352 | map_add' d e := by |
| 353 | apply Subtype.ext |
| 354 | simp |
| 355 | |
| 356 | noncomputable def coordinateOpenCechFirstTransitionLaurentUnit |
| 357 | [LinearOrder σ] {n : ℕ} |
| 358 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) : |
| 359 | (AddMonoidAlgebra R |
| 360 | (LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 361 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down))))ˣ where |
| 362 | val := AddMonoidAlgebra.single |
| 363 | (coordinateOpenCechFirstTransitionExponent (n := n) a 1) 1 |
| 364 | inv := AddMonoidAlgebra.single |
| 365 | (coordinateOpenCechFirstTransitionExponent (n := n) a (-1)) 1 |
| 366 | val_inv := by |
| 367 | rw [AddMonoidAlgebra.single_mul_single, ← map_add] |
| 368 | norm_num |
| 369 | exact AddMonoidAlgebra.one_def.symm |
| 370 | inv_val := by |
| 371 | rw [AddMonoidAlgebra.single_mul_single, ← map_add] |
| 372 | norm_num |
| 373 | exact AddMonoidAlgebra.one_def.symm |
| 374 | |
| 375 | lemma coordinateOpenCechFirstTransitionLaurentUnit_zpow_val |
| 376 | [LinearOrder σ] {n : ℕ} |
| 377 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) : |
| 378 | ((coordinateOpenCechFirstTransitionLaurentUnit (R := R) (n := n) a ^ d : |
| 379 | (AddMonoidAlgebra R |
| 380 | (LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 381 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down))))ˣ) : |
| 382 | AddMonoidAlgebra R |
| 383 | (LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 384 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down)))) = |
| 385 | AddMonoidAlgebra.single |
| 386 | (coordinateOpenCechFirstTransitionExponent (n := n) a d) 1 := by |
| 387 | cases d with |
| 388 | | ofNat m => |
| 389 | calc |
| 390 | _ = (↑((coordinateOpenCechFirstTransitionLaurentUnit |
| 391 | (R := R) (n := n) a) ^ m) : |
| 392 | AddMonoidAlgebra R |
| 393 | (LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 394 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down)))) := |
| 395 | congrArg Units.val |
| 396 | (zpow_natCast |
| 397 | (coordinateOpenCechFirstTransitionLaurentUnit |
| 398 | (R := R) (n := n) a) m) |
| 399 | _ = _ := by |
| 400 | rw [Units.val_pow_eq_pow_val] |
| 401 | change (AddMonoidAlgebra.single |
| 402 | (coordinateOpenCechFirstTransitionExponent (n := n) a 1) 1) ^ m = _ |
| 403 | rw [AddMonoidAlgebra.single_pow, one_pow, ← map_nsmul] |
| 404 | congr |
| 405 | simp |
| 406 | | negSucc m => |
| 407 | rw [zpow_negSucc, ← inv_pow, Units.val_pow_eq_pow_val] |
| 408 | change (AddMonoidAlgebra.single |
| 409 | (coordinateOpenCechFirstTransitionExponent (n := n) a (-1)) 1) ^ (m + 1) = _ |
| 410 | rw [AddMonoidAlgebra.single_pow, one_pow, ← map_nsmul] |
| 411 | congr |
| 412 | simp [Int.negSucc_eq] |
| 413 | |
| 414 | /-- The Laurent image of an integer power of the first transition unit is the corresponding |
| 415 | single Laurent monomial. -/ |
| 416 | theorem coordinateOpenCechFirstTransition_zpow_laurent |
| 417 | [LinearOrder σ] {n : ℕ} |
| 418 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) : |
| 419 | StandardCech.MvPolynomial.coordinateOpenCechIntersectionLaurentRingEquiv (R := R) a.1 |
| 420 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 421 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 422 | (R := R) a)).op |
| 423 | ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit |
| 424 | (R := R) (a.1 0).down (a.1 1).down ^ d : |
| 425 | Γ(Proj (homogeneousSubmodule σ R), |
| 426 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)ˣ) : |
| 427 | Γ(Proj (homogeneousSubmodule σ R), |
| 428 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down))) = |
| 429 | AddMonoidAlgebra.single |
| 430 | (coordinateOpenCechFirstTransitionExponent (n := n) a d) 1 := by |
| 431 | let f := (StandardCech.MvPolynomial.coordinateOpenCechIntersectionLaurentRingEquiv |
| 432 | (R := R) a.1).toRingHom.comp |
| 433 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 434 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 435 | (R := R) a)).op).hom |
| 436 | let t := CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit |
| 437 | (R := R) (a.1 0).down (a.1 1).down |
| 438 | have ht : Units.map f.toMonoidHom t = |
| 439 | coordinateOpenCechFirstTransitionLaurentUnit (R := R) (n := n) a := by |
| 440 | apply Units.ext |
| 441 | change StandardCech.MvPolynomial.coordinateOpenCechIntersectionLaurentRingEquiv (R := R) a.1 |
| 442 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 443 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 444 | (R := R) a)).op |
| 445 | (CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit |
| 446 | (R := R) (a.1 0).down (a.1 1).down : |
| 447 | Γ(Proj (homogeneousSubmodule σ R), |
| 448 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down))) = _ |
| 449 | rw [coordinateOpenCechFirstTransition_laurent] |
| 450 | apply congrArg (fun e => AddMonoidAlgebra.single e (1 : R)) |
| 451 | apply Subtype.ext |
| 452 | ext i |
| 453 | rw [LaurentExponentLocalization.MvPolynomial.laurentExponentAwayMap_apply] |
| 454 | let j : {j : σ // j ≠ (a.1 0).down} := |
| 455 | ⟨(a.1 1).down, coordinateOpenCechFirstSecond_ne (n := n) a⟩ |
| 456 | change ((Finsupp.single j 1 i : ℕ) : ℤ) = Finsupp.single j 1 i |
| 457 | by_cases hi : i = j |
| 458 | · subst i |
| 459 | simp |
| 460 | · simp [hi] |
| 461 | change f ((t ^ d : |
| 462 | Γ(Proj (homogeneousSubmodule σ R), |
| 463 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)ˣ) : _) = _ |
| 464 | calc |
| 465 | _ = (↑(Units.map f.toMonoidHom (t ^ d)) : |
| 466 | AddMonoidAlgebra R |
| 467 | (LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 468 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down)))) := |
| 469 | (Units.coe_map f.toMonoidHom (t ^ d)).symm |
| 470 | _ = (↑((Units.map f.toMonoidHom t) ^ d) : |
| 471 | AddMonoidAlgebra R |
| 472 | (LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 473 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down)))) := by |
| 474 | exact congrArg Units.val ((Units.map f.toMonoidHom).map_zpow t d) |
| 475 | _ = _ := by |
| 476 | simpa only [ht] using |
| 477 | (coordinateOpenCechFirstTransitionLaurentUnit_zpow_val |
| 478 | (R := R) (n := n) a d) |
| 479 | |
| 480 | noncomputable def coordinateLaurentExponentDeleteZeroRaw |
| 481 | [LinearOrder σ] {n : ℕ} |
| 482 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) |
| 483 | (e : LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 484 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => ((a.delete 0).1 k).down))) : |
| 485 | LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 486 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down)) := |
| 487 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv (fun k => (a.1 k).down) 0).symm |
| 488 | (StandardCech.MvPolynomial.coordinateLaurentExponentDeleteEmbedding a 0 0 |
| 489 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 490 | (fun k => ((a.delete 0).1 k).down) 0 e)) |
| 491 | |
| 492 | lemma coordinateLaurentExponentDeleteZeroRaw_apply |
| 493 | [LinearOrder σ] {n : ℕ} |
| 494 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) |
| 495 | (e : LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 496 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => ((a.delete 0).1 k).down))) |
| 497 | (j : {j : σ // j ≠ (a.1 0).down}) : |
| 498 | (coordinateLaurentExponentDeleteZeroRaw a e).1 j = |
| 499 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 500 | (fun k => ((a.delete 0).1 k).down) 0 e).1.1 j.1 := by |
| 501 | rw [coordinateLaurentExponentDeleteZeroRaw, |
| 502 | LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_symm_apply] |
| 503 | rfl |
| 504 | |
| 505 | theorem coordinateLaurentExponentEquiv_zero_apply_zero |
| 506 | {n : ℕ} (b : Fin (n + 1) → σ) (i : σ) : |
| 507 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv b 0 |
| 508 | (0 : LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid (StandardIntersectionRing.MvPolynomial.coordinateTailExponent b))).1.1 i = 0 := by |
| 509 | by_cases hi : i = b 0 |
| 510 | · subst i |
| 511 | rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_anchor] |
| 512 | simp |
| 513 | · rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_of_ne _ _ _ _ hi] |
| 514 | rfl |
| 515 | |
| 516 | theorem coordinateLaurentExponentEquiv_zero_apply_add |
| 517 | {n : ℕ} (b : Fin (n + 1) → σ) |
| 518 | (e f : LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid (StandardIntersectionRing.MvPolynomial.coordinateTailExponent b)) (i : σ) : |
| 519 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv b 0 (e + f)).1.1 i = |
| 520 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv b 0 e).1.1 i + |
| 521 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv b 0 f).1.1 i := by |
| 522 | by_cases hi : i = b 0 |
| 523 | · subst i |
| 524 | rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_anchor, |
| 525 | LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_anchor, |
| 526 | LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_anchor] |
| 527 | change 0 - Finsupp.degree (e.1 + f.1) = |
| 528 | (0 - Finsupp.degree e.1) + (0 - Finsupp.degree f.1) |
| 529 | rw [map_add] |
| 530 | omega |
| 531 | · rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_of_ne _ _ _ _ hi, |
| 532 | LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_of_ne _ _ _ _ hi, |
| 533 | LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_of_ne _ _ _ _ hi] |
| 534 | rfl |
| 535 | |
| 536 | /-- Restricting from the chart anchored at the second coordinate to the full intersection, expressed |
| 537 | in Laurent exponents for the chart anchored at the first coordinate. -/ |
| 538 | noncomputable def coordinateLaurentExponentDeleteZeroAddMonoidHom |
| 539 | [LinearOrder σ] {n : ℕ} |
| 540 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) : |
| 541 | LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 542 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => ((a.delete 0).1 k).down)) →+ |
| 543 | LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 544 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => (a.1 k).down)) where |
| 545 | toFun := coordinateLaurentExponentDeleteZeroRaw a |
| 546 | map_zero' := by |
| 547 | apply Subtype.ext |
| 548 | ext j |
| 549 | rw [coordinateLaurentExponentDeleteZeroRaw_apply] |
| 550 | exact coordinateLaurentExponentEquiv_zero_apply_zero |
| 551 | (fun k => ((a.delete 0).1 k).down) j.1 |
| 552 | map_add' e f := by |
| 553 | apply Subtype.ext |
| 554 | ext j |
| 555 | change (coordinateLaurentExponentDeleteZeroRaw a (e + f)).1 j = |
| 556 | (coordinateLaurentExponentDeleteZeroRaw a e).1 j + |
| 557 | (coordinateLaurentExponentDeleteZeroRaw a f).1 j |
| 558 | rw [coordinateLaurentExponentDeleteZeroRaw_apply, |
| 559 | coordinateLaurentExponentDeleteZeroRaw_apply, |
| 560 | coordinateLaurentExponentDeleteZeroRaw_apply] |
| 561 | exact coordinateLaurentExponentEquiv_zero_apply_add |
| 562 | (fun k => ((a.delete 0).1 k).down) e f j.1 |
| 563 | |
| 564 | /-- The first-deletion exponent map reads the same degree-zero global homogeneous exponent in the |
| 565 | new anchor chart. -/ |
| 566 | @[simp] |
| 567 | theorem coordinateLaurentExponentDeleteZeroAddMonoidHom_apply |
| 568 | [LinearOrder σ] {n : ℕ} |
| 569 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) |
| 570 | (e : LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 571 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => ((a.delete 0).1 k).down))) |
| 572 | (j : {j : σ // j ≠ (a.1 0).down}) : |
| 573 | (coordinateLaurentExponentDeleteZeroAddMonoidHom a e).1 j = |
| 574 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 575 | (fun k => ((a.delete 0).1 k).down) 0 e).1.1 j.1 := |
| 576 | coordinateLaurentExponentDeleteZeroRaw_apply a e j |
| 577 | |
| 578 | @[simp] |
| 579 | theorem coordinateOpenCechFirstTransitionExponent_apply_second |
| 580 | [LinearOrder σ] {n : ℕ} |
| 581 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) : |
| 582 | (coordinateOpenCechFirstTransitionExponent (n := n) a d).1 |
| 583 | ⟨(a.1 1).down, coordinateOpenCechFirstSecond_ne (n := n) a⟩ = d := by |
| 584 | simp [coordinateOpenCechFirstTransitionExponent] |
| 585 | |
| 586 | theorem coordinateOpenCechFirstTransitionExponent_apply_of_ne |
| 587 | [LinearOrder σ] {n : ℕ} |
| 588 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) |
| 589 | (j : {j : σ // j ≠ (a.1 0).down}) (hj : j.1 ≠ (a.1 1).down) : |
| 590 | (coordinateOpenCechFirstTransitionExponent (n := n) a d).1 j = 0 := by |
| 591 | have hj' : |
| 592 | (⟨(a.1 1).down, coordinateOpenCechFirstSecond_ne (n := n) a⟩ : |
| 593 | {j : σ // j ≠ (a.1 0).down}) ≠ j := by |
| 594 | intro h |
| 595 | exact hj (congrArg Subtype.val h).symm |
| 596 | simp [coordinateOpenCechFirstTransitionExponent, hj'] |
| 597 | |
| 598 | @[simp] |
| 599 | theorem coordinateOpenCechFirstTransitionExponent_degree |
| 600 | [LinearOrder σ] {n : ℕ} |
| 601 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) : |
| 602 | Finsupp.degree (coordinateOpenCechFirstTransitionExponent (n := n) a d).1 = d := by |
| 603 | simp [coordinateOpenCechFirstTransitionExponent, Finsupp.degree_single] |
| 604 | |
| 605 | theorem coordinateLaurentExponentDeleteZeroAddMonoidHom_degree |
| 606 | [LinearOrder σ] {n : ℕ} |
| 607 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) |
| 608 | (e : LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 609 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => ((a.delete 0).1 k).down))) : |
| 610 | Finsupp.degree (coordinateLaurentExponentDeleteZeroAddMonoidHom a e).1 = |
| 611 | - (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 612 | (fun k => ((a.delete 0).1 k).down) 0 e).1.1 (a.1 0).down := by |
| 613 | have h := (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 614 | (fun k => (a.1 k).down) 0).apply_symm_apply |
| 615 | (StandardCech.MvPolynomial.coordinateLaurentExponentDeleteEmbedding a 0 0 |
| 616 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 617 | (fun k => ((a.delete 0).1 k).down) 0 e)) |
| 618 | have h0 := congrArg |
| 619 | (fun z => z.1.1 (a.1 0).down) h |
| 620 | change (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 621 | (fun k => (a.1 k).down) 0 |
| 622 | (coordinateLaurentExponentDeleteZeroAddMonoidHom a e)).1.1 (a.1 0).down = |
| 623 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 624 | (fun k => ((a.delete 0).1 k).down) 0 e).1.1 (a.1 0).down at h0 |
| 625 | rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_anchor] at h0 |
| 626 | omega |
| 627 | |
| 628 | /-- First-deletion restriction followed by the twist transition gives the same global homogeneous |
| 629 | exponent as inclusion from the deleted tuple. -/ |
| 630 | theorem coordinateLaurentExponentEquiv_delete_zero_add_transition |
| 631 | [LinearOrder σ] {n : ℕ} |
| 632 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) |
| 633 | (e : LaurentExponentLocalization.MvPolynomial.laurentExponentSubmonoid |
| 634 | (StandardIntersectionRing.MvPolynomial.coordinateTailExponent (fun k => ((a.delete 0).1 k).down))) : |
| 635 | LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv (fun k => (a.1 k).down) d |
| 636 | (coordinateLaurentExponentDeleteZeroAddMonoidHom a e + |
| 637 | coordinateOpenCechFirstTransitionExponent (n := n) a d) = |
| 638 | StandardCech.MvPolynomial.coordinateLaurentExponentDeleteEmbedding a 0 d |
| 639 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 640 | (fun k => ((a.delete 0).1 k).down) d e) := by |
| 641 | apply Subtype.ext |
| 642 | apply Subtype.ext |
| 643 | ext i |
| 644 | change (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv (fun k => (a.1 k).down) d |
| 645 | (coordinateLaurentExponentDeleteZeroAddMonoidHom a e + |
| 646 | coordinateOpenCechFirstTransitionExponent (n := n) a d)).1.1 i = |
| 647 | (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 648 | (fun k => ((a.delete 0).1 k).down) d e).1.1 i |
| 649 | by_cases hi0 : i = (a.1 0).down |
| 650 | · subst i |
| 651 | rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_anchor] |
| 652 | change d - Finsupp.degree |
| 653 | ((coordinateLaurentExponentDeleteZeroAddMonoidHom a e).1 + |
| 654 | (coordinateOpenCechFirstTransitionExponent (n := n) a d).1) = _ |
| 655 | rw [map_add, |
| 656 | coordinateLaurentExponentDeleteZeroAddMonoidHom_degree, |
| 657 | coordinateOpenCechFirstTransitionExponent_degree] |
| 658 | have h01 : (a.1 0).down ≠ ((a.delete 0).1 0).down := by |
| 659 | exact (coordinateOpenCechFirstSecond_ne (n := n) a).symm |
| 660 | rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_of_ne _ _ _ _ h01, |
| 661 | LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_of_ne _ _ _ _ h01] |
| 662 | omega |
| 663 | · rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_of_ne _ _ _ _ hi0] |
| 664 | change (coordinateLaurentExponentDeleteZeroAddMonoidHom a e).1 ⟨i, hi0⟩ + |
| 665 | (coordinateOpenCechFirstTransitionExponent (n := n) a d).1 ⟨i, hi0⟩ = _ |
| 666 | rw [coordinateLaurentExponentDeleteZeroAddMonoidHom_apply] |
| 667 | by_cases hi1 : i = (a.1 1).down |
| 668 | · subst i |
| 669 | rw [coordinateOpenCechFirstTransitionExponent_apply_second] |
| 670 | change (LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv |
| 671 | (fun k => ((a.delete 0).1 k).down) 0 e).1.1 |
| 672 | ((a.delete 0).1 0).down + d = _ |
| 673 | have hanchor : ((a.delete 0).1 0).down = (a.1 1).down := rfl |
| 674 | rw [← hanchor, LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_anchor, |
| 675 | LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_anchor] |
| 676 | omega |
| 677 | · rw [coordinateOpenCechFirstTransitionExponent_apply_of_ne |
| 678 | (a := a) d ⟨i, hi0⟩ hi1, add_zero] |
| 679 | have hi1' : i ≠ ((a.delete 0).1 0).down := hi1 |
| 680 | rw [LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_of_ne _ _ _ _ hi1', |
| 681 | LaurentWeight.MvPolynomial.coordinateLaurentExponentEquiv_apply_of_ne _ _ _ _ hi1'] |
| 682 | |
| 683 | noncomputable def coordinateOpenCechFirstTransitionRingHom |
| 684 | [LinearOrder σ] {n : ℕ} |
| 685 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) : |
| 686 | Γ(Proj (homogeneousSubmodule σ R), |
| 687 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down) →+* |
| 688 | Γ((StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme, |
| 689 | (⊤ : (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme.Opens)) := |
| 690 | (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).topIso.inv.hom.comp |
| 691 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 692 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 693 | (R := R) a)).op).hom |
| 694 | |
| 695 | /-- The first-chart transition unit, restricted to a full ordered Cech |
| 696 | intersection and transported to its top ring. -/ |
| 697 | noncomputable def coordinateOpenCechFirstTransitionTopUnit |
| 698 | [LinearOrder σ] {n : ℕ} |
| 699 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) : |
| 700 | Γ((StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme, |
| 701 | (⊤ : (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme.Opens))ˣ := |
| 702 | Units.map (coordinateOpenCechFirstTransitionRingHom (R := R) a).toMonoidHom |
| 703 | (CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) (a.1 0).down (a.1 1).down) |
| 704 | |
| 705 | lemma coordinateOpenCechFirstTransitionTopUnit_zpow_coe |
| 706 | [LinearOrder σ] {n : ℕ} |
| 707 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) : |
| 708 | ((coordinateOpenCechFirstTransitionTopUnit (R := R) a ^ d : |
| 709 | Γ((StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme, |
| 710 | (⊤ : (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme.Opens))ˣ) : |
| 711 | Γ((StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme, |
| 712 | (⊤ : (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme.Opens))) = |
| 713 | OpenFrames.Scheme.Modules.openTopSection (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1) |
| 714 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 715 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 716 | (R := R) a)).op |
| 717 | ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) (a.1 0).down (a.1 1).down ^ d : |
| 718 | Γ(Proj (homogeneousSubmodule σ R), |
| 719 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)ˣ) : |
| 720 | Γ(Proj (homogeneousSubmodule σ R), |
| 721 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down))) := by |
| 722 | let f := coordinateOpenCechFirstTransitionRingHom (R := R) a |
| 723 | change (((Units.map f.toMonoidHom |
| 724 | (CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) (a.1 0).down (a.1 1).down)) ^ d : |
| 725 | Γ((StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme, |
| 726 | (⊤ : (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme.Opens))ˣ) : |
| 727 | Γ((StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme, |
| 728 | (⊤ : (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1).toScheme.Opens))) = |
| 729 | f ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) (a.1 0).down (a.1 1).down ^ d : |
| 730 | Γ(Proj (homogeneousSubmodule σ R), |
| 731 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)ˣ) : |
| 732 | Γ(Proj (homogeneousSubmodule σ R), |
| 733 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)) |
| 734 | rw [← (Units.map f.toMonoidHom).map_zpow] |
| 735 | rfl |
| 736 | |
| 737 | /-- Multiplication by the first-chart transition unit on the structure-sheaf |
| 738 | factor of a full ordered Cech intersection. -/ |
| 739 | noncomputable def coordinateOpenCechFirstTransitionFactorEnd |
| 740 | [LinearOrder σ] {n : ℕ} |
| 741 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) : |
| 742 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor |
| 743 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 744 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R))) |
| 745 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (n + 1) a.1 ⟶ |
| 746 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor |
| 747 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 748 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R))) |
| 749 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (n + 1) a.1 := |
| 750 | baseModulePresheafObjUnitScalar |
| 751 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 752 | (StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1) |
| 753 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 754 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 755 | (R := R) a)).op |
| 756 | ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) (a.1 0).down (a.1 1).down ^ d : |
| 757 | Γ(Proj (homogeneousSubmodule σ R), |
| 758 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)ˣ) : |
| 759 | Γ(Proj (homogeneousSubmodule σ R), |
| 760 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down))) |
| 761 | |
| 762 | /-- In Laurent coordinates, the first-chart transition endomorphism is multiplication by the |
| 763 | restricted transition section. -/ |
| 764 | theorem coordinateOpenCechFirstTransitionFactorEnd_apply_laurent |
| 765 | [LinearOrder σ] {n : ℕ} |
| 766 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) (d : ℤ) |
| 767 | (x : Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor |
| 768 | (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 769 | (Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R))) |
| 770 | (StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (n + 1) a.1) : |
| 771 | StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseLaurentLinearEquiv (R := R) a.1 |
| 772 | (coordinateOpenCechFirstTransitionFactorEnd (R := R) a d x) = |
| 773 | StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseLaurentLinearEquiv (R := R) a.1 x * |
| 774 | StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseLaurentRingEquiv (R := R) a.1 |
| 775 | ((Proj (homogeneousSubmodule σ R)).presheaf.map |
| 776 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap |
| 777 | (R := R) a)).op |
| 778 | ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit |
| 779 | (R := R) (a.1 0).down (a.1 1).down ^ d : |
| 780 | Γ(Proj (homogeneousSubmodule σ R), |
| 781 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)ˣ) : |
| 782 | Γ(Proj (homogeneousSubmodule σ R), |
| 783 | CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down))) := by |
| 784 | let X := Proj (homogeneousSubmodule σ R) |
| 785 | let U := StandardCech.MvPolynomial.coordinateOpenCechIntersection (R := R) a.1 |
| 786 | let s : Γ(X, U) := X.presheaf.map |
| 787 | (homOfLE (coordinateOpenCechIntersection_le_firstOverlap (R := R) a)).op |
| 788 | ((CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit |
| 789 | (R := R) (a.1 0).down (a.1 1).down ^ d : |
| 790 | Γ(X, CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)ˣ) : |
| 791 | Γ(X, CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) (a.1 0).down (a.1 1).down)) |
| 792 | change StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseLaurentRingEquiv (R := R) a.1 |
| 793 | ((Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U s).val.app |
| 794 | (.op (Over.mk (𝟙 U))) x) = _ |
| 795 | change StandardCech.MvPolynomial.coordinateOpenCechIntersectionBaseLaurentRingEquiv (R := R) a.1 |
| 796 | ((show Γ(X, U) from x) * s) = _ |
| 797 | rw [map_mul] |
| 798 | rfl |
| 799 | |
| 800 | /-- Deleting a noninitial entry preserves the anchor frame on the smaller |
| 801 | standard intersection. -/ |
| 802 | theorem coordinateHyperplaneTwistCechTrivialization_restrict_delete_of_ne_zero |
| 803 | [LinearOrder σ] {n : ℕ} |
| 804 | (a : OrderedBaseCech.Scheme.Modules.OrderedCechIndex (ULift.{u} σ) (n + 1)) |
| 805 | (k : Fin (n + 2)) (hk : k ≠ 0) (j : σ) (d : ℤ) : |
| 806 | OpenFrames.Scheme.Modules.restrictOpenTrivialization |
| 807 | (coordinateOpenCechDelete_le (R := R) a k) |
| 808 | (coordinateHyperplaneTwistCechTrivialization |
| 809 | (R := R) (a.delete k).1 j d) = |
| 810 | coordinateHyperplaneTwistCechTrivialization (R := R) a.1 j d := by |
| 811 | obtain ⟨k, rfl⟩ := Fin.eq_succ_of_ne_zero hk |
| 812 | rw [coordinateHyperplaneTwistCechTrivialization, |
| 813 | OpenFrameTransitivity.Scheme.Modules.restrictOpenTrivialization_comp] |
| 814 | rfl |
| 815 | |
| 816 | end |
| 817 | |
| 818 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistCechFactors.MvPolynomial |