File size: 6,799 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.Frames

/-! # Frame Comparison -/

namespace OAI.AlgebraicGeometry.Divisors.LineBundles

noncomputable section

section

/-!
# LineBundleCycles: transition units compatible with all ambient-open restrictions

The units are computed from the genuine linear frames of module sections.
Their restriction law is proved using the naturality of those frames.
-/

open _root_.CategoryTheory _root_.AlgebraicGeometry

namespace LineBundle.FrameComparison.Cycles.LineBundleConstruction

variable {R S M N : Type*} [CommRing R] [CommRing S]
  [AddCommGroup M] [Module R M] [AddCommGroup N] [Module S N]

theorem rankOneLinearEquiv_apply (e : R ≃ₗ[R] R) (r : R) : e r = r * e 1 := by
  simpa only [smul_eq_mul, mul_one] using e.map_smul r 1

/-- An automorphism of a free rank-one module is multiplication by this unit. -/
def rankOneLinearEquivUnit (e : R ≃ₗ[R] R) : RΛ£ where
  val := e 1
  inv := e.symm 1
  val_inv := by rw [← rankOneLinearEquiv_apply, e.symm_apply_apply]
  inv_val := by rw [← rankOneLinearEquiv_apply, e.apply_symm_apply]

theorem rankOneLinearEquivUnit_trans (e f : R ≃ₗ[R] R) :
    rankOneLinearEquivUnit (e.trans f) = rankOneLinearEquivUnit e * rankOneLinearEquivUnit f := by
  apply Units.ext
  exact rankOneLinearEquiv_apply f (e 1)

/-- Transition coordinates with `e(m) = g(e,f) * f(m)`.
Thus the generator belonging to `f` is `g(e,f)` times the generator belonging to `e`. -/
def frameTransitionUnit (e f : M ≃ₗ[R] R) : RΛ£ :=
  rankOneLinearEquivUnit (f.symm.trans e)

theorem frameTransitionUnit_coordinates (e f : M ≃ₗ[R] R) (m : M) :
    e m = (frameTransitionUnit e f : R) * f m := by
  have h := rankOneLinearEquiv_apply (f.symm.trans e) (f m)
  change e m = e (f.symm 1) * f m
  simpa only [LinearEquiv.trans_apply, f.symm_apply_apply, mul_comm] using h

theorem frameTransitionUnit_cocycle (e f g : M ≃ₗ[R] R) :
    frameTransitionUnit e f * frameTransitionUnit f g = frameTransitionUnit e g := by
  unfold frameTransitionUnit
  rw [mul_comm, ← rankOneLinearEquivUnit_trans]
  congr 1
  ext r
  simp

