Cubical Type Theory. Dan Licata Wesleyan University Guillaume Brunerie Université de Nice Sophia Antipolis

Size: px
Start display at page:

Download "Cubical Type Theory. Dan Licata Wesleyan University Guillaume Brunerie Université de Nice Sophia Antipolis"

Transcription

1 Cubical Type Theory Dan Licata Wesleyan University Guillaume Brunerie Université de Nice Sophia Antipolis

2 Higher inductive types loop base 2

3 Higher inductive types loop base base : Circle loop : base = base 2

4 Higher inductive types 3

5 Higher inductive types f 3

6 Higher inductive types a a f a a 3

7 Higher inductive types a a p a f a p 3

8 Higher inductive types a q a p a f q a p 3

9 Higher inductive types a q a p a f q a p a : Torus p,q : a = a f : q o p = p o q 3

10 Homotopy in HoTT π1(s 1 ) = Z πk<n(s n ) = 0 Hopf fibration π2(s 2 ) = Z π3(s 2 ) = Z James Construction Freudenthal πn(s n ) = Z K(G,n) Blakers-Massey T 2 = S 1 S 1 Van Kampen Covering spaces Whitehead for n-types Cohomology axioms Mayer-Vietoris π4(s 3 ) = Z? [Brunerie, Cavallo, Favonia, Finster, Licata, Lumsdaine, Sojakova, Shulman] 4

11 Patch theories [Angiuli, Morehouse, Licata, Harper] 5

12 Problem When we implement HITs as axioms in current type theories, lots of things don t compute Can t actually run programs Complicates formalizations 6

13 T S 1 S 1 7

14 Goal A type theory with native support for higher inductive types, where everything computes 8

15 Goal A type theory with native support for higher inductive types, where everything computes Today: A type theory with native support for some higher inductive types, where some things compute (not the universe) 8

16 Globular type theory 9

17 Globular type theory Cubical type theory 9

18 Cubical models Bezem,Coquand,Huber, 2013 gave a constructive model of type theory in Kan cubical sets with symmetries; evaluator based on this Coquand, 2014: UKC for diagonals Coquand, Huber et al., 2014: model with in cubical sets with diagonals and connections; evaluator 10

19 Cubical type theories Parametrized judgement or internal inductive step Boundaries-as-terms or boundaries-as-types 11

20 Cubical type theories Parametrized judgement or internal inductive step u : n A Boundaries-as-terms or boundaries-as-types 11

21 Cubical type theories Parametrized judgement or internal inductive step u : n A u ~A v Boundaries-as-terms or boundaries-as-types 11

22 Cubical type theories Parametrized judgement or internal inductive step u : n A u ~A v Boundaries-as-terms or boundaries-as-types u:squarea 11

23 Cubical type theories Parametrized judgement or internal inductive step u : n A u ~A v Boundaries-as-terms or boundaries-as-types u:squarea u:squarea l t b r 11

24 Cubical type theories Polonsky, 2013+: internal inductive step Altenkirch&Kaposi, 2013+: internal inductive step Coquand et al., 2014: parametrized judgement, boundaries-as-terms, diagonals and connections L&B, 2014: parametrized judgement, boundaries-as-terms, just diagonals Isaev, 2014: interval type used for Id and HITs 12

25 Cubical type theory Judgements Types Kan operations 13

26 Cubical type theory Judgements Types Kan operations 14

27 Dimensions as names [Coquand,Pitts] n-dimensional cube has n dimension names free cubical operations and identities correspond to operations on names 15

28 Dimensions as variables Ψ = s1 dim, s2 dim,, sn dim A is a Ψ-cube in type u is a Ψ-cube in A, together with its boundary 16

29 Dimensions as variables Ψ = s1 dim, s2 dim,, sn dim dimension variables A is a Ψ-cube in type u is a Ψ-cube in A, together with its boundary 16

30 Points 17

31 Points point: nat : Type 17

32 Points point: element of point: nat : Type 0 : nat 17

33 Lines line in type: e:equiv A B two equivalent types A B 18

34 Lines line in type: two equivalent types e:equiv A B A B element of line: heterogeneously equal points p:e(a) = b a:a b:b 18

35 Dimensions as variables structural properties for Ψ are cubical operations and identities 19

36 Structural Properties Weakening: a variable can go unused f(x,y) := y Substitution: search and replace for variable f(x) := x 2 + 2x + 1 f(3) = (x 2 + 2x + 1)<3/x> = *

37 Structural Properties Laws: (y 2 + 1)<7/x> = y 2 +1 (x 2 + y 2 + 5)<7/x><8/y> = (7 2 + y 2 + 5)<8/y> = ( ) = (x )<7/x> = (x 2 + y 2 + 5)<8/y><7/x> 21

38 Structural Properties Laws: (y 2 + 1)<7/x> = y 2 +1 unchanged (x 2 + y 2 + 5)<7/x><8/y> = (7 2 + y 2 + 5)<8/y> = ( ) = (x )<7/x> = (x 2 + y 2 + 5)<8/y><7/x> 21

39 Structural Properties Laws: (y 2 + 1)<7/x> = y 2 +1 (x 2 + y 2 + 5)<7/x><8/y> = (7 2 + y 2 + 5)<8/y> = ( ) = (x )<7/x> = (x 2 + y 2 + 5)<8/y><7/x> unchanged order doesn t matter 21

40 Degeneracy is weakening 22

41 Faces and diagonals are substitution 23

42 Faces and diagonals are substitution r ::= s

43 Faces x dim u : A x u<0/x> u u<1/x> 24

44 Faces x dim, y dim u : A u x y 25

45 Faces x dim, y dim u : A u<0/x> u x y 25

46 Faces x dim, y dim u : A u<0/x> u u<1/x> x y 25

47 Faces x dim, y dim u : A u<0/y> u<0/x> u u<1/x> x y 25

48 Faces x dim, y dim u : A u<0/y> u<0/x> u u<1/x> x u<1/y> y 25

49 Faces x dim, y dim u : A u<0/x><0/y> u<0/y> u<0/x> u u<1/x> x u<1/y> y 25

50 Faces x dim, y dim u : A u<0/x><0/y> u<0/y> u<0/x> u u<1/x> x u<0/x><1/y> u<1/y> y 25

51 Faces x dim, y dim u : A u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u u<1/x> x u<0/x><1/y> u<1/y> y 25

52 Faces x dim, y dim u : A u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u u<1/x> x u<0/x><1/y> u<1/y> u<1/x><1/y> y 25

53 Faces x dim, y dim u : A u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u u<1/x> x u<0/x><1/y> u<1/y> u<1/x><1/y> y 25

54 Faces x dim, y dim u : A u<0/y><1/x> u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u u<1/x> x u<0/x><1/y> u<1/y> u<1/x><1/y> y 25

55 Faces x dim, y dim u : A u<0/x><0/y> u<0/y> u<0/y><1/x> u<1/x><0/y> u<0/x> u u<1/x> x u<0/x><1/y> u<1/y> u<1/x><1/y> y substitutions for independent variables commute 25

56 Degeneracies a y x 26

57 Degeneracies a a a a x y 26

58 Degeneracies a a a a a <0/x> a x y 26

59 Degeneracies a a a <0/x> a a a a <1/x> a x y 26

60 Degeneracies a a a <0/x> a a a a <1/x> a p x y 26

61 Degeneracies a a a <0/x> a a a a <1/x> a p p p x p y 26

62 Degeneracies a a a <0/x> a a a a <1/x> a p p p p<0/y> p p<1/y> p x p y 26

63 Degeneracies a a a <0/x> a a a a <1/x> a p p p p<0/y> p p<1/y> p x p y 26

