The Groupoid Interpretation of Type Theory, a Personal Retrospective - - PowerPoint PPT Presentation

the groupoid interpretation of type theory a personal
SMART_READER_LITE
LIVE PREVIEW

The Groupoid Interpretation of Type Theory, a Personal Retrospective - - PowerPoint PPT Presentation

The Groupoid Interpretation of Type Theory, a Personal Retrospective Martin Hofmann LMU Munich TLCA, Warsaw, 3rd July 2015 mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 1 / 38 Prehistory Got to know type theory through the proof


slide-1
SLIDE 1

The Groupoid Interpretation of Type Theory, a Personal Retrospective

Martin Hofmann

LMU Munich

TLCA, Warsaw, 3rd July 2015

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 1 / 38

slide-2
SLIDE 2

Prehistory

Got to know type theory through the proof assistant LEGO in ∼ 1990 in a workshop organized by Terry Stroup in Hetzelsdorf, .de. Among the attendants: Randy Pollack, Benjamin Pierce, Thorsten Altenkirch, . . . hetz.jpg beer.jpeg Became fascinated by machine-checked proof, but also annoyed by lack of “extensional concepts” and intrigued by type dependency and intensionality.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 2 / 38

slide-3
SLIDE 3

Dependent types

Propositions as types for predicate logic. Curry-Howard: a proof of ϕ ∧ ψ is a pair comprising a proof of ϕ and a proof of ψ. A proof of ϕ → ψ is a function mapping proofs of ϕ to proofs of ψ. A proposition is (induces, corresponds to,. . . ) the type (set) of its proofs Generalising to predicates: a proof of ∀x:A.ϕ(x) is a dependent function mapping an element v ∈ A to an element (=proof) of ϕ(v). We write the type of such dependent functions as Πx:A.ϕ(x). a proof of ∃x:A.ϕ(x) is a dependent pair (v, p) consisting of an element v ∈ A and an element (=proof) p of ϕ(v). We write the type of such dependent functions as Σx:A.ϕ(x).

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 3 / 38

slide-4
SLIDE 4

To formalise this, we need families of types depending on values: dependent types. Other examples of dependent types: vectors, matrices, arrays, universes, . . . . So far (a formal system of dependent types including Π, Σ) this existed before Martin-L¨

  • f: de Bruijn’s Automath.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 4 / 38

slide-5
SLIDE 5

Martin-L¨

  • f type theory

Martin-L¨

  • f augments basic system of dependent types with inductively

defined types: natural numbers, lists, trees, well-orderings, . . . . . . and an inductive definition of equality: the identity type: For each type A a dependent type IdA(x, y) where x, y ∈ A representing equality of x and y

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 5 / 38

slide-6
SLIDE 6

Reflexivity: a dependent function reflA : Πx:A.IdA(x, x) An induction principle asserting that this is the only inhabitant:

◮ Given a dependent type C(x, y, p) where x, y:A and p:IdA(x, y) ◮ Given a dependent function h : Πx:A.C(x, x, reflA(x)) obtain a

dependent function J(h) : Πx, y:A.C(x, y, p)

◮ β-reduction: J(h)(x, x, reflA(x)) h(x)

Compare with natural numbers 0 : N and Suc : N → N. Given a dependent type C(x) where x : N and h0 : C(0) and hSuc : Πx:N.C(x) → C(Suc(x)) you get I(h0, hSuc) : Πx:N.C(x). One has I(h0, hSuc)(0) h0 and I(h0, hSuc)(Suc(n)) hSuc(n, I(h0, hSuc)(n)). Can use that both for primitive recursion (e.g. C(x) = N) and induction (e.g. C(x) = IdN(x, Sucx(0))).

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 6 / 38

slide-7
SLIDE 7

Properties of propositional equality

