-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSmoke.agda
More file actions
364 lines (336 loc) · 6.28 KB
/
Copy pathSmoke.agda
File metadata and controls
364 lines (336 loc) · 6.28 KB
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
{-# OPTIONS --safe --without-K #-}
-- Headline-theorem manifest. Pins the load-bearing names from each bridge
-- module via `using` clauses so a silent rename or deletion fails CI fast,
-- even if the rest of the suite still typechecks.
module Smoke where
open import Echo using
( Echo
; echo-intro
; map-over
; map-over-id
; map-over-comp
; map-square
; Echo-comp-iso-to
; Echo-comp-iso-from
; Echo-comp-iso-from-to
; Echo-comp-iso-to-from
; cancel-iso-to
; cancel-iso-from
; cancel-iso-from-to
; cancel-iso-to-from
; hom-natural-id
; Echo-comp-iso-pent-B
; Echo-comp-iso-pent-echo
; Echo-comp-pent-Σ-assoc-to
; Echo-comp-pent-Σ-assoc-from
; Echo-comp-pent-Σ-assoc-from-to
; Echo-comp-pent-Σ-assoc-to-from
)
open import EchoCharacteristic using (collapse; echo-true; echo-false; echo-true≢echo-false)
open import EchoResidue using (EchoR; collapse-to-residue; strict-weakening-collapse; no-section-collapse-to-residue)
open import EchoExamples using (square9; visible; quot; collapse-residue-identifies)
open import EchoApprox using
( Tolerance
; PseudoMetric
; module Approx
)
open import EchoIndexed using
( Echoᵢ
; echoᵢ-intro
; forget-role
; role-sound
; map-role-indexed
; map-role-indexed-id
; map-role-indexed-comp
; forget-role-map-role-indexed
)
open import EchoDecidable using
( EchoDec
; echo-dec-intro
; echo-dec-pull
; echo-dec-respect-≡
; echo-dec-fin
; echo-dec-compose-iso
; echo-dec-compose-fin
)
open import EchoChoreo using
( Role
; Global
; obs
; RoleEcho
; client-non-injective
; server-non-injective
; client-to-server
; client-stability
; client-preimage-class
; _⊑c_
; ⊑c-trans
; ⊑c-prop
; applyChoreo
; applyChoreo-comp
; _⊔c_
; ⊑c-⊔c-left
; ⊑c-⊔c-right
; ⊑c-⊔c-univ
; applyChoreo-compose
; applyChoreo-via-join
)
open import EchoEpistemic using
( Indist
; Knows
; knowledge-monotone
; not-knows-server-true-at-client-true
; shared-echo-from-indist
; indist-from-two-echoes
)
open import EchoLinear using
( Mode
; LEcho
; weaken
; strict-linear-example
; no-section-weaken
; _≤m_
; ≤m-trans
; ≤m-prop
; _⊔m_
; ≤m-⊔m-left
; ≤m-⊔m-right
; ≤m-⊔m-univ
; degradeMode
; degradeMode-comp
; degradeMode-compose
; degradeMode-via-join
)
open import EchoGraded using
( Grade
; degrade
; degrade-comp
; ⊔g-assoc
; ≤g-prop
; ≤g-⊔g-left
; ≤g-⊔g-right
; ≤g-⊔g-univ
; degrade-compose
; degrade-via-join
)
open import EchoTropical using
( Candidate
; score
; tropical-non-injective
; IsArgmin
; TropEcho
; distinct-candidates-same-visible-distinct-echo
)
open import EchoIntegration using
( knowledge-preserved-under-choreo
; merged-at-residue
; no-recovery-after-residue-degrade
; knowledge-and-controlled-degradation
)
open import EchoOrdinal using
( ordinal-collapse
; ordinal-left
; ordinal-right
; ordinal-left≢ordinal-right
; ordinal-collapse-non-injective
; ordinal-echo-left
; ordinal-echo-right
; ordinal-echo-left≢ordinal-echo-right
; distinct-provenances-same-visible
; ordinal-psi-arg-bzero
; ordinal-psi-arg-omega1
; ordinal-psi-args-distinct
; ordinal-psi-arg-collapse-agree
; ordinal-echo-psi-bzero
; ordinal-echo-psi-omega1
; ordinal-echo-psi-distinct
; no-section-ordinal-collapse
; IsZeroSource
; ordinal-collapse-classification
)
open import Ordinal.Base using
( OT
; zero
; omega
; plus
; psi
)
open import Ordinal.Closure using
( C
; c-zero
; c-omega
; c-plus
; c-psi
; C-monotone
)
open import Ordinal.CNF using
( CNF
; czero
; _∷_
; _<ᶜ_
; <-zero-cons
; <-head
; <-tail
; <ᶜ-irrefl
; <ᶜ-trans
; cnf-trichotomy
)
open import Ordinal.PsiSimple using
( psi-notin-C
; psi-least
)
open import Ordinal.Brouwer using
( Ord
; oz
; osuc
; olim
; _≤_
; _<_
; ≤-refl
; ≤-suc
; ≤-lim
; ≤-zero
; ≤-trans
; ≤-osuc
; f-in-lim
; <-suc-self
; <-trans
; pred-of-osuc
; pred-of-olim
; wf-<
; <-irrefl
; oz<one
; one<two
; oz<two
; one<ω
)
open import Ordinal.Brouwer.Arithmetic using
( _⊕_
; nat-to-ord
; ω-rank
; psi-rank
; ⊕-oz-left
; ω-rank-fin0
; ω-rank-fin1
)
open import Ordinal.OmegaMarkers using
( OmegaIndex
; fin
; ω
; _≤Ω_
; fin≤fin
; fin≤ω
; ω≤ω
; ≤Ω-refl
; ≤Ω-trans
; _<Ω_
; fin<fin
; fin<ω
; <Ω-irrefl
; <Ω-trans
; <Ω→≤Ω
; ≤Ω-<Ω-trans
; <Ω-≤Ω-trans
; ≤Ω-split
; Omega0
; Omega1
; Omegaω
; Omega0≤Omega1
; Omega0≤Omegaω
; Omega1≤Omegaω
; Omega0<Omega1
; Omega0<Omegaω
; Omega1<Omegaω
)
open import Ordinal.Buchholz.Syntax using
( BT
; bzero
; bOmega
; bplus
; bpsi
; psi0
)
open import Ordinal.Buchholz.Closure using
( Cν
; cν-zero
; cν-omega
; cν-plus
; cν-psi
; Cν-monotone
; Cν-index-monotone
; Cν-monotone-both
; cν-omega-index
; cν-psi-index
; cν-psi-decompose
)
open import Ordinal.Buchholz.Order using
( _<ᵇ_
; <ᵇ-0-Ω
; <ᵇ-0-+
; <ᵇ-0-ψ
; <ᵇ-ΩΩ
; <ᵇ-Ωψ
; <ᵇ-ψΩ
; <ᵇ-ψΩ≤
; <ᵇ-Ω+
; <ᵇ-ψ+
; <ᵇ-+Ω
; <ᵇ-+ψ
; <ᵇ-+ω
; <ᵇ-+ψω
; <ᵇ-+1
; <ᵇ-irrefl
; <ᵇ-trans
; <ᵇ-inv-Ω+
; <ᵇ-inv-+Ω
; <ᵇ-inv-+Ωfin
; <ᵇ-inv-+Ωω
; <ᵇ-inv-ψ+
; <ᵇ-inv-+ψ
; <ᵇ-inv-+ψfin
; <ᵇ-inv-+ψω
; bzero<Ω0
; Ω0<Ω1
; Ω1<Ωω
; Ω0<ψ1-zero
)
open import Ordinal.Buchholz.Psi using
( psiν-notin-Cν
; psiν-stage-lb
; psiν-index-bound
; psiν-at-succ
; psiν-least-gap
)
open import Ordinal.Buchholz.Examples using
( bh-psi0-omega1
; bh-psi0-omegaω
; psi0-expands
; psi0-Omega1-target
; omega1-in-C1-at-0
; psi0-omega1-at-1-in-C1
; psi0-omega1-not-at-0-in-C1
; psi0-omega1-stage-lb-in-C1
; omega1-in-Cω-at-0
; psi0-omega1-at-1
; psi0-omega1-not-at-0
)
open import Ordinal.Buchholz.WellFounded using
( <Ω-wf
; wf-<ᵇ
; <ᵇ-irreflexive
)
open import Ordinal.Buchholz.Smoke using ()
open import Ordinal.Buchholz.WellFormed using
( WfΩ
; WfBT
; wf-fin
; wf-ω
; wf-bzero
; wf-bomega
; wf-bplus
; wf-bpsi
; BH
; BH-wf
; psi-OmegaOmega
; psi-OmegaOmega-wf
)