64 Degeneracies a a a <0/x> a a a a <1/x> a p p p p<0/y> p p<1/y> p x p y substitution after weakening is identity 26

65 Diagonals u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u<1/x> u<0/x><1/y> u<1/y> u<1/x><1/y> 27

66 Diagonals u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u<1/x> u<0/x><1/y> u<1/y> u<1/x><1/y> u<x/y> is a line ({x}-cube) 27

67 Diagonals u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u<1/x> u<0/x><1/y> u<1/y> u<1/x><1/y> u<x/y> is a line ({x}-cube) u<x/y><0/x> u<0/x><0/y> 27

68 Diagonals u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u<1/x> u<0/x><1/y> u<1/y> u<1/x><1/y> u<x/y> is a line ({x}-cube) u<x/y><0/x> u<0/x><0/y> 27

69 Diagonals u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u<1/x> u<0/x><1/y> u<1/y> u<1/x><1/y> u<x/y> is a line ({x}-cube) u<x/y><0/x> u<0/x><0/y> u<x/y><1/x> u<1/x><1/y> 27

70 Diagonals u<0/x><0/y> u<0/y> u<1/x><0/y> u<0/x> u<1/x> u<0/x><1/y> u<1/y> u<1/x><1/y> u<x/y> is a line ({x}-cube) u<x/y><0/x> u<0/x><0/y> u<x/y><1/x> u<1/x><1/y> 27

71 Diagonals u<0/x><0/y> u<0/x> u<0/y> u<x/y> u<1/x><0/y> u<1/x> u<0/x><1/y> u<1/y> u<1/x><1/y> u<x/y> is a line ({x}-cube) u<x/y><0/x> u<0/x><0/y> u<x/y><1/x> u<1/x><1/y> 27

72 Functoriality structural properties for Γ give functoriality 28

73 Functoriality Function f : A B is an -functor : takes points to points, lines to lines, squares to squares, cubes to cubes, ap : (f : A " B) " a 0 = A " f(a 0 ) = A f() 29

74 Functoriality Function f : A B is an -functor : takes points to points, lines to lines, squares to squares, cubes to cubes, ap : (f : A " B) " a 0 = A " f(a 0 ) = A f() internalization of a substitution operation on open terms x:a u : B 29

75 Substitution 30

76 Substitution 30

77 Ap = degen + subst ; w : A u : B u 31

78 Ap = degen + subst ; w : A u : B u y dim a : A a 31

79 Ap = degen + subst ; w : A u : B u y dim; w : A u : B y dim a : A a 31

80 Ap = degen + subst ; w : A u : B y dim; w : A u : B u y dim a : A u[a<0/y>/w] a u[a/w] u[a<1/y>/w] 31

81 Cubical judgements structural properties for Ψ are cubical operations and identities structural properties for Γ give functoriality 32

82 Cubical type theory Judgements Types Kan operations 33

83 Π types 34

84 Π types 34

85 Π types 35

86 Π types 35

87 Σ types 36

88 Σ types 36

89 Identity type 37

90 Circle loop base 38

91 Circle loop base 38

92 Circle 39

93 Circle 39

94 Circle 39

95 Circle diagonal if s occurs in l 39

96 Torus a q a p a f q a p 40

97 41

98 Cubical type theory Judgements Types Kan operations 42

99 T S 1 S 1 43

100 T S 1 S 1 t2c : T " S 1 S 1 c2t : S 1 S 1 " T c2t2c : Πp:S 1 S 1. t2c (c2t p) = p t2c2t : Πt:T. c2t (t2c t) = t 43

101 t2c : T " S 1 S 1 t2c a = (base,base) t2c p z = (loop z,base) t2c q z = (base,loop z ) t2c f x,y = (loop y,loop x ) 44

102 t2c : T " S 1 S 1 t2c a = (base,base) t2c p z = (loop z,base) t2c q z = (base,loop z ) t2c f x,y = (loop y,loop x ) z dim (loop z,base) : S 1 S 1 because z dim loopz : S 1 z dim base : S 1 44

103 t2c : T " S 1 S 1 t2c a = (base,base) t2c p z = (loop z,base) t2c q z = (base,loop z ) t2c f x,y = (loop y,loop x ) x,y dim (loop y,loop x ) : S 1 S 1 45

104 t2c : T " S 1 S 1 t2c a = (base,base) t2c p z = (loop z,base) t2c q z = (base,loop z ) t2c f x,y = (loop y,loop x ) x,y dim (loop y,loop x ) : S 1 S 1 base loop y loop y loop y base 45

105 t2c : T " S 1 S 1 t2c a = (base,base) t2c p z = (loop z,base) t2c q z = (base,loop z ) t2c f x,y = (loop y,loop x ) x,y dim (loop y,loop x ) : S 1 S 1 base loop x loop y loop y loop y base loop x base base loop x 45

106 t2c : T " S 1 S 1 t2c a = (base,base) t2c p z = (loop z,base) t2c q z = (base,loop z ) t2c f x,y = (loop y,loop x ) (loop z,base)<0/z> (base,base) (base,loop z )<0/z> (base,base) (loop y,loop x )<0/x> (loop y,base) (loop y,loop x )<0/y> (base, loop x ) similarly for 1 46

107 c2t : S 1 " (S 1 " T) c2t base = c2t1 c2t loop y = c2t2 47

108 c2t : S 1 " (S 1 " T) c2t base = c2t1 c2t loop y = c2t2 c2t1 : S 1 " T c2t1 base = a c2t1 loop x = q x 47

109 c2t : S 1 " (S 1 " T) c2t base = c2t1 c2t loop y = c2t2 c2t1 : S 1 " T c2t1 base = a c2t1 loop x = q x y dim c2t2 : S 1 " T c2t2 base = py c2t2 loop x = f x,y 47

110 c2t : S 1 " (S 1 " T) c2t base = c2t1 c2t loop y = c2t2 c2t1 : S 1 " T c2t1 base = a c2t1 loop x = q x y dim c2t2 : S 1 " T c2t2 base = py c2t2 loop x = f x,y c2t2<0/y> c2t1 because py<0/y> a f x,y <0/y> q x 47

111 t2c2t : Πt:T. c2t (t2c t) = t t2c2t a = refl a t2c2t p z = refl p z t2c2t q z = refl q z t2c2t f x,y = refl f x,y 48

112 t2c2t : Πt:T. c2t (t2c t) = t t2c2t a = refl a t2c2t p z = refl p z t2c2t q z = refl q z t2c2t f x,y = refl f x,y c2t (t2c a) c2t (base,base) c2t base base c2t1 base a 48

113 t2c2t : Πt:T. c2t (t2c t) = t t2c2t a = refl a t2c2t p z = refl p z t2c2t q z = refl q z t2c2t f x,y = refl f x,y c2t (t2c p z ) c2t (loopz,base) c2t loop z base c2t2<z/y> base p z 49

114 t2c2t : Πt:T. c2t (t2c t) = t t2c2t a = refl a t2c2t p z = refl p z t2c2t q z = refl q z t2c2t f x,y = refl f x,y c2t (t2c p z ) c2t (base,loopz) c2t base loop z c2t1 loop z q z 50

115 t2c2t : Πt:T. c2t (t2c t) = t t2c2t a = refl a t2c2t p z = refl p z t2c2t q z = refl q z t2c2t f x,y = refl f x,y c2t (t2c loopx,y) c2t (loopy,loopx) c2t loop y loop x c2t2 loop x f x,y 51

116 c2t2c : Πb,b :S 1. t2c (c2t b b ) = (b,b ) c2t2c base = c2t2c1 t2c2t loop y = c2t2c2 52