Leibniz principle: if P : A → Set then can define subst : Πx, y:A.Id(x, y) → P(x) → P(y) with β-rule subst(x, x, refl(x), p) p. Symmetry, transitivity of Id: sym : Πx, y:A.Id(x, y) → Id(y, x) trans : Πx, y, z:A.Id(x, y) → Id(y, z) → Id(y, x) Congruence rules with respect to almost all term formers. In particular resp : Πf : A→B.Πx, y:A.IdA(x, y) → IdB(f (x), f (y)). Can define elements of Id by induction (recursion), thus e.g. find an inhabitant (“proof”) of ΠA:Set.Πl:List(A).Id(rev(rev(l)), l)

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 7 / 38

slide-8
SLIDE 8

Definitional equality

Definitional equality is the congruence induced by β-reduction. Definitionally equal terms and types are identified (“syntactic congruence”) Definitional equality is decidable (inhabitance of Id(x, y) a.k.a. propositional equality is not).

?

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 8 / 38

slide-9
SLIDE 9

Extensional type theory

Definitional and propositional equality identified. If Id(u, v) is inhabited then u = v may be concluded. Definitional equality and thus type checking becomes undecidable. Valid typing judgements should be accompanied by a (sufficiently verbose digest of a) derivation. Underlying theory of Nuprl and PVS

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 9 / 38

slide-10
SLIDE 10

Id is great

