File size: 3,486 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.DegreePieces
import Mathlib.LinearAlgebra.Span.Basic

/-! # Localization Scalars -/

namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Module.LocalizationScalars.GradedModules

noncomputable section

/-! Module localization and its homogeneous degree pieces are compatible with restriction of the coefficient algebra. -/

universe u v w t

variable {R : Type u} [CommRing R] {A : Type v} [CommRing A] [Algebra R A]
variable {B : Type w} [CommRing B] [Algebra A B] [Algebra R B] [IsScalarTower R A B]
variable (M : Type t) [AddCommGroup M] [Module R M] [Module A M] [Module B M]
  [IsScalarTower R A M] [IsScalarTower R B M] [IsScalarTower A B M]

def awayModuleScalarEquiv (a : A) :
    Fractions.GradedModules.AwayModule a M ≃ₗ[R] Fractions.GradedModules.AwayModule (algebraMap A B a) M := by
  let f := (LocalizedModule.mkLinearMap (Submonoid.powers (algebraMap A B a)) M).restrictScalars A
  let : IsLocalizedModule (Submonoid.powers a) f :=
    IsLocalizedModule.restrictScalars_powers a (LocalizedModule.mkLinearMap _ M)
  exact (IsLocalizedModule.iso (Submonoid.powers a) f).restrictScalars R

theorem awayModuleScalarEquiv_fraction (a : A) (k : β„•) (m : M) :
    awayModuleScalarEquiv (R := R) (B := B) M a (Fractions.GradedModules.moduleFractionMap (R := R) a k m) =
      Fractions.GradedModules.moduleFractionMap (R := R) (algebraMap A B a) k m := by
  let f := (LocalizedModule.mkLinearMap (Submonoid.powers (algebraMap A B a)) M).restrictScalars A
  let : IsLocalizedModule (Submonoid.powers a) f :=
    IsLocalizedModule.restrictScalars_powers a (LocalizedModule.mkLinearMap _ M)
  rw [Fractions.GradedModules.moduleFractionMap_apply, Fractions.GradedModules.moduleFractionMap_apply]
  change IsLocalizedModule.mk' f m (Fractions.GradedModules.moduleDenominator a k) = _
  rw [← IsLocalizedModule.smul_inj f (Fractions.GradedModules.moduleDenominator a k), IsLocalizedModule.mk'_cancel']
  change LocalizedModule.mk m 1 = a ^ k β€’ LocalizedModule.mk m (Fractions.GradedModules.moduleDenominator (algebraMap A B a) k)
  rw [← algebraMap_smul B, map_pow, LocalizedModule.smul'_mk]
  exact (LocalizedModule.mk_cancel (Fractions.GradedModules.moduleDenominator (algebraMap A B a) k) m).symm

theorem awayModuleScalarEquiv_degree (β„³ : β„€ β†’ Submodule R M) (a : A) (e d : β„€) :
    (Localized.DegreePieces.GradedModules.localizedDegreePiece β„³ a e d).map (awayModuleScalarEquiv (R := R) (B := B) M a).toLinearMap =
      Localized.DegreePieces.GradedModules.localizedDegreePiece β„³ (algebraMap A B a) e d := by
  rw [Localized.DegreePieces.GradedModules.localizedDegreePiece, Localized.DegreePieces.GradedModules.localizedDegreePiece, Submodule.map_iSup]
  apply iSup_congr
  intro k
  rw [Localized.DegreePieces.GradedModules.localizedDegreeStage, Localized.DegreePieces.GradedModules.localizedDegreeStage, ← Submodule.map_comp]
  congr 1
  apply LinearMap.ext
  intro m
  exact awayModuleScalarEquiv_fraction M a k m

def awayModuleScalarDegreeEquiv (β„³ : β„€ β†’ Submodule R M) (a : A) (e d : β„€) :
    Localized.DegreePieces.GradedModules.localizedDegreePiece β„³ a e d ≃ₗ[R] Localized.DegreePieces.GradedModules.localizedDegreePiece β„³ (algebraMap A B a) e d :=
  (awayModuleScalarEquiv (R := R) (B := B) M a).ofSubmodules _ _ (awayModuleScalarEquiv_degree M β„³ a e d)

end

end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Module.LocalizationScalars.GradedModules