117 c2t2c : Πb,b :S 1. t2c (c2t b b ) = (b,b ) c2t2c base = c2t2c1 t2c2t loop y = c2t2c2 c2t2c1 : Πb :S 1. t2c (c2t1 b ) = (base,b ) c2t2c1 base = refl (base,base) c2t2c1 loop x = refl (base,loop x ) 52

118 c2t2c : Πb,b :S 1. t2c (c2t b b ) = (b,b ) c2t2c base = c2t2c1 t2c2t loop y = c2t2c2 c2t2c1 : Πb :S 1. t2c (c2t1 b ) = (base,b ) c2t2c1 base = refl (base,base) c2t2c1 loop x = refl (base,loop x ) y c2t2c2 : Πb :S 1. t2c (c2t2 b ) = (loop y,b ) c2t2c2 base = refl (loopy,base) c2t2c2 loop x = refl (loop y,loop x ) 52

119 c2t2c : Πb,b :S 1. t2c (c2t b b ) = (b,b ) c2t2c base = c2t2c1 t2c2t loop y = c2t2c2 c2t2c1 : Πb :S 1. t2c (c2t1 b ) = (base,b ) c2t2c1 base = refl (base,base) c2t2c1 loop x = refl (base,loop x ) y c2t2c2 : Πb :S 1. t2c (c2t2 b ) = (loop y,b ) c2t2c2 base = refl (loopy,base) c2t2c2 loop x = refl (loop y,loop x ) c2t2c2<0/y> c2t2c1 52