Coming from the Calculus of Constructions (LEGO) where equality is encoded by Leibniz formula, the identity type was quite an innovation for us. The following type is inhabited, proof using J. Πx, y:N.Πu:Vec(x).Πp:IdN(x, y).IdN(length(u), length(substVec(p, u)) For the first time we could not only define but also reason about dependent functions and data types. Fortunately, LEGO had support for arbitrary rewrite rules so we could easily put in the identity type even before the Calculus of Inductive Constructions became available.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 10 / 38

slide-11
SLIDE 11

Extensional concepts

It was known for a long time that propositional equality suffered from some unnecessary (?) defects: From Πx:A.IdB(f (x), g(x)) cannot conclude IdA→B(f , g) Cannot redefine propositional equality by quotienting (real numbers, streams, modular arithmetic, . . . ) Cannot conclude IdProp(ϕ, ψ) from ϕ ↔ ψ Cure: book equality, setoids, OTT, axioms for extensional concepts, setoid interpretation

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 11 / 38

slide-12
SLIDE 12

Uniqueness of identity

The extensional concepts somehow are orthogonal or even in conflict with the view of propositional equality as an inductive definition. But the following are not!

◮ Uniqueness of identity proofs (UIP):

Πx, y:A.Πp, q:IdA(x, y).IdIdA(x,y)(p, q)

◮ Streicher’s K: ΠC : Πx:A.IdA(x, x) → Set.(Πx:A.C(x, refl(x))) →

(Πx:A.Πp:Id(x, x).C(x, p))

◮ Congruence for the second projection:

Πa:A.Πb, b′:B(a).IdΣx:A.B(x)((a, b), (a, b′)) → IdB(a)(b, b′)

None of these are inhabited (as we now know), but they are interdefinable and inhabited in an extension of Martin-L¨

  • f type theory

with pattern matching (Coquand).

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 12 / 38

slide-13
SLIDE 13

“Identity equations”

While not all equality proofs are equal (at least we didn’t know how to prove it) some identities are provable: Πx, y:A.Πp:Id(x, y).IdId(x,y)(p, trans(refl(x), p)) We use C(x, y, p) := IdId(x,y)(p, trans(refl(x), p)) and have h := λx:A.refl(refl(x)) : Πx:A.C(x, x, refl(x)) This is because by β-reduction trans(refl(x), refl(x)) refl(x). Recall the definition of trans in terms of J.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 13 / 38

slide-14
SLIDE 14

Notation and more identity equations

Let us abbreviate: trans(p, q) by qp and refl(x) by idx. Let us also write p ∼ q when IdId(x,y)(p, q) is inhabited. We have just proved: p idx ∼ p In a similar way, we can also prove: id p ∼ p p(qr) ∼ (pq)r i.e. Id(trans(trans(r, q), p), trans(r, trans(q, p))) is inhabited. Thus, intuitively, each type forms a category with its members as objects, and Id-proofs as morphisms.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 14 / 38

slide-15
SLIDE 15

Symmetry as an inverse

Recall sym : Πx, y:A.Id(x, y) → Id(y, x). Writing p−1 := sym(p) we can prove: p p−1 ∼ 1 p−1 p ∼ 1 So, the category of identity proofs is in fact a groupoid (a category where all morphisms are isomorphisms). Up to ∼, that is.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 15 / 38

slide-16
SLIDE 16

Functions are functors

Recall that resp:Πf : A→B.Πx, y:A.IdA(x, y) → IdB(f (x), f (y)) Abbreviating resp(f )(p) by f (p) we can prove: f (id) ∼ id f (p q) ∼ f (p) f (q) and, as a consequence: f (p−1) ∼ f (p)−1. So, each type-theoretic function f : A → B is actually a functor from the groupoid induced by A to the groupoid induced by B.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 16 / 38

slide-17
SLIDE 17

Leibniz principle

Recall subst : Πx, y:A.Id(x, y) → P(x) → P(y) If b : P(x) and p : Id(x, y) let us write P(p)(b) : P(y) for subst(p, b). Each type P(x) for x : A is a groupoid (by being a type and by the above). The Leibniz principle P(p)(−) is a functor from the groupoid P(x) to P(y) when p ∈ Id(x, y). That’s just because P(p) : P(x) → P(y). But more than that: we can show that the functor P(id) : P(x) → P(x) is naturally isomorphic to the identity functor and that the composition P(q) ◦ P(p) is naturally isomorphic to P(qp).

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 17 / 38

slide-18
SLIDE 18

Models of type theory

The set-theoretic model: types as sets, dependent types as families of sets, functions as set-theoretic functions. [[Id(x, y)]] = {⋆}, if x = y ∅, otherwise Domain-theoretic model: types as domains, dependent types as families of domains, functions as continuous functions Realizability model: types as ω-sets, dependent types as families of ω-sets, functions as realizable functions Term model: types as types, . . . Deliverables model: types as types together with a predicate, functions as functions together with a proof that the predicates are

  • preserved. Provides support for subset and squash types.

Setoid model: types as types together with a (partial) equivalence relation, functions as functions together with a proof that the equivalences are respected. Provides support for extensional concepts, notably quotient types.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 18 / 38

slide-19
SLIDE 19

The groupoid interpretation

Interpret types as groupoids (small categories in which all morphisms are isomorphisms) Interpret functions as functors between groupoids Interpret dependent types as groupoid-valued functors If A is a groupoid then IdA is the following groupoid valued functor: IdA(x, y) = A(x, y), the A morphisms from x to y with trivial equality This means that IdIdA(p, q) = {⋆}, if p = q ∅, otherwise Choosing A as a nontrivial groupoid, e.g. A = {⋆} and A(x, y) = (Z, +, 0), should yield a countermodel to UIP (uniqueness

  • f identity proofs), hence a proof that UIP cannot be uniformly

derived by the rules of type theory. This works, but there are some interesting points to be looked at:

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 19 / 38

slide-20
SLIDE 20

Functor part of IdA

We must also define the functor part of IdA. Given a morphism from (x, y) to (x′, y′), i.e., p : x → x′ and q : y → y′, we must define a functor IdA(p, q) between the (trivial) groupoids IdA(x, y) and IdA(x′, y′). If r ∈ IdA(x, y) put IdA(p, q)(r) = qrp−1 Notice that p−1 is the inverse morphism of p in the groupoid A. x p

✲ x′

y r

q

✲ y′

qrp−1

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 20 / 38

slide-21
SLIDE 21

The associated term formers

We must interpret the refl-constructor. That’s easy: refl(x) = idx ∈ IdA(x, x) = A(x, x) To get further we must look at Σ-types in the groupoid model: If A is a groupoid and B : A → Gpd a groupoid-valued functor, define a groupoid Σ(A, B): Objects {(a, b) | a ∈ A, b ∈ B(a)}. Morphisms: Σ(A, B)((a, b), (a′, b′)) = {(p, q) | p ∈ A(a, a′), q ∈ B(p)(b), b′)} Composition: (p′, q′)(p, q) = (p′p, q′B(p)(q)). Need functor laws for B(−) for this to be associative, . . .

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 21 / 38