/-- Compatibility of the frames with a restriction map forces compatibility of units. -/
theorem frameTransitionUnit_map (Ο„ : R β†’+* S) (Ο† : M β†’ N)
    (e f : M ≃ₗ[R] R) (e' f' : N ≃ₗ[S] S)
    (he : βˆ€ m, e' (Ο† m) = Ο„ (e m)) (hf : βˆ€ m, f' (Ο† m) = Ο„ (f m)) :
    Units.map Ο„.toMonoidHom (frameTransitionUnit e f) = frameTransitionUnit e' f' := by
  apply Units.ext
  change Ο„ (e (f.symm 1)) = e' (f'.symm 1)
  have hm : Ο† (f.symm 1) = f'.symm 1 := by
    apply f'.injective
    rw [hf, f.apply_symm_apply, map_one, f'.apply_symm_apply]
  rw [← he, hm]

end LineBundle.FrameComparison.Cycles.LineBundleConstruction

variable {X : Scheme.{0}} (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X)

/-- The chosen actual sheaf frame, evaluated on any smaller ambient open. -/
def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.sectionFrame (x : X) (W : X.Opens) (h : W ≀ L.trivializingOpen x) :
    Ξ“(L.sheaf, W) ≃ₗ[Ξ“(X, W)] Ξ“(X, W) :=
  LineBundle.Frames.Cycles.LineBundleConstruction.frameOnOpen L.sheaf (L.trivializingOpen x) (L.trivialization x) W h

theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.sectionFrame_naturality (x : X) {V W : X.Opens}
    (hVW : V ≀ W) (hW : W ≀ L.trivializingOpen x) (m : Ξ“(L.sheaf, W)) :
    L.sectionFrame x V (hVW.trans hW) (L.sheaf.presheaf.map (homOfLE hVW).op m) =
      X.presheaf.map (homOfLE hVW).op (L.sectionFrame x W hW m) :=
  LineBundle.Frames.Cycles.LineBundleConstruction.frameOnOpen_naturality L.sheaf (L.trivializingOpen x) (L.trivialization x) hVW hW m

/-- Actual transition functions as units of the original scheme's section rings. -/
def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.ambientTransitionOn (x y : X) (W : X.Opens)
    (hx : W ≀ L.trivializingOpen x) (hy : W ≀ L.trivializingOpen y) :
    Ξ“(X, W)Λ£ :=
  LineBundle.FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit (L.sectionFrame x W hx) (L.sectionFrame y W hy)

theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.ambientTransitionOn_cocycle (x y z : X) (W : X.Opens)
    (hx : W ≀ L.trivializingOpen x) (hy : W ≀ L.trivializingOpen y)
    (hz : W ≀ L.trivializingOpen z) :
    L.ambientTransitionOn x y W hx hy * L.ambientTransitionOn y z W hy hz =
      L.ambientTransitionOn x z W hx hz :=
  LineBundle.FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_cocycle _ _ _

theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.ambientTransitionOn_restrict (x y : X) {V W : X.Opens}
    (hVW : V ≀ W) (hx : W ≀ L.trivializingOpen x) (hy : W ≀ L.trivializingOpen y) :
    Units.map (X.presheaf.map (homOfLE hVW).op).hom.toMonoidHom
      (L.ambientTransitionOn x y W hx hy) =
        L.ambientTransitionOn x y V (hVW.trans hx) (hVW.trans hy) :=
  LineBundle.FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_map (X.presheaf.map (homOfLE hVW).op).hom
    (L.sheaf.presheaf.map (homOfLE hVW).op)
    (L.sectionFrame x W hx) (L.sectionFrame y W hy)
    (L.sectionFrame x V (hVW.trans hx)) (L.sectionFrame y V (hVW.trans hy))
    (L.sectionFrame_naturality x hVW hx) (L.sectionFrame_naturality y hVW hy)

end

/-! # LineBundleCycles: actual rank-one frame comparisons under identity, transport, and four-frame composition -/

open _root_.AlgebraicGeometry _root_.CategoryTheory

namespace LineBundle.FrameComparison.Cycles.LineBundleConstruction

variable {R M N : Type*} [CommRing R] [AddCommGroup M] [Module R M]
    [AddCommGroup N] [Module R N]

theorem frameTransitionUnit_self (e : M ≃ₗ[R] R) : frameTransitionUnit e e = 1 := by
  apply Units.ext
  exact e.apply_symm_apply 1

theorem frameTransitionUnit_precompose (e : M ≃ₗ[R] N) (f g : N ≃ₗ[R] R) :
    frameTransitionUnit (e.trans f) (e.trans g) = frameTransitionUnit f g := by
  apply Units.ext
  change f (e (e.symm (g.symm 1))) = f (g.symm 1)
  rw [e.apply_symm_apply]

theorem frameTransitionUnit_four (e f g h : M ≃ₗ[R] R) :
    frameTransitionUnit e f * frameTransitionUnit f g =
      frameTransitionUnit e h * frameTransitionUnit h g :=
  (frameTransitionUnit_cocycle e f g).trans (frameTransitionUnit_cocycle e h g).symm

end LineBundle.FrameComparison.Cycles.LineBundleConstruction

theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.ambientTransitionOn_self {X : Scheme.{0}} (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X)
    (x : X) (W : X.Opens) (hW : W ≀ L.trivializingOpen x) : L.ambientTransitionOn x x W hW hW = 1 :=
  LineBundle.FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_self _

end

end OAI.AlgebraicGeometry.Divisors.LineBundles