cfahlgren1/math / lean /OAI /NumberTheory /PiExponent /Geometry /WeightedLocalSheaf.lean
cfahlgren1's picture
download
raw
5.87 kB
16
def monomialSheaf
    {A K : Type u} {ι : Type*} [CommRing A] [Field K] [Algebra A K]
    [Fintype ι] (x : ι → Kˣ) (monomials : Finset (ι → ℕ)) :
    (Spec (CommRingCat.of A)).Modules :=
body · 1 line
  tilde (ModuleCat.of A (monomialLattice A x monomials))
22
def monomialFrame
    {A K : Type u} {ι : Type*} [CommRing A] [IsDomain A] [IsDiscreteValuationRing A]
    [Field K] [Algebra A K] [IsFractionRing A K] [Fintype ι]
    (x : ι → Kˣ) (monomials : Finset (ι → ℕ)) (hzero : 0 ∈ monomials) :
    monomialSheaf (A := A) x monomials ≅ structureSheaf (Spec (CommRingCat.of A)) :=
body · 3 lines
  (tilde.functor (CommRingCat.of A)).mapIso
    (monomialLattice_rank_one (A := A) x monomials hzero).some.symm.toModuleIso ≪≫
      tildeSelf
31
def monomialLineBundle
    {A K : Type u} {ι : Type*} [CommRing A] [IsDomain A] [IsDiscreteValuationRing A]
    [Field K] [Algebra A K] [IsFractionRing A K] [Fintype ι]
    (x : ι → Kˣ) (monomials : Finset (ι → ℕ)) (hzero : 0 ∈ monomials) :
    LineBundle (Spec (CommRingCat.of A)) where
body · 5 lines
  sheaf := monomialSheaf x monomials
  locallyRankOne _ := ⟨⊤, trivial, ⟨
    (Scheme.Modules.restrictFunctor (⊤ : (Spec (CommRingCat.of A)).Opens).ι).mapIso
      (monomialFrame x monomials hzero) ≪≫
        Scheme.Modules.restrictUnitIso (⊤ : (Spec (CommRingCat.of A)).Opens).ι⟩⟩
42
def monomialSectionMap
    {A K : Type*} {ι : Type*} [CommRing A] [Field K] [Algebra A K]
    [Fintype ι] (x : ι → Kˣ) (monomials : Finset (ι → ℕ))
    (a : ι → ℕ) (ha : a ∈ monomials) : A →ₗ[A] monomialLattice A x monomials where
body · 4 lines
  toFun c := ⟨c • ((∏ i, x i ^ a i : Kˣ) : K),
    Submodule.smul_mem _ c (Submodule.subset_span ⟨a, ha, rfl⟩)⟩
  map_add' c d := by ext; simp [add_smul]
  map_smul' c d := by ext; simp [mul_smul]
51
def monomialSection
    {A K : Type u} {ι : Type*} [CommRing A] [Field K] [Algebra A K]
    [Fintype ι] (x : ι → Kˣ) (monomials : Finset (ι → ℕ))
    (a : ι → ℕ) (ha : a ∈ monomials) :
    structureSheaf (Spec (CommRingCat.of A)) ⟶ monomialSheaf (A := A) x monomials :=
body · 2 lines
  tildeSelf.inv ≫ (tilde.functor (CommRingCat.of A)).map
    (ModuleCat.ofHom (monomialSectionMap x monomials a ha))
59
def generatedSheaf
    {A K : Type u} {ι : Type*} [CommRing A] [Field K] [Algebra A K]
    (y : ι → K) (s : Finset ι) : (Spec (CommRingCat.of A)).Modules :=
body · 1 line
  tilde (ModuleCat.of A (generatedLattice A y s))
64
def generatedSectionMap
    {A K : Type*} {ι : Type*} [CommRing A] [Field K] [Algebra A K]
    (y : ι → K) (s : Finset ι) (a : ι) (ha : a ∈ s) :
    A →ₗ[A] generatedLattice A y s where