slide-22
SLIDE 22

The associated term formers, cont’d: J

We are given a groupoid A We form Σ(A × A, IdA): Objects (x, y, r) where r ∈ IdA(x, y); morphisms (p, q, ⋆) where p ∈ A(x, x′) and q ∈ A(y, y′) and ⋆ ∈ IdIdA(r′, qrp−1), i.e., r′ = qrp−1 or qr = r′p. We are given a groupoid-valued functor C on Σ(A × A, IdA) We are given a functor h which given x ∈ A yields h(x) ∈ C(x, x, idx) and given p ∈ A(x, x′) gives a morphism C(p, p, ⋆)(h(x)) ↔ h(x′) From these data, we should build a functor J(h) which given (x, y, r) ∈ Σ(A × A, IdA) yields J(h)(x, y, r) ∈ C(x, y, r). Here goes:

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 22 / 38

slide-23
SLIDE 23

Building J

We have a morphism from (x, x, idx) to (x, y, r), namely (idx, r, ⋆). Indeed, r idx = r idx. Thus, we define J(h)(x, y, r) := C(idx, r, ⋆)(h(x)) h(x) ∈ C(x, x, idx) = ⇒ C(idx, r, ⋆)(h(x)) ∈ C(x, y, r) (x, x, idx) (idx, r, ⋆)

✲ (x, y, r)

x idx

✲ x

x idx

r

✲ y

r

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 23 / 38

slide-24
SLIDE 24

Remaining work

Still need to define morphism part and verifications,. . . Still need to interpret dependent Σ-types and Π-types. In order to do all that rigorously and systematically it is best to use an abstract notion of model like categories with attributes or categories with families.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 24 / 38

slide-25
SLIDE 25

The second projection

