/
FiberBundle.agda
210 lines (160 loc) · 6.29 KB
/
FiberBundle.agda
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{-# OPTIONS --without-K #-}
module FiberBundle where
open import Basics
open import EqualityAndPaths
open import PropositionalTruncation
open import PullbackSquare
open import Homotopies
open import Im
open import FormalDiskBundle
open import EtaleMaps
open import Language
open import OneImage
open import DependentTypes
open import InfinityGroups
-- product property expressed by pullback square
_is-a-product-with-projections_and_ :
∀ {A B : U₀} (Z : U₀) (z₁ : Z → A) (z₂ : Z → B)
→ U₀
Z is-a-product-with-projections z₁ and z₂ =
pullback-square-with-right (λ a → ∗)
bottom (λ b → ∗)
top z₁
left z₂
_is-a-product-of_and_ :
(Z A B : U₀) → U₀
Z is-a-product-of A and B =
∑ (λ (z₁ : Z → A) →
∑ (λ (z₂ : Z → B) → Z is-a-product-with-projections z₁ and z₂))
_*_ : ∀ {E B B′ : U₀}
→ (f : B′ → B) → (φ : E → B) → U₀
f * φ = upper-left-vertex-of (complete-to-pullback-square φ f)
_*→_ : ∀ {E B B′ : U₀}
→ (f : B′ → B) → (φ : E → B) → ((f * φ) → B′)
f *→ φ = left-map-of (complete-to-pullback-square φ f)
^ = underlying-map-of-the-1-epimorphism
{-
a fiber bundle φ : E → B is required locally trivial,
which might be witnessed by a pullback square like this:
V×F ───→ E
| ⌟ |
v*φ φ
↓ ↓
V ──v─↠ B
-}
record _is-a_-fiber-bundle {E B : U₀} (φ : E → B) (F : U₀) : U₁ where
constructor on_the-pullback-along_is-trivial-by_and_
field
V : U₀
covering : V ↠ B
projection-to-the-fiber : (^ covering * φ) → F
the-pullback-is-a-product :
(^ covering * φ) is-a-product-with-projections
projection-to-the-fiber and (^ covering *→ φ)
covering-as-map :
∀ {E B F : U₀} {φ : E → B} (φ-as-bundle : φ is-a F -fiber-bundle)
→ _is-a_-fiber-bundle.V φ-as-bundle → B
covering-as-map φ-as-bundle = ^ (_is-a_-fiber-bundle.covering φ-as-bundle)
-- project to the square drawn in the comment above
covering-pullback-square :
∀ {E B F : U₀} {φ : E → B} (φ-as-bundle : φ is-a F -fiber-bundle)
→ pullback-square-with-right φ
bottom (covering-as-map φ-as-bundle)
top _
left ((covering-as-map φ-as-bundle) *→ φ)
covering-pullback-square {_} {_} {_} {φ} φ-as-bundle =
complete-to-pullback-square φ (covering-as-map φ-as-bundle)
module all-fiber-bundle-are-associated
{E B F : U₀} (φ : E → B) (φ-is-a-fiber-bundle : φ is-a F -fiber-bundle) where
{-
take the pullback-square witnessing the local triviality of φ
v*E ───→ E
| ⌟ |
v*φ φ
↓ ↓
V ──v─↠ B
-}
open _is-a_-fiber-bundle φ-is-a-fiber-bundle
v = covering-as-map φ-is-a-fiber-bundle
v*φ = v *→ φ
covering-square :
pullback-square-with-right φ
bottom v
top _
left v*φ
covering-square =
covering-pullback-square φ-is-a-fiber-bundle
{-
... and the product square for v*E:
v*E ─p─→ F
| ⌟ |
v*φ |
↓ ↓
V ────→ 1
-}
v*E = v * φ
p : v*E → F
p = projection-to-the-fiber
product-square-for-v*E = the-pullback-is-a-product
{-
switch to classifying maps, i.e. get:
1 ←─ V ─→ B
\ | /
\ | /
↘ ↓ ↙
U
-}
left-triangle : dependent-replacement v*φ ⇒ dependent-replacement (λ (x : F) → ∗) ∘ (λ (x : V) → ∗)
left-triangle =
pullbacks-are-fiberwise-equivalences.as-triangle-over-the-universe
product-square-for-v*E
right-triangle : dependent-replacement v*φ ⇒ dependent-replacement φ ∘ v
right-triangle =
pullbacks-are-fiberwise-equivalences.as-triangle-over-the-universe
covering-square
{-
compose with
1─────→ U
\ ↗
↘ / χ
BAut(F)
to get a epi/mono-square:
V ──1─→ BAut F
| |
(epi) v χ (mono)
↡ ↓
B ───φ──→ U
-}
χ : BAut F → U₀
χ = ι-BAut F
the-square-commutes : χ ∘ (λ (_ : V) → (F , ∣ (∗ , refl) ∣ )) ⇒ (dependent-replacement φ) ∘ v
the-square-commutes x = χ (F , ∣ ∗ , refl ∣)
≈⟨ refl ⟩
F
≈⟨ replacement-over-One-is-constant (λ (x₁ : F) → ∗) ⁻¹ ⟩
dependent-replacement (λ (x₁ : F) → ∗) ∗
≈⟨ left-triangle x ⁻¹ ⟩
dependent-replacement v*φ x
≈⟨ right-triangle x ⟩
(dependent-replacement φ ∘ v) x ≈∎
{-
get the diagonal
-}
diagonal : B → BAut F
diagonal = 1-mono/1-epi-lifting.lift
χ (dependent-replacement φ) (λ x → (F , ∣ (∗ , refl) ∣ )) v
ι-BAut-is-1-mono (proof-that covering is-1-epi)
the-square-commutes
{-
the diagonal is a morphism over U₀
B ───→ BAut F
\ /
\ /
U₀
-}
as-U₀-morphism :
dependent-replacement φ ⇒ χ ∘ diagonal
as-U₀-morphism = 1-mono/1-epi-lifting.lower-triangle χ (dependent-replacement φ)
(λ x → F , ∣ ∗ , refl ∣) v ι-BAut-is-1-mono
proof-that covering is-1-epi
the-square-commutes ⁻¹⇒