Skip to content

Commit 3161e95

Browse files
committed
wip
1 parent f524f55 commit 3161e95

File tree

5 files changed

+13
-14
lines changed

5 files changed

+13
-14
lines changed

foundations/modal/modality/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
<span class="h__symbol">(</span>propIsModal <span class="h__symbol">:</span> Π <span class="h__symbol">(</span>A <span class="h__symbol">:</span> <span class="h__keyword">U</span><span class="h__symbol">)</span>, Π <span class="h__symbol">(</span>a b <span class="h__symbol">:</span> isModal A<span class="h__symbol">)</span>,
2929
<span class="h__keyword">PathP</span> <span class="h__symbol">(</span><_>isModal A<span class="h__symbol">)</span> a b<span class="h__symbol">)</span>
3030
<span class="h__symbol">(=</span>-Modal <span class="h__symbol">:</span> Π <span class="h__symbol">(</span>A <span class="h__symbol">:</span> <span class="h__keyword">U</span><span class="h__symbol">)</span> <span class="h__symbol">(</span>x y <span class="h__symbol">:</span> modality A<span class="h__symbol">)</span>,
31-
isModal <span class="h__symbol">(</span><span class="h__keyword">PathP</span> <span class="h__symbol">(</span><_>modality A<span class="h__symbol">)</span> x y<span class="h__symbol">))</span>, 𝟏</code><br><h1>LITERATURE</h1><p>[1]. E.Rijke, M.Shulman, B.Spitters. <a href="https://arxiv.org/pdf/1706.07526.pdf">
32-
Modalities in Homotopy Type Theory</a>.<br>
31+
isModal <span class="h__symbol">(</span><span class="h__keyword">PathP</span> <span class="h__symbol">(</span><_>modality A<span class="h__symbol">)</span> x y<span class="h__symbol">))</span>, 𝟏</code><br><h1>LITERATURE</h1><p style="font-size:14px;">[1]. E.Rijke, M.Shulman, B.Spitters. <a href="https://arxiv.org/pdf/1706.07526.pdf">Modalities in Homotopy Type Theory</a>.<br>
32+
[2]. Daniel R. Licata, Michael Shulman, Mitchell Riley. (2017). <a href="https://dlicata.wescreates.wesleyan.edu/pubs/lsr17multi/lsr17multi-ex.pdf">A Fibrational Framework for Substructural and Modal Logics</a><br>
3333
</p></section></div></article><footer class="footer"><a href="https://5ht.co/license/"><img class="footer__logo" src="https://longchenpa.guru/seal.png" width="50"></a><span class="footer__copy">2021&mdash;2025 &copy; <a rel="me" href="https://mathstodon.xyz/@5ht">Namdak Tönpa</a></span></footer>

foundations/modal/modality/index.pug

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ block content
5656
br.
5757

5858
h1 LITERATURE
59-
p.
60-
[1]. E.Rijke, M.Shulman, B.Spitters. <a href="https://arxiv.org/pdf/1706.07526.pdf">
61-
Modalities in Homotopy Type Theory</a>.<br>
59+
p(style="font-size:14px;").
60+
[1]. E.Rijke, M.Shulman, B.Spitters. <a href="https://arxiv.org/pdf/1706.07526.pdf">Modalities in Homotopy Type Theory</a>.<br>
61+
[2]. Daniel R. Licata, Michael Shulman, Mitchell Riley. (2017). <a href="https://dlicata.wescreates.wesleyan.edu/pubs/lsr17multi/lsr17multi-ex.pdf">A Fibrational Framework for Substructural and Modal Logics</a><br>
6262

6363
include ../../../footer.pug

lib/mathematics/analysis/topology.anders

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ def isSetPi₁' (A: U₁) (B: A → U) (h: Π (x: A), isSet (B x)) : isSet₁ (
2424
def Prop := U → 𝟐
2525
def ℙ (X: U₁) := X → Prop
2626

27-
def isSet-ℙ (X: U₁)
28-
: isSet₁ (ℙ X)
29-
:= isSetPi₁ X (λ (x: X), Prop) (λ (x: X), isSetPi₁' U (λ (_: U), 𝟐) (λ (_: U), boolset))
30-
31-
axiom specify (X: U₁) : (X → Prop) → ℙ X
32-
3327
def ∅ (X: U₁) : ℙ X := \ (_: X) (_: U), false
3428
def total (X: U₁) : ℙ X := \ (_: X) (_: U), true
3529
def ∈ (X: U₁) (el: X) (set: ℙ X) : U₁ := Path₁ (U → 𝟐) (set el) (\(_: U), true)
@@ -38,3 +32,9 @@ def ⊆ (X: U₁) (A B: ℙ X) := Π (x: X), (∈ X x A) × (∈ X x B)
3832
def ∁ (X: U₁) : ℙ X → ℙ X := λ (h : ℙ X), λ (x: X) (Y: U), not (h x Y)
3933
def ∪ (X: U₁) : ℙ X → ℙ X → ℙ X := λ (h1 : ℙ X) (h2: ℙ X), λ (x: X) (Y: U), or (h1 x Y) (h2 x Y)
4034
def ∩ (X: U₁) : ℙ X → ℙ X → ℙ X := λ (h1 : ℙ X) (h2: ℙ X), λ (x: X) (Y: U), and (h1 x Y) (h2 x Y)
35+
36+
def isSet-ℙ (X: U₁)
37+
: isSet₁ (ℙ X)
38+
:= isSetPi₁ X (λ (x: X), Prop) (λ (x: X), isSetPi₁' U (λ (_: U), 𝟐) (λ (_: U), boolset))
39+
40+
axiom specify (X: U₁) : (X → Prop) → ℙ X

lib/mathematics/categories/symmetric.anders

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ def isMonoidal (C: precategory): U
1616
(tensor₁: C.C.ob)
1717
(left₁: Π (x: C.C.ob), Path (C.C.ob) x (tensor.ob (tensor₁,x)))
1818
(right₁: Π (x: C.C.ob), Path (C.C.ob) x (tensor.ob (x,tensor₁)))
19-
(associator: Π (x y z: C.C.ob),
20-
Path (C.C.ob) (tensor.ob ((tensor.ob (x,y)),z)) (tensor.ob (x,(tensor.ob (y,z)))))
19+
(associator: Π (x y z: C.C.ob), Path (C.C.ob) (tensor.ob ((tensor.ob (x,y)),z)) (tensor.ob (x,(tensor.ob (y,z)))))
2120
(triangle: Π (x y: C.C.ob), 𝟏)
2221
(pentagon: Π (x y z w: C.C.ob), 𝟏), 𝟏
2322

lib/mathematics/homotopy/S1.anders

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def loop : Path S¹ base base := resp 𝟏 𝟏 (id 𝟏) (id 𝟏) ★
1010
-- [Sokhatsky] 2022
1111

1212
def Loop₀ : U := PathP (<_>𝟐) false false
13-
def Rec : 𝟐 -> U := λ (x : 𝟐), 2-rec U 𝟎 Loop₀ x
13+
def Rec : 𝟐 -> U := 2-rec U 𝟎 Loop₀
1414
def WS¹ : U := W (x : 𝟐), Rec x
1515
def Wbase : WS¹ := sup 𝟐 Rec false (ind₀ WS¹)
1616
def Wloop (n : WS¹) : WS¹ := sup 𝟐 Rec true (λ (x : Loop₀), n)

0 commit comments

Comments
 (0)