Recall that we did not know whether the following type is in general inhabited: Πx:A.Πb, b′:B(x).IdΣx:A.B(x)((x, b), (x, b′)) → IdB(x)(b, b′) Let’s look at it in the groupoid interpretation: An element of IdΣx:A.B(x)((x, b), (x, b′)) is a pair r ∈ A(x, x) and q ∈ B(x)(B(r)(b), b′). An element of IdB(x)(b, b′) is an element of B(x)(b, b′). Not the same thing. Consider that A = {⋆} and A(⋆, ⋆) = Z and B(⋆) = Z (trivial groupoid) and B(p)(q) = p + q. Then (12, ⋆) ∈ (IdΣx:A.B(x)((⋆, 5), (⋆, 17)) because 12 + 5 = 17, but IdB(⋆)(5, 17) = ∅. In fact, the following type is inhabited Πx, x′:A.Πb:B(x).Πb′:B(x′).Πs:IdΣx:A.B(x)((x, b), (x′, b′)). IdB(x)(subst(resp(λz:Σx:A.B(x). z.1, s), b), b′)

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 25 / 38

slide-26
SLIDE 26

Isomorphism as equality

  • G. Kreisel: what more do we know if we prove something with

restricted means? In the case of Martin-L¨

  • f type theory the absence of UIP allows one

to treat isomorphism as equality: We can soundly assume a constant: iso eq : ΠA, B:Set.Bij(A, B) → IdSet(A, B) where Bij(A, B) is the type of bijections between A and B. We can also assume an equation: If a ∈ A and f ∈ Bij(A, B) then subst(iso eq(f ), a) f (a) “transporting” along iso eq(f ) is like applying f . Clearly, this is in conflict with UIP, but soundly interpretable in the gorupoid model: Interpret Set as the groupoid whose objects are (small) sets and where morphisms are bijections.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 26 / 38

slide-27
SLIDE 27

Application of universe extensionality

As an application we can define Set-valued functors in the naive way: such a functor comprises functions F0 : Ob → Set and F1 : Πx, y:Ob.Mor(x, y) → F(x) → F(y). and proofs (in terms of Id) of the functor laws. Ob and Mor refer to some fixed category, e.g. certain maps on finite sets,. . . Now from universe extensionality (iso eq) and functional extensionality (not described) one can prove that functors are equal iff they are naturally isomorphic. The important notion of natural isomorphism just sort of pops out!

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 27 / 38

slide-28
SLIDE 28

Non-example: symmetric monoidal categories

Symmetric monoidal category: category with binary operation ⊗ on

  • bjects and morphisms (“parallel composition”). Applied in algebra,

concurrency, linear logic, . . . Strict variant: A ⊗ (B ⊗ C) = (A ⊗ B) ⊗ C and f ⊗ (g ⊗ h) = (f ⊗ g) ⊗ h. Disadvantage: often not satisfied, e.g., A ⊗ B = A × B (cartesian product). Non-strict variant: A ⊗ (B ⊗ C) ≃ (A ⊗ B) ⊗ C (naturally!) plus MacLane’s pentagon: the two ways of ≃-rewriting ((A ⊗ B) ⊗ C) ⊗ D to A ⊗ (B ⊗ (C ⊗ D)) are equal. If we replace = by Id, do strict and non-strict coincide? Naturality of the isomorphisms again pops out, but pentagon does not.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 28 / 38

slide-29
SLIDE 29

Another application: “suggesting” equations

Remember that the groupoid structure of IdA is provable from the syntax. So, it’s there hidden in Martin-L¨

  • f’s axioms for equality.

Turns out, that also the proofs, say of associativity of trans, satisfy some equations, etc. The syntax of Martin-L¨

  • f type theory induces the structure of a weak

ω-groupoid: never any actual equations, just equivalences satisfying coherence laws that again hold up to isomorphism,. . . . At the time (late 90s) people didn’t even know how to define such a thing.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 29 / 38

slide-30
SLIDE 30

Trying to get people interested. . .

Return-Path: <mxh@dcs.ed.ac.uk> Date: Wed, 18 Nov 1998 15:54:10 GMT To: baez@math.ucr.edu Subject: Groupoids & Martin-Loef type theory From: "Martin Hofmann" <mxh@dcs.ed.ac.uk> Dear John Baez, It is with some interest that I follow as a spectator the recent interest in higher-order category theory by theoretical physicists notably you and your group. In my own research on Martin-Loef type theory (don’t worry if you have no clue what that is...) I’ve come across an intriguing application groupoids and [...] I kept wondering whether there might also be a relationship between Martin-Loef type theory and your applications of groupoids in physics. (Of course, in general "having an interesting relationship" is not transitive ....). In a nutshell the idea is this. [...]

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 30 / 38

slide-31
SLIDE 31

Another attempt 10 years later

. . . after talking to JB in person

Date: Fri, 14 Aug 2009 17:17:15 -0700 Message-ID: <179b05930908141717t6fc69388l442c4330cbec8a16@mail.gmail.com> Subject: Re: your talk at LICS From: John Baez <john.c.baez@gmail.com> To: hofmann@ifi.lmu.de Hi - I found your work on infinity-groupoids from Martin Loef type theory to be very inspiring - this is exactly the sort of approach to logic that I’m excited by.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 31 / 38

slide-32
SLIDE 32

And in Week 279 (Sept. 2009) of “This weeks finds”:

I also won’t tell you about the new revolution linking logic to weak -groupoids. For that you’ll have to read these: 15) Martin Hofmann and Thomas Streicher, The groupoid interpretation of type theory, in [...] 16) Steve Awodey and Michael A. Warren, Homotopy theoretic models of identity types, available as arXiv:0709.0248. 17) Steve Awodey, Pieter Hofstra, Michael A. Warren, Martin-Lf Complexes, available as arXiv:0906.4521. 18) Benno van den Berg and Richard Garner, Types are weak omega-groupoids [...]

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 32 / 38

slide-33
SLIDE 33

Learning about Homotopy type theory

