favonia
Cubical
Type Theory
1
Cubical Type Theory favonia 1 2 t f 2 t f 2 t - - PowerPoint PPT Presentation
Cubical Type Theory favonia 1 2 t f 2 t f 2 t f 2 t f 4 0 7 3 8 1 5 2 6 2 t f 4 0 7 3 8 1 5 2 6 2 3 3 3 3
favonia
Cubical
Type Theory
1
2
πΊ t f
2
πΊ t f β
2
πΊ t f β β
2
πΊ t f β β β 1 2 3 4 7 5 6 8 β¦
2
πΊ t f β β β 1 2 3 4 7 5 6 8 β¦ β β β β¦
2
3
3
3
3
3
3
2 4 6 8 1 3 5 7 9 quotient
4
2 4 6 8 1 3 5 7 9 quotient
4
2 4 6 8 1 3 5 7 9 quotient
4
universe
5
πΊ id not universe
5
πΊ id not β+β id swap universe
5
πΊ id not β+β id swap βββ β¦ β β universe
5
base l
circle (homotopy theory)
6
7
M A
8
1 M A
8
i 1 M A
8
i j M A
9
A M
10
i j
11
i j
M[0/j] M[1/j] M[1/i] M[0/i]
11
i j
M[0/j] M[1/j] M[1/i] M[0/i] M[i/j]
11
N0 N
1
A M
functions from π
12
i:π β¦ M : A M[0/i] β‘ N0 : A[0/i] M[1/i] β‘ N1 : A[1/i] Ξ»i.M : Pathi.A(N0,N1)
N0 N
1
A M
13
i:π β¦ M : A M[0/i] β‘ N0 : A[0/i] M[1/i] β‘ N1 : A[1/i] Ξ»i.M : Pathi.A(N0,N1) P : Pathi.A(N0,N1) r:π P@r : A[r/i] P@0 β‘ N0 : A[0/i]
N0 N
1
A M
P@1 β‘ N1 : A[1/i]
13
i:π β¦ M : A M[0/i] β‘ N0 : A[0/i] M[1/i] β‘ N1 : A[1/i] Ξ»i.M : Pathi.A(N0,N1) P : Pathi.A(N0,N1) r:π P@r : A[r/i] P β‘ Ξ»i.P@i : Pathi.A(N0,N1) P@0 β‘ N0 : A[0/i]
N0 N
1
A M
P@1 β‘ N1 : A[1/i] (Ξ»i.M)@r β‘ M[r/i] : A[r/i]
13
h : Ξ (x:A). Path(F(x), G(x)) Ξ»i.Ξ»x.h(x)@i : Path(F, G)
function extensionality
almost trivial
14
15
M A N IdA(M,N) reflM : IdA(M,M)
the only generator
16
suc induction step zero base case refl refl case mathematical induction βJβ: induction principle for Id
17
(A β B) β IdU(A, B)
A B IdU(A, B) A β B as axiom
18
(A β B) β IdU(A, B) (A β B) β IdU(A, B)
A B IdU(A, B) A β B as axiom
18
base circle base : circle loop : Idcircle(base, base) l
19
r e fl univalence loop β¦ J w i t h
l y
normalization in danger* J(loop) β‘ ???
*most experts believe the normalization fails
refl case
20
Id/Path should reflect existing paths, not inducing new ones
21
base circle base : circle i:π β¦ loopi : circle
loopi
loop0 β‘ base : circle loop1 β‘ base : circle
i
l
22
A B Vi(A, B, E) E : A β B (when i = 0)* as a type
*see [AFH] (not recommended as the first paper to read)
23
(then internalized by Path/Id)
24
25
concatenation?
26
concatenation?
26
concatenation?
26
Kan filling for cubes
27
Kan filling for cubes
27
Kan filling for cubes
constant
concatenation
27
Kan composition fillers can be done by higher-dimensional composition*
*technical limitations apply; see papers for real (!) math
28
i j k fillers can be done by higher-dimensional composition*
29
i j k
i=0 β¦ Mi=0 : A j=0 β¦ Mj=0 : A j=1 β¦ Mj=1 : A i=1 β¦ Mi=1 : A
fillers can be done by higher-dimensional composition*
29
i j k
i=0 β¦ Mi=0 : A j=0 β¦ Mj=0 : A j=1 β¦ Mj=1 : A i=1 β¦ Mi=1 : A k=0 β¦ Mk=0 : A
fillers can be done by higher-dimensional composition*
29
i j k
compk.A Mk=0
Mi=0 Mj=0 Mj=1 Mi=1 Mk=0
i=0 βͺ Mi=0 i=1 βͺ Mi=1 j=0 βͺ Mj=0 j=1 βͺ Mj=1 : A[1/k]
30
a composite in a universe is a type itself which has its own composition operator U
31
i : π β¦ M : A
s y n t a x
a model equivalent to
βStandardβ
homotopy theory? models in other higher toposes? the
32
https://github.com/RedPRL/redtt https://github.com/agda/cubical
33
Homotopy Type Theory: Univalent Foundations of Mathematics Syntax and Models of Cartesian Cubical Type Theory [ABCFHL]
https://github.com/dlicata335/cart-cube/blob/master/cart-cube.pdf
Axioms for Modelling Cubical Type Theory in a Topos [OP] (expanded version)
https://arxiv.org/abs/1712.04864
Computational Semantics of Cartesian Cubical Type Theory [A] (chapter 3, still changing everyday)
https://www.cs.cmu.edu/~cangiuli/thesis/
(in this order)
34