120 t2c : T " S 1 S 1 t2c a = (base,base) t2c p z = (loop z,base) t2c q z = (base,loop z ) t2c f x,y = (loop y,loop x ) c2t : S 1 " (S 1 " T) c2t base = base a loopx qx c2t loop y = base p y loopx fx,y Composites: induct; reflexivity in each case 53

121 54

122 55

123 Research directions Kan operations with diagonals: Tomorrow: Π Σ Id N S 1 T To do: universe, HITCs Definitional canonicity for cubical type theory Semantics: Is cubical type theory too strict? Can cubical type theory be translated back to book HoTT in general? (homotopy canonicity) 56

124 Identity type Heterogeneous identity type as primitive: a 0 a 1 A 0 A A 1 57

125 Identity type Heterogeneous identity type as primitive: a 0 a 1 A 0 A A 1 57

126 Identity type intro 58

127 Identity type elim 59

128 Identity type elim 59

129 Identity type elim 59

130 Identity type elim [c.f. Stone-Harper singleton calculus] 60

131 Refl 61

132 Refl really _.A : degenerate line 61

133 Refl degeneracy because s doesn t occur really _.A : degenerate line 61

134 Ap 62

135 Ap 62

136 Definitional Equalities 63

137 Dependent Ap 64

138 Dependent Ap path in B over p@s 64

139 Dependent Ap path in B over p@s non-dependent ap is literally a special case! 64

140 Transport ap + coerce along a line in the universe: 65

141 Transport ap + coerce along a line in the universe: coes.a 0"1 : A<0/s> " A<1/s> 65

142 Coercion is type-directed coey.a B 0"1 : A<0/y> B<0/y> " A<1/y> B<1/y> 66

143 Coercion is type-directed coey.a B 0"1 : A<0/y> B<0/y> " A<1/y> B<1/y> coey.a 0"1 : A<0/y> " A<1/y> 66

144 Coercion is type-directed coey.a B 0"1 : A<0/y> B<0/y> " A<1/y> B<1/y> coey.a 0"1 : A<0/y> " A<1/y> coey.b 0"1 : B<0/y> " B<1/y> 66

145 Coercion is type-directed coey.a B 0"1 : A<0/y> B<0/y> " A<1/y> B<1/y> coey.a B 0"1 p = (coey.a 0"1 (fst p), coey.b 0"1 (snd p)) coey.a 0"1 : A<0/y> " A<1/y> coey.b 0"1 : B<0/y> " B<1/y> 66

146 Coercion is type-directed coey.a"b 0"1 : A<0/y> " B<0/y> " A<1/y> " B<1/y> A<0/y> B<0/y> A<1/y> B<1/y> 67

147 Coercion is type-directed coey.a"b 0"1 : A<0/y> " B<0/y> " A<1/y> " B<1/y> A<0/y> B<0/y> coey.a 0"1 A<1/y> B<1/y> 67

148 Coercion is type-directed coey.a"b 0"1 : A<0/y> " B<0/y> " A<1/y> " B<1/y> A<0/y> B<0/y> coey.a 0"1 coey.b 0"1 A<1/y> B<1/y> 67

149 Coercion is type-directed coey.a"b 0"1 : A<0/y> " B<0/y> " A<1/y> " B<1/y> A<0/y> B<0/y> coey.a 1"0 coey.b 0"1 A<1/y> B<1/y> 68

150 Coercion is type-directed coex.id_a(,) 0"1 : IdA(<0/x>,<0/x>) " IdA(<1/x>,<1/x>) <0/x> p <0/x> <1/x> <1/x> 69

151 Groupoid Structure Reformulate identity, inverses, composition as: identity + one ternary operation p : a = b q : a = c r : c = d a p b q c r d 70

152 Groupoid Structure Reformulate identity, inverses, composition as: identity + one ternary operation p : a = b q : a = c r : c = d a p b q c r d also type-directed 70

153 71

154 (x, x ) (l,l ) (y, y ) (t,t ) A A (z, z ) (r,r ) (w, w ) 71

155 (x, x ) (l,l ) (t,t ) A A (z, z ) (r,r ) x t (y, y ) z (w, w ) l A r y w 71

156 (x, x ) (l,l ) (t,t ) A A (z, z ) (r,r ) x t (y, y ) z (w, w ) l A r y b w 71

157 (x, x ) (l,l ) (t,t ) A A (z, z ) (r,r ) x t (y, y ) z (w, w ) x t z l A r l A r y b w y w 71

158 (x, x ) (l,l ) (t,t ) A A (z, z ) (r,r ) x t (y, y ) z (w, w ) x t z l A r l A r y b w y b w 71

159 (x, x ) (t,t ) (z, z ) (l,l ) A A (r,r ) x t (y, y ) z (b,b ) (w, w ) x t z l A r l A r y b w y b w 71

160 p t u l = A r q v l : p = = q p q u v : = A t : p = = u r : u = = v 72

161 refl p l q p t u refl l = A r q v l : p = = q p q u v : = A t : p = = u r : u = = v 72

162 refl p t u refl refl p l q p t u refl l = A r q v l : p = = q p q u v : = A t : p = = u r : u = = v 72

163 refl p t u refl refl refl p l q p t u u r v refl l = A r refl q v l : p = = q p q u v : = A t : p = = u r : u = = v 72

164 p t u l = A r q v refl refl refl p l q p t u u r v refl refl refl 73

165 p t u l = A r q v refl refl refl p l q p t u u r v refl refl refl 73

166 p t u l l = A r q p q v refl refl refl p l q p t u u r v refl refl refl 73

167 p t u l t l = A r q p q v refl refl refl p l q p t u u r v refl refl refl 73

168 p t u l t r l = A r q p v u q v refl refl refl p l q p t u u r v refl refl refl 73

169 73 p t q u v l r = A p q l refl refl p u t refl refl u v r refl refl l t q r v p u

170 73 p t q u v l r = A p q l refl refl p u t refl refl u v r refl refl l t q r v p u

171 73 p t q u v l r = A p q l refl refl p u t refl refl u v r refl refl l t q r v p u

172 73 p t q u v l r = A p q l refl refl p u t refl refl u v r refl refl l t q r v p u

173 73 p t q u v l r = A p q l refl refl p u t refl refl u v r refl refl l t q r v p u b

174 73 p t q u v l r = A p q l refl refl p u t refl refl u v r refl refl l t q r v p u b b

175 Kan condition: any n-dimensional open box has a lid, and an inside 74

176 Cubical models Bezem,Coquand,Huber, 2013 gave a constructive model of type theory in Kan cubical sets with symmetries; evaluator based on this Coquand, 2014: UKC for diagonals Coquand, Huber et al., 2014: model with in cubical sets with diagonals and connections; evaluator 75

177 Kan composition 76

178 Kan composition tube dimensions 76

179 Kan composition tube dimensions filling dimension 76

180 Kan composition sides of tube tube dimensions filling dimension 76

181 Kan composition sides of tube transverse face tube dimensions filling dimension 76

182 Kan composition sides of tube transverse face adjacentcompatible tube dimensions filling dimension 76

183 Kan composition sides of tube transverse face adjacentcompatible tube-fitting tube dimensions filling dimension 76

184 Kan composition sides of tube transverse face adjacentcompatible tube-fitting from tube dimensions filling dimension 76

185 Kan composition sides of tube transverse face adjacentcompatible tube-fitting from to tube dimensions filling dimension 76

186 Kan 0 A<0/x> b A A<1/x> tube: empty filling dimension: x transverse side: r = 0 77

187 Kan 0 A<0/x> b A A<1/x> coea x:0"1 (b) tube: empty filling dimension: x transverse side: r = 0 77

188 Kan 0 A<0/x> b A A<1/x> coea x:0"1 (b) b tube: empty filling dimension: x transverse side: r = 0 tube: empty filling dimension: x transverse side: r = 1 77

189 Kan 0 A<0/x> b A A<1/x> coea x:0"1 (b) tube: empty filling dimension: x transverse side: r = 0 coea x:1"0 (b) b tube: empty filling dimension: x transverse side: r = 1 77

190 Kan 1 ty 0 b ty 1 tube dimension: y filling dimension: x transverse side: 0 78

191 Kan 1 ty 0 b coex.a;ty0,ty1 0"1 (b) ty 1 tube dimension: y filling dimension: x transverse side: 0 78

192 Kan 1 ty 0 b ty 1 tube dimension: y filling dimension: x transverse side: y 79

193 Kan 1 ty 0 coex.a;ty0,ty1 y"0 (b) b ty 1 tube dimension: y filling dimension: x transverse side: y 79

194 Kan 1 ty 0 b ty 1 tube dimension: y filling dimension: x transverse side: y 80

195 Kan 1 ty 0 b coex.a;ty0,ty1 0"y (b) ty 1 tube dimension: y filling dimension: x transverse side: y 80

196 Kan 2 z y x tube dimensions: x,z filling dimension: y transverse side: 1 81

197 Kan 2 z y x tube dimensions: x,z filling dimension: y transverse side: 1 81

198 Kan 2 z y x tube dimensions: x,z filling dimension: y transverse side: 1 81

199 Kan 2 z y x tube dimensions: x,z filling dimension: y transverse side: 1 81

200 Uniform Kan Condition 82

201 Uniform Kan Condition 82

202 Uniform Kan Condition q l p 82

203 Uniform Kan Condition q l p t 82

204 Uniform Kan Condition l t r q p v u 82

205 Uniform Kan Condition q l b p t v r u 82

206 Uniform Kan Condition <0/y> q l b p t v r u 82

207 Uniform Kan Condition <0/y> t<0/y> q l b p t v r u l<0/y> b r<0/y> 82

208 Generalized open boxes x,y,z dim coey.a;t x;y:1"0 (b) z y x tube dimensions: x filling dimension: y transverse side: 1 83

209 Generalized open boxes x,y,z dim coey.a;t x;y:1"0 (b) z y x tube dimensions: x filling dimension: y transverse side: 1 83

210 Generalized open boxes x,y,z dim coey.a;t x;y:1"0 (b) z y x tube dimensions: x filling dimension: y transverse side: 1 83

211 Kan composition 84

212 Uniformity Naturality in extra dimensions part of coe( )<r 0 /s 0 > 85

213 Coercion is type-directed = define uniform Kan structure on each type 86

214 Coercion reduces coey.a B 0"1 : A<0/y> B<0/y> " A<1/y> B<1/y> coey.a B 0"1 p = (coey.a 0"1 (fst p), coey.b 0"1 (snd p)) coey.a 0"1 : A<0/y> " A<1/y> coey.b 0"1 : B<0/y> " B<1/y> 87

215 (x, x ) (t,t ) (z, z ) (l,l ) A A (r,r ) t (y, y ) z (b,b ) (w, w ) x t z A r l A r b w y b w 88

216 (x, x ) (t,t ) (z, z ) (l,l ) A A (r,r ) x t (y, y ) z (b,b ) (w, w ) x t z l A r l A r y b w y b w 88

217 (x, x ) (t,t ) (z, z ) (l,l ) A A (r,r ) x t (y, y ) z (b,b ) (w, w ) x t z l A r l A r y b w y b w 88

218 coey.a"b 0"1 : A<0/y> " B<0/y> " A<1/y> " B<1/y> A<0/y> B<0/y> coey.a 1"0 coey.b 0"1 A<1/y> B<1/y> 89

219 coey.a"b 0"1 : A<0/y> " B<0/y> " A<1/y> " B<1/y> A<0/y> B<0/y> coey.a 1"0 coey.b 0"1 A<1/y> B<1/y> 89

220 p t u l t r l = A r q p v u q v 90

221 p t u l t r l = A r q p v u q v 90

222 p l t = A u r q l b p t v r u q v 90

223 p l t = A u r q l b p t v r u q b v 90

224 p l t = A u r q l b p t v r u q b v 90

225 Coercion is a constructor In ITs/HITs, coe is canonical and elim reduces on it ap Cover (loop o loop) = ap Cover loop o ap Cover loop 91

226 Coercion is a constructor In ITs/HITs, coe is canonical and elim reduces on it ap Cover (loop o loop) = ap Cover loop o ap Cover loop 91

227 Discussion Topics Kan filling from Kan composition Regularity: Definitional rule for J on refl Why diagonals for HITs Univalence Kan composition for univalence/the universe Issues with HITCs 92

Functional programs that prove theorems about spaces

Functional programs that prove theorems about spaces Functional programs that prove theorems about spaces Dan Licata Wesleyan University Department of Mathematics and Computer Science Kepler Conjecture (1611) No way to pack equally-sized spheres in space

More information

Univalence from a Computer Science Point-of-View. Dan Licata Wesleyan University

Univalence from a Computer Science Point-of-View. Dan Licata Wesleyan University Univalence from a Computer Science Point-of-View Dan Licata Wesleyan University 1 Martin-Löf type theory [70s-80s] 2 Proofs are programs 3 cubicaltt [Cohen,Coquand, Huber,Mörtberg] 4 cubicaltt [Cohen,Coquand,

More information

Cartesian Cubical Computational Type Theory

Cartesian Cubical Computational Type Theory Cartesian Cubical Computational Type Theory Favonia U of Minnesota Joint work with Carlo Angiuli, Evan Cavallo, Daniel R. Grayson, Robert Harper, Anders Mörtberg and Jonathan Sterling Oxford - 2018/7/8

More information

redtt cartesian cubical proof assistant Carlo Angiuli Evan Cavallo Favonia Robert Harper Anders Mörtberg Jon Sterling

redtt cartesian cubical proof assistant Carlo Angiuli Evan Cavallo Favonia Robert Harper Anders Mörtberg Jon Sterling redtt cartesian cubical proof assistant Carlo Angiuli Evan Cavallo Favonia Robert Harper Anders Mörtberg Jon Sterling homotopy type theory dependent type-theoretic language for higher dimensional mathematics.

More information

Computational (Higher) Type Theory

Computational (Higher) Type Theory Computational (Higher) Type Theory Robert Harper and Carlo Angiuli Computer Science Department Carnegie Mellon University ACM PoPL Tutorial Session January 2018 Vladimir Voevodsky 1966-2017 Photo credit:

More information

Homotopy type theory: towards Grothendieck s dream

Homotopy type theory: towards Grothendieck s dream Homotopy type theory: towards Grothendieck s dream Mike Shulman 1 The Univalent Foundations Project 2 1 University of San Diego 2 Institute for Advanced Study Topos theory Homotopy type theory? Outline

More information

A The equivalence of the torus and the product of two circles in homotopy type theory

A The equivalence of the torus and the product of two circles in homotopy type theory A The equivalence of the torus and the product of two circles in homotopy type theory KRISTINA SOJAKOVA, Carnegie Mellon University Homotopy type theory is a new branch of mathematics which merges insights

More information

Homotopy Type Theory

Homotopy Type Theory Homotopy Type Theory Jeremy Avigad Department of Philosophy and Department of Mathematical Sciences Carnegie Mellon University February 2016 Homotopy Type Theory HoTT relies on a novel homotopy-theoretic

More information

Operational Semantics in Languages and Logics

Operational Semantics in Languages and Logics Operational Semantics in Languages and Logics Robert Harper Felleisen Halftime Festival November 4, 2018 Es war einmal Way back when I first met Matthias, he was saying, I m interested in all aspects of

More information

Synthetic homotopy theory and higher inductive types

Synthetic homotopy theory and higher inductive types Synthetic homotopy theory and higher inductive types Ulrik Buchholtz, CMU FoMUS, Bielefeld, July, 2016 Outline 1 Synthetic Homotopy Theory 2 Truncation 3 The fundamental group of the circle 4 Higher inductive

More information

Homotopy type theory: a new connection between logic, category theory and topology

Homotopy type theory: a new connection between logic, category theory and topology Homotopy type theory: a new connection between logic, category theory and topology André Joyal UQÀM Category Theory Seminar, CUNY, October 26, 2018 Classical connections between logic, algebra and topology

More information

The equivalence of the torus and the product of two circles in homotopy type theory

The equivalence of the torus and the product of two circles in homotopy type theory The equivalence of the torus and the product of two circles in homotopy type theory Kristina Sojakova September 2015 CMU-CS-15-105 School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213

More information

Cartesian Cubical Type Theory

Cartesian Cubical Type Theory Cartesian Cubical Type Theory Carlo Angiuli, Guillaume Brunerie, Thierry Coquand, Kuen-Bang Hou (Favonia), Robert Harper, Daniel R. Licata Draft as of 12/5/2017 Abstract We present a cubical type theory

More information

Cubical Type Theory: a constructive interpretation of the univalence axiom

Cubical Type Theory: a constructive interpretation of the univalence axiom Cubical Type Theory: a constructive interpretation of the univalence axiom Anders Mörtberg (jww C. Cohen, T. Coquand, and S. Huber) Institute for Advanced Study, Princeton June 26, 2016 Anders Mörtberg

More information

Semantics and syntax of higher inductive types

Semantics and syntax of higher inductive types Semantics and syntax of higher inductive types Michael Shulman 1 Peter LeFanu Lumsdaine 2 1 University of San Diego 2 Stockholm University http://www.sandiego.edu/~shulman/papers/stthits.pdf March 20,

More information

Notes from the HoTT Workshop in Oxford

Notes from the HoTT Workshop in Oxford Notes from the HoTT Workshop in Oxford 7th 10th November 2014 Clive Newstead Contents 1 Benedikt Ahrens: Univalent FOLDS 2 2 Egbert Rijke: An algebraic formulation of dependent type theory 4 3 Peter Lumsdaine:

More information

Bicubical Directed Type Theory

Bicubical Directed Type Theory Bicubical Directed Type Theory Matthew Weaver General Examination May 7th, 2018 Advised by Andrew Appel and Dan Licata Bicubical Directed Type Theory Bicubical directed type theory is a constructive model

More information

Dependent type theory

Dependent type theory Dependent type theory Γ, ::= () Γ, x : A Contexts t, u, A, B ::= x λx. t t u (x : A) B Π-types (t, u) t.1 t.2 (x : A) B Σ-types We write A B for the non-dependent product type and A B for the non-dependent

More information

Recent progress in Homotopy type theory

Recent progress in Homotopy type theory July 22nd, 2013 Supported by EU FP7 STREP FET-open ForMATH Most of the presentation is based on the book: CC-BY-SA Topos Homotopy type theory Collaborative effort lead by Awodey, Coquand, Voevodsky at

More information

Internal Universes in Models of Homotopy Type Theory. Daniel R. Licata Ian Orton Andrew M. Pitts Bas Spitters

Internal Universes in Models of Homotopy Type Theory. Daniel R. Licata Ian Orton Andrew M. Pitts Bas Spitters Internal Universes in Models of Homotopy Type Theory Daniel R. Licata Ian Orton Andrew M. Pitts Bas Spitters HoTT Voevodsky: Simplicial model of univalent type theory Coquand: Cubical model of univalent

More information

A Meaning Explanation for HoTT

A Meaning Explanation for HoTT A Meaning Explanation for HoTT Dimitris Tsementzis February 15, 2017 Abstract The Univalent Foundations (UF) offer a new picture of the foundations of mathematics largely independent from set theory. In

More information

Homotopy Type Theory Lecture Notes

Homotopy Type Theory Lecture Notes 15-819 Homotopy Type Theory Lecture Notes Nathan Fulton October 9 and 11, 2013 1 Contents These notes summarize and extend two lectures from Bob Harper s Homotopy Type Theory course. The cumulative hierarchy

More information

A Schema for Higher Inductive Types of Level One and Its Interpretation

A Schema for Higher Inductive Types of Level One and Its Interpretation A Schema for Higher Inductive Types of Level One and Its Interpretation Hugo Moeneclaey hmoenecl@ens-cachan.fr Under the supervision of : Peter Dybjer Department of Computing Science and Engineering, Chalmers

More information

Eilenberg-MacLane Spaces in Homotopy Type Theory

Eilenberg-MacLane Spaces in Homotopy Type Theory Eilenberg-MacLane Spaces in Homotopy Type Theory Daniel R. Licata Wesleyan University dlicata@wesleyan.edu Eric Finster Inria Paris Rocquencourt ericfinster@gmail.com Abstract Homotopy type theory is an

More information

Programming with Higher Inductive Types

Programming with Higher Inductive Types 1/32 Programming with Higher Inductive Types Herman Geuvers joint work with Niels van der Weide, Henning Basold, Dan Frumin, Leon Gondelman Radboud University Nijmegen, The Netherlands November 17, 2017

More information

Higher Inductive types

Higher Inductive types Egbert Rijke Bas Spitters Radboud University Nijmegen May 7th, 2013 Introduction Violating UIP Recall that in Martin-Löf type theory, every type A has an associated identity type = A : A A U. We do not

More information

Equality and dependent type theory. CIRM, May 31

Equality and dependent type theory. CIRM, May 31 CIRM, May 31 The Axiom of Univalence, a type-theoretic view point In type theory, we reduce proof-checking to type-checking Hence we want type-checking to be decidable This holds as soon as we have the

More information

Towards a directed HoTT based on 4 kinds of variance

Towards a directed HoTT based on 4 kinds of variance Towards a directed HoTT based on 4 kinds of variance Promoter: Frank Piessens Supervisors: Jesper Cockx, Dominique Devriese Dept. Computer Science, KU Leuven June 29, 2015 Table of Contents 1 Introduction

More information

Computational Higher-Dimensional Type Theory

Computational Higher-Dimensional Type Theory Computational Higher-Dimensional Type Theory Carlo Angiuli Carnegie Mellon University, USA cangiuli@cscmuedu Robert Harper Carnegie Mellon University, USA rwh@cscmuedu Todd Wilson California State University,

More information

Real-cohesion: from connectedness to continuity

Real-cohesion: from connectedness to continuity Real-cohesion: from connectedness to continuity Michael Shulman University of San Diego March 26, 2017 My hat today I am a mathematician: not a computer scientist. I am a categorical logician: type theory

More information

Homotopy and Directed Type Theory: a Sample

Homotopy and Directed Type Theory: a Sample Homotopy and Directed Type Theory: a Sample Dan Doel October 24, 2011 Type Theory Overview Judgments Γ ctx Γ A type Γ M : A Families Γ, x : A B(x) type Inference Γ 1 J 1 Γ 2 J 2 Type Theory Overview Π

More information

Internalizing the simplicial model structure in Homotopy Type Theory. Simon Boulier

Internalizing the simplicial model structure in Homotopy Type Theory. Simon Boulier Internalizing the simplicial model structure in Homotopy Type Theory Simon Boulier A type theory with two equalities Model structures in mathematics Internalizing the simplicial model structure in HoTT

More information

Homotopy Type Theory: Unified Foundations of Mathematics and Computation

Homotopy Type Theory: Unified Foundations of Mathematics and Computation Homotopy Type Theory: Unified Foundations of Mathematics and Computation Steve Awodey Robert Harper December 14, 2015 Homotopy type theory is a recently-developed unification of previously disparate frameworks,

More information

Homotopy Type Theory Lecture Notes

Homotopy Type Theory Lecture Notes 15-819 Homotopy Type Theory Lecture Notes Evan Cavallo and Chris Martens November 4 and 6, 2013 1 Contents These notes cover Robert Harper s lectures on Homotopy Type Theory from November 4 and 6, 2013.

More information

Homotopical trinitarianism. A perspective on homotopy type theory

Homotopical trinitarianism. A perspective on homotopy type theory : A perspective on homotopy type theory 1 1 University of San Diego Thursday, January 11, 2018 Joint Mathematics Meetings San Diego, CA This talk is dedicated to the memory of Vladimir Voevodsky (1966

More information

Inductive and higher inductive types

Inductive and higher inductive types Inductive and higher inductive types Michael Shulman 13 April 2012 Homotopy invariance Question Suppose two model categories M, N present the same (, 1)-category C. Do they have the same internal type

More information

Groups and higher groups in homotopy type theory

Groups and higher groups in homotopy type theory Groups and higher groups in homotopy type theory Ulrik Buchholtz TU Darmstadt Arbeitstagung Bern-München, December 14, 2017 1 Groups 2 Higher Groups 3 Nominal Types 4 Formalizing type theory 5 Conclusion

More information

Algebraic models of homotopy type theory

Algebraic models of homotopy type theory Algebraic models of homotopy type theory Nicola Gambino School of Mathematics University of Leeds CT2016 Halifax, August 9th 1 Theme: property vs structure Fundamental distinction: satisfaction of a property

More information

The synthetic theory of -categories vs the synthetic theory of -categories

The synthetic theory of -categories vs the synthetic theory of -categories Emily Riehl Johns Hopkins University The synthetic theory of -categories vs the synthetic theory of -categories joint with Dominic Verity and Michael Shulman Vladimir Voevodsky Memorial Conference The

More information

Higher toposes Internal logic Modalities Sub- -toposes Formalization. Modalities in HoTT. Egbert Rijke, Mike Shulman, Bas Spitters 1706.

Higher toposes Internal logic Modalities Sub- -toposes Formalization. Modalities in HoTT. Egbert Rijke, Mike Shulman, Bas Spitters 1706. Modalities in HoTT Egbert Rijke, Mike Shulman, Bas Spitters 1706.07526 Outline 1 Higher toposes 2 Internal logic 3 Modalities 4 Sub- -toposes 5 Formalization Two generalizations of Sets Groupoids: To keep

More information

Introduction to type theory and homotopy theory

Introduction to type theory and homotopy theory Introduction to type theory and homotopy theory Michael Shulman January 24, 2012 1 / 47 Homotopy theory Homotopy type theory types have a homotopy theory Intensional type theory New perspectives on extensional

More information

1 / A bird s-eye view of type theory. 2 A bird s-eye view of homotopy theory. 3 Path spaces and identity types. 4 Homotopy type theory

1 / A bird s-eye view of type theory. 2 A bird s-eye view of homotopy theory. 3 Path spaces and identity types. 4 Homotopy type theory Introduction to type theory and homotopy theory Michael Shulman January 24, 2012 Homotopy theory Homotopy type theory types have a homotopy theory New perspectives on extensional vs. intensional Intensional

More information

WHAT IS AN ELEMENTARY HIGHER TOPOS?

WHAT IS AN ELEMENTARY HIGHER TOPOS? WHAT IS AN ELEMENTARY HIGHER TOPOS? ANDRÉ JOYAL Abstract. There should be a notion of elementary higher topos in higher topos theory, like there is a notion of elementary topos in topos theory. We are

More information

Topic 7: Using identity types

Topic 7: Using identity types Toic 7: Using identity tyes June 10, 2014 Now we would like to learn how to use identity tyes and how to do some actual mathematics with them. By now we have essentially introduced all inference rules

More information

arxiv: v1 [cs.lo] 23 Jan 2018

arxiv: v1 [cs.lo] 23 Jan 2018 Internal Universes in Models of Homotopy Type Theory Daniel R. Licata, Ian Orton, Andrew M. Pitts and Bas Spitters Abstract arxiv:1801.07664v1 [cs.lo] 23 Jan 2018 We show that universes of fibrations in

More information

A 2-categorical framework for substructural and modal logics

A 2-categorical framework for substructural and modal logics A 2-categorical framework for substructural and modal logics Dan Licata Wesleyan University Michael Shulman University of San Diego 1 Linear Logic $1 pepsi $1 candy $1 pepsi candy Linear Logic $1 pepsi

More information

Math Homotopy Theory Hurewicz theorem

Math Homotopy Theory Hurewicz theorem Math 527 - Homotopy Theory Hurewicz theorem Martin Frankland March 25, 2013 1 Background material Proposition 1.1. For all n 1, we have π n (S n ) = Z, generated by the class of the identity map id: S

More information

Homotopy type theory

Homotopy type theory Homotopy type theory A high-level language for invariant mathematics Michael Shulman 1 1 (University of San Diego) March 8, 2019 Indiana University Bloomington Homotopy Type Theory (HoTT) is... A framework

More information

Section 1.5. Solution Sets of Linear Systems

Section 1.5. Solution Sets of Linear Systems Section 1.5 Solution Sets of Linear Systems Plan For Today Today we will learn to describe and draw the solution set of an arbitrary system of linear equations Ax = b, using spans. Ax = b Recall: the solution

More information

Categorical models of homotopy type theory

Categorical models of homotopy type theory Categorical models of homotopy type theory Michael Shulman 12 April 2012 Outline 1 Homotopy type theory in model categories 2 The universal Kan fibration 3 Models in (, 1)-toposes Homotopy type theory

More information

Univalence for Free. Matthieu Sozeau Joint work with Nicolas Tabareau - INRIA. GT Types & Réalisabilité March 13th 2013

Univalence for Free. Matthieu Sozeau Joint work with Nicolas Tabareau - INRIA. GT Types & Réalisabilité March 13th 2013 Univalence for Free Matthieu Sozeau Joint work with Nicolas Tabareau - INRIA Project Team πr 2 INRIA Rocquencourt & PPS, Paris 7 University GT Types & Réalisabilité March 13th 2013 Univalence for Free

More information

2-Dimensional Directed Dependent Type Theory

2-Dimensional Directed Dependent Type Theory Submitted to POPL 2011 2-Dimensional Directed Dependent Type Theory Daniel R. Licata Robert Harper Carnegie Mellon University {drl,rwh}@cs.cmu.edu Abstract The groupoid interpretation of dependent type

More information

Canonicity for 2-Dimensional Type Theory

Canonicity for 2-Dimensional Type Theory DRAFT Canonicity for 2-Dimensional Type Theory Daniel R. Licata Robert Harper Carnegie Mellon University {drl,rwh}@cs.cmu.edu Abstract Recent work on higher-dimensional dependent type theory enriches conventional

More information

Computer Proof Assistants and Univalent Foundations of Mathematics

Computer Proof Assistants and Univalent Foundations of Mathematics Nov. 16, 2014, CMA2014, Kuwait. Computer Proof Assistants and Univalent Foundations of Mathematics by Vladimir Voevodsky from the Institute for Advanced Study in Princeton, NJ. Kepler s Conjecture. In

More information

Type Theory and Constructive Mathematics. Type Theory and Constructive Mathematics Thierry Coquand. University of Gothenburg

Type Theory and Constructive Mathematics. Type Theory and Constructive Mathematics Thierry Coquand. University of Gothenburg Type Theory and Constructive Mathematics Type Theory and Constructive Mathematics Thierry Coquand University of Gothenburg Content An introduction to Voevodsky s Univalent Foundations of Mathematics The

More information

Varieties of Cubical Sets

Varieties of Cubical Sets Varieties of Cubical Sets Ulrik Buchholtz 1 and Edward Morehouse 2 1 Department of Philosophy, Carnegie Mellon University, Pittsburgh, PA 15213, USA Current address: Fachbereich Mathematik, Technische

More information

Categorification and Topology.

Categorification and Topology. Categorification and Topology John C. Baez for references and more, see: http://math.ucr.edu/home/baez/cat/ Once upon a time, mathematics was all about sets: In 1945, Eilenberg and Mac Lane introduced

More information

Univalent Foundations and Set Theory

Univalent Foundations and Set Theory Univalent Foundations and Set Theory Talk by Vladimir Voevodsky from Institute for Advanced Study in Princeton, NJ. May 8, 2013 1 Univalent foundations - are based on a class of formal deduction systems

More information

Focusing on Binding and Computation

Focusing on Binding and Computation Focusing on Binding and Computation Dan Licata Joint work with Noam Zeilberger and Robert Harper Carnegie Mellon University 1 Programming with Proofs Represent syntax, judgements, and proofs Reason about

More information

DEFINITION OF ABELIAN VARIETIES AND THE THEOREM OF THE CUBE

DEFINITION OF ABELIAN VARIETIES AND THE THEOREM OF THE CUBE DEFINITION OF ABELIAN VARIETIES AND THE THEOREM OF THE CUBE ANGELA ORTEGA (NOTES BY B. BAKKER) Throughout k is a field (not necessarily closed), and all varieties are over k. For a variety X/k, by a basepoint

More information

Algebras inspired by the equivalential calculus

Algebras inspired by the equivalential calculus Algebras inspired by the equivalential calculus Wies law A. DUDEK July 8, 1998 Abstract The equivalential calculus was introduced by Leśniewski in his paper on the protothetic [8]. Such logical system

More information

Lecture 6: Finite Fields

Lecture 6: Finite Fields CCS Discrete Math I Professor: Padraic Bartlett Lecture 6: Finite Fields Week 6 UCSB 2014 It ain t what they call you, it s what you answer to. W. C. Fields 1 Fields In the next two weeks, we re going

More information

Homotopy Type Theory An Overview (unfinished)

Homotopy Type Theory An Overview (unfinished) Homotopy Type Theory n Overview (unfinished) Nicolai Kraus Tue Jun 19 19:29:30 UTC 2012 Preface This composition is an introduction to a fairly new field in between of mathematics and theoretical computer

More information

5 Symmetries and point group in a nut shell

5 Symmetries and point group in a nut shell 30 Phys520.nb 5 Symmetries and point group in a nut shell 5.1. Basic ideas: 5.1.1. Symmetry operations Symmetry: A system remains invariant under certain operation. These operations are called symmetry

More information

CMPSCI 250: Introduction to Computation. Lecture #29: Proving Regular Language Identities David Mix Barrington 6 April 2012

CMPSCI 250: Introduction to Computation. Lecture #29: Proving Regular Language Identities David Mix Barrington 6 April 2012 CMPSCI 250: Introduction to Computation Lecture #29: Proving Regular Language Identities David Mix Barrington 6 April 2012 Proving Regular Language Identities Regular Language Identities The Semiring Axioms

More information

Sheaf models of type theory

Sheaf models of type theory Thierry Coquand Oxford, 8 September 2017 Goal of the talk Sheaf models of higher order logic have been fundamental for establishing consistency of logical principles E.g. consistency of Brouwer s fan theorem

More information

Total (Co)Programming with Guarded Recursion

Total (Co)Programming with Guarded Recursion Total (Co)Programming with Guarded Recursion Andrea Vezzosi Department of Computer Science and Engineering Chalmers University of Technology, Gothenburg, Sweden Types for Proofs and Programs Annual Meeting

More information

FINITE INVERSE CATEGORIES AS SIGNATURES

FINITE INVERSE CATEGORIES AS SIGNATURES FINITE INVERSE CATEGORIES AS SIGNATURES DIMITRIS TSEMENTZIS AND MATTHEW WEAVER Abstract. We define a simple type theory and prove that its well-formed contexts correspond exactly to finite inverse categories.

More information

Inductive and higher inductive types

Inductive and higher inductive types Inductive and higher inductive types Michael Shulman 13 April 2012 Homotopy invariance Question Suppose two model categories M, N present the same (, 1)-category C. Do they have the same internal type

More information

Structural Foundations for Abstract Mathematics

Structural Foundations for Abstract Mathematics May 5, 2013 What no foundation can give us: Certainty What foundations need not give us: Ontological reduction What set theory gives us: Common language in which all mathematics can be encoded:,,,... Dispute

More information

Two-dimensional models of type theory

Two-dimensional models of type theory Two-dimensional models of type theory Richard Garner Uppsala University Logic Colloquium 2008, Bern 1/33 Outline Motivation Two-dimensional type theory: syntax Two-dimensional type theory: semantics Further

More information

Patrick Iglesias-Zemmour

Patrick Iglesias-Zemmour Mathematical Surveys and Monographs Volume 185 Diffeology Patrick Iglesias-Zemmour American Mathematical Society Contents Preface xvii Chapter 1. Diffeology and Diffeological Spaces 1 Linguistic Preliminaries

More information

Exercise: Consider the poset of subsets of {0, 1, 2} ordered under inclusion: Date: July 15, 2015.

Exercise: Consider the poset of subsets of {0, 1, 2} ordered under inclusion: Date: July 15, 2015. 07-13-2015 Contents 1. Dimension 1 2. The Mayer-Vietoris Sequence 3 2.1. Suspension and Spheres 4 2.2. Direct Sums 4 2.3. Constuction of the Mayer-Vietoris Sequence 6 2.4. A Sample Calculation 7 As we

More information

Canonicity for 2-Dimensional Type Theory

Canonicity for 2-Dimensional Type Theory Canonicity for 2-Dimensional Type Theory Daniel R. Licata Robert Harper Carnegie Mellon University {drl,rwh}@cs.cmu.edu Abstract Higher-dimensional dependent type theory enriches conventional one-dimensional

More information

The Steenrod algebra

The Steenrod algebra The Steenrod algebra Paul VanKoughnett January 25, 2016 References are the first few chapters of Mosher and Tangora, and if you can read French, Serre s Cohomologie modulo 2 des complexes d Eilenberg-MacLane

More information

Distances in R 3. Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane:

Distances in R 3. Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane: Distances in R 3 Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane: Definition: The equation of a line through point P(x 0, y 0, z 0 ) with directional vector

More information

58 CHAPTER 2. COMPUTATIONAL METHODS

58 CHAPTER 2. COMPUTATIONAL METHODS 58 CHAPTER 2. COMPUTATIONAL METHODS 23 Hom and Lim We will now develop more properties of the tensor product: its relationship to homomorphisms and to direct limits. The tensor product arose in our study

More information

Introduction to higher homotopy groups and obstruction theory

Introduction to higher homotopy groups and obstruction theory Introduction to higher homotopy groups and obstruction theory Michael Hutchings February 17, 2011 Abstract These are some notes to accompany the beginning of a secondsemester algebraic topology course.

More information

THE WEDGE SUM AND THE SMASH PRODUCT IN HOMOTOPY TYPE THEORY

THE WEDGE SUM AND THE SMASH PRODUCT IN HOMOTOPY TYPE THEORY THE WEDGE SUM AND THE SMASH PRODUCT IN HOMOTOPY TYPE THEORY MASTER THESIS MATHEMATICAL INSTITUTE LMU MUNICH ANDREAS FRANZ THESIS SUPERVISOR: DR. IOSIF PETRAKIS Abstract. Martin-Löf s intensional type theory

More information

Introduction to Kleene Algebras

Introduction to Kleene Algebras Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)

More information

Categorical Homotopy Type Theory

Categorical Homotopy Type Theory Categorical Homotopy Type Theory André Joyal UQÀM MIT Topology Seminar, March 17, 2014 Warning The present slides include corrections and modifications that were made during the week following my talk.

More information

2.1 Affine and Projective Coordinates

2.1 Affine and Projective Coordinates 1 Introduction Depending how you look at them, elliptic curves can be deceptively simple. Using one of the easier definitions, we are just looking at points (x,y) that satisfy a cubic equation, something

More information

Program Testing and Constructive Validity

Program Testing and Constructive Validity Program Testing and Constructive Validity Peter Dybjer Chalmers University of Technology, Göteborg, Sweden Philosophy and Foundations of Mathematics: Epistemological and Ontological Aspects - to Per Martin-Löf

More information

Gauss composition and integral arithmetic invariant theory

Gauss composition and integral arithmetic invariant theory Gauss composition and integral arithmetic invariant theory David Zureick-Brown (Emory University) Anton Gerschenko (Google) Connections in Number Theory Fall Southeastern Sectional Meeting University of

More information

MAS435 Algebraic Topology Part A: Semester 1 Exercises

MAS435 Algebraic Topology Part A: Semester 1 Exercises MAS435 Algebraic Topology 2011-12 Part A: Semester 1 Exercises Dr E. L. G. Cheng Office: J24 E-mail: e.cheng@sheffield.ac.uk http://cheng.staff.shef.ac.uk/mas435/ You should hand in your solutions to Exercises

More information

Announcements Monday, September 18

Announcements Monday, September 18 Announcements Monday, September 18 WeBWorK 1.4, 1.5 are due on Wednesday at 11:59pm. The first midterm is on this Friday, September 22. Midterms happen during recitation. The exam covers through 1.5. About

More information

Beyond First-Order Logic

Beyond First-Order Logic Beyond First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) Beyond First-Order Logic MFES 2008/09 1 / 37 FOL

More information

A Meaning Explanation for HoTT

A Meaning Explanation for HoTT A Meaning Explanation for HoTT Dimitris Tsementzis March 12, 2018 Abstract In the Univalent Foundations of mathematics spatial notions like point and path are primitive, rather than derived, and all of

More information

The synthetic theory of -categories vs the synthetic theory of -categories

The synthetic theory of -categories vs the synthetic theory of -categories Emily Riehl Johns Hopkins University The synthetic theory of -categories vs the synthetic theory of -categories joint with Dominic Verity and Michael Shulman Homotopy Type Theory Electronic Seminar Talks

More information

Type Theory and Univalent Foundation

Type Theory and Univalent Foundation Thierry Coquand Clermont-Ferrand, October 17, 2013 This talk Revisit some questions discussed by Russell at the beginning of Type Theory -Russell s Paradox (1901) -Theory of Descriptions (1905) -Theory

More information

Polynomials and Polynomial Equations

Polynomials and Polynomial Equations Polynomials and Polynomial Equations A Polynomial is any expression that has constants, variables and exponents, and can be combined using addition, subtraction, multiplication and division, but: no division

More information

Cubical Interpretations of Type Theory

Cubical Interpretations of Type Theory Thesis for the Degree of Doctor of Philosophy Cubical Interpretations of Type Theory Simon Huber Department of Computer Science and Engineering University of Gothenburg Gothenburg, Sweden 2016 Cubical

More information

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge Type Systems Lecture 9: Classical Logic Neel Krishnaswami University of Cambridge Where We Are We have seen the Curry Howard correspondence: Intuitionistic propositional logic Simply-typed lambda calculus

More information

Computational Higher Type Theory III: Univalent Universes and Exact Equality

Computational Higher Type Theory III: Univalent Universes and Exact Equality Computational Higher Type Theory III: Univalent Universes and Exact Equality Carlo Angiuli Carnegie Mellon University Robert Harper Carnegie Mellon University December, 2017 Kuen-Bang Hou (Favonia) Institute

More information

L E C T U R E N O T E S O N H O M O T O P Y T H E O R Y A N D A P P L I C AT I O N S

L E C T U R E N O T E S O N H O M O T O P Y T H E O R Y A N D A P P L I C AT I O N S L A U R E N T I U M A X I M U N I V E R S I T Y O F W I S C O N S I N - M A D I S O N L E C T U R E N O T E S O N H O M O T O P Y T H E O R Y A N D A P P L I C AT I O N S i Contents 1 Basics of Homotopy

More information

Higher Inductive Types as Homotopy-Initial Algebras

Higher Inductive Types as Homotopy-Initial Algebras Higher Inductive Types as Homotopy-Initial Algebras Kristina Sojakova CMU-CS-16-125 August 2016 School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 Thesis Committee: Steve Awodey

More information

Homotopy theory in type theory

Homotopy theory in type theory Homotopy theory in type theory Michael Shulman 11 April 2012 Review of type theory Type theory consists of rules for deriving typing judgments: (x 1 : A 1 ), (x 2 : A 2 ),..., (x n : A n ) (b : B) The

More information

Modal homotopy type theory: The new new logic

Modal homotopy type theory: The new new logic Modal homotopy type theory: The new new logic David Corfield Philosophy, University of Kent, Canterbury, UK 17 August, 2018 Corfield (Philosophy, Kent) Modal HoTT 17 August, 2018 1 / 30 Philosophy and

More information

MATH 255 Applied Honors Calculus III Winter Homework 5 Solutions

MATH 255 Applied Honors Calculus III Winter Homework 5 Solutions MATH 255 Applied Honors Calculus III Winter 2011 Homework 5 Solutions Note: In what follows, numbers in parentheses indicate the problem numbers for users of the sixth edition. A * indicates that this

More information

15. Polynomial rings Definition-Lemma Let R be a ring and let x be an indeterminate.

15. Polynomial rings Definition-Lemma Let R be a ring and let x be an indeterminate. 15. Polynomial rings Definition-Lemma 15.1. Let R be a ring and let x be an indeterminate. The polynomial ring R[x] is defined to be the set of all formal sums a n x n + a n 1 x n +... a 1 x + a 0 = a

More information