From: Helmut Schwichtenberg <schwicht@mathematik.uni-muenchen.de> To: hofmann@ifi.lmu.de, Thomas Streicher <streicher@mathematik.tu-darmstadt.de> Cc: vladimir@ias.edu, morel@mathematik.uni-muenchen.de Subject: Vladimir Voevodsky on homotopy lambda calculus Date: Mon, 09 Nov 2009 17:44:09 +0100 Lieber Herr Hofmann, lieber Herr Streicher, I write this in English because of the cc above. Vladimir Voevodsky is visiting LMU this week (Fabien Morel is his host), and he will give a talk at our math colloquium next Friday (13.11., 16:15, Room B 006)

  • n homotopy lambda calculus.

In a discussion we had today it was

  • bvious that there will be many relations to the theses of the two of

you. It would be very nice if you could come to this lecture (maybe even from Darmstadt?) Mit freundlichem Gruss,

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 33 / 38

slide-34
SLIDE 34

Topics in homotopy type theory

Univalence axiom (Voevodskij). Higher-dimensional generalisation of universe extensionality. Defining ω-groupoids. New models of type theory from ω-groupoids and Quillen model structures. Computational content of univalence cubical type theory Higher inductive types: do not only define the members inductively, but also the propositional equality and equations between equality proofs etc.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 34 / 38

slide-35
SLIDE 35

Examples of higher inductive types

Loop space of a circle:

◮ L = {⋆} (one chosen point on the circle) ◮ IdL(⋆, ⋆) = Z (closed loops up to continuous deformation) ◮ IdIdL(m, m) = {⋆} and IdIdL(m, = m) = ∅

Loop space of a sphere:

◮ L = {⋆} ◮ IdL(⋆, ⋆) = {⋆} (all loops on a sphere are inter-deformable) ◮ IdIdL(m, m) = {⋆} and IdIdL(m, = m) = Z (ways of deforming a loop

into itself. Can pull around the sphere.)

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 35 / 38

slide-36
SLIDE 36

Recent use of groupoids (or rather setoids): proof-relevant logical relations

A world is a set of locations, of names, of contracts, . . . describing the current assumptions on the heap in a functional program with side-effects. Kripke logical relations: for each world w and type τ (possibly containing detailed effect information) define a binary relation [[τ]]w ⊆ V × V . Soundness: If (v, v′) ∈ [[τ]]∅ then v, v′ are

  • bservationally equivalent.

Clause for function types: (f , f ′) ∈ [[τ

ε

→ τ ′]]w ⇐ ⇒ ∀w′ ⊇ w.∀(v, v′) ∈ [[τ]]w′.∀h, h′ | = w. ∃w′′ ⊇ w.h1, h′

1 |

= w′′ ∧ [[ε]]w′,w′′(h, h′, h1, h′

1) ∧ (r, r′) ∈ [[τ ′]]

Here f (v)(h) = (h1, r) and f ′(v′)(h′) = (h′

1, r′).

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 36 / 38

slide-37
SLIDE 37

Going proof-relevant

Existential quantifier doesn’t interact well with recursion Would like to have world morphisms not just inclusions Be able to transport a computation along a world morphism Obtain transitivity and easier proofs by pasting heaps Extend reasoning to truly dependent types . . . by making (v, v′) ∈ [[τ]] a set rather than a proposition [[τ]] becomes a groupoid valued functor (on the category of worlds and worls morphisms) Hope to be able to use HoTT for formalization. Presently lacking:

◮ support for general recursion (Scott domains rather than sets) ◮ integration with general purpose theorem proving mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 37 / 38

slide-38
SLIDE 38

Conclusion

Groupoid interpretation arose from the attempt to show unprovability

  • f UIP

Suggests itself once one understands which equalities between equality proofs are provable in Martin-L¨

  • f type theory

Revealed intriguing connection between type theory and abstract math, in particular topology, homotopy After 10 years of dormancy a very active and productive research area Vanilla application: get abstract math people to use homotopy type theory vn.jpeg Puffo applications: formalised reasoning about observational equivalence in the presence of dynamic allocation, strong typing, general recursion schlmpf.jpeg Advice to young researchers: attend talks, workshops, schools, speak to many people, believe in your work, try not to be shy.

mh (lmumun) Groupoid Interpretation TLCA 03.07.2015 38 / 38