body · 3 lines
  toFun c := ⟨c • y a, Submodule.smul_mem _ c (Submodule.subset_span ⟨a, ha, rfl⟩)⟩
  map_add' c d := by ext; simp [add_smul]
  map_smul' c d := by ext; simp [mul_smul]
72
theorem generatedSectionMap_bijective_of_span
    {A K : Type*} {ι : Type*} [CommRing A] [IsDomain A]
    [Field K] [Algebra A K] [IsFractionRing A K]
    (y : ι → K) (s : Finset ι) (a : ι) (ha : a ∈ s) (hya : y a ≠ 0)
    (hspan : generatedLattice A y s = Submodule.span A {y a}) :
    Function.Bijective (generatedSectionMap (A := A) y s a ha) := by
proof · 10 lines
  constructor
  · intro c d h
    have h' := congrArg (fun z : generatedLattice A y s => (z : K)) h
    change c • y a = d • y a at h'
    simp only [Algebra.smul_def] at h'
    exact IsFractionRing.injective A K (mul_right_cancel₀ hya h')
  · intro z
    have hz := hspan.le z.2
    obtain ⟨c, hc⟩ := Submodule.mem_span_singleton.mp hz
    exact ⟨c, Subtype.ext hc⟩
89
def generatedSection
    {A K : Type u} {ι : Type*} [CommRing A] [Field K] [Algebra A K]
    (y : ι → K) (s : Finset ι) (a : ι) (ha : a ∈ s) :
    structureSheaf (Spec (CommRingCat.of A)) ⟶ generatedSheaf (A := A) y s :=
body · 2 lines
  tildeSelf.inv ≫ (tilde.functor (CommRingCat.of A)).map
    (ModuleCat.ofHom (generatedSectionMap y s a ha))
96
theorem generatedSection_isIso_of_minimum
    {A K : Type u} {ι : Type*} [CommRing A] [IsDomain A] [IsDiscreteValuationRing A]
    [Field K] [Algebra A K] [IsFractionRing A K]
    (y : ι → K) (s : Finset ι) (a : ι) (ha : a ∈ s) (hya : y a ≠ 0)
    (hmin : ∀ b ∈ s, CurveLocalOrder.fractionAddValuation A K (y a) ≤
      CurveLocalOrder.fractionAddValuation A K (y b)) :
    IsIso (generatedSection (A := A) y s a ha) := by
proof · 5 lines
  let e : A ≃ₗ[A] generatedLattice A y s := LinearEquiv.ofBijective
    (generatedSectionMap (A := A) y s a ha)
    (generatedSectionMap_bijective_of_span y s a ha hya
      (generatedLattice_eq_span_of_minimum y s a ha hya hmin))
  exact (tildeSelf.symm ≪≫ (tilde.functor (CommRingCat.of A)).mapIso e.toModuleIso).isIso_hom
109
def generatedLineBundle
    {A K : Type u} {ι : Type*} [CommRing A] [IsDomain A] [IsDiscreteValuationRing A]
    [Field K] [Algebra A K] [IsFractionRing A K]
    (y : ι → K) (s : Finset ι) (a : ι) (ha : a ∈ s) (hya : y a ≠ 0)
    (hmin : ∀ b ∈ s, CurveLocalOrder.fractionAddValuation A K (y a) ≤
      CurveLocalOrder.fractionAddValuation A K (y b)) :
    LineBundle (Spec (CommRingCat.of A)) := by
body · 5 lines
  letI := generatedSection_isIso_of_minimum y s a ha hya hmin
  refine ⟨generatedSheaf y s, fun p => ⟨⊤, trivial, ⟨?_⟩⟩⟩
  exact (Scheme.Modules.restrictFunctor (⊤ : (Spec (CommRingCat.of A)).Opens).ι).mapIso
    (asIso (generatedSection (A := A) y s a ha)).symm ≪≫
      Scheme.Modules.restrictUnitIso (⊤ : (Spec (CommRingCat.of A)).Opens).ι

Xet Storage Details

Size:
5.87 kB
·
Xet hash:
e9d9951d07bbe08d82a9b4b904d862a01c288d694a65e23b474556911f360f10

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.