Discussion of Homotopy Type Theory and Univalent Foundations
 help / color / mirror / Atom feed
* What is UF, what is HoTT and what is a univalent type theory?
@ 2016-06-02 21:29 Martin Escardo
  2016-06-03 11:53 ` Andrew Polonsky
       [not found] ` <CAOvivQxw34SKUatt4aW-u4bLjgSq=K58i8E6+sBBAh6OzvzANg@mail.gmail.com>
  0 siblings, 2 replies; 23+ messages in thread
From: Martin Escardo @ 2016-06-02 21:29 UTC (permalink / raw)
  To: HomotopyT...@googlegroups.com


What is UF (univalent foundations), what is HoTT and what is a
univalent type theory (UTT)?

The three of them start with a Martin-Lof type theory.

(However, any claim here about UF is just an unjustified claim, and at
best a guess, because I have never seen a (precise or even imprecise)
defininition of what UF should be. Whatever Vladimir replies about UF
is to be taken as correct by definition, and as an answer of what he
defines UF to be.)

By a Martin-Lof type theory I will mean any dependent type theory with
an identity-type former, and not necessarily with a universe.

To formulate the univalence axiom, we need a Martin-Lof type theory
with a universe U (or many universes if we wish).

The reason is that the univalence axiom is an axiom about (the
identity type of) the type U.

However, we have that UF, HoTT and UTT start much before we have a
universe U and we postulate the univalence axiom for it.

It starts by defining the notions of -1-type (proposition), 0-type
(set), 1-type (groupoid), and so on. And then, with this, defining the
notions of equivalence, embedding, surjection. And so on again.

In this sense, UF/HoTT/UTT is about, to begin with, giving the right
definitions for working in MLTT, even before the univalence axiom is
considered.

Much of mathematics takes place at the 0-level (sets). For this kind
of mathematics rendered in type theory, function extensionality and
propositional extensionality are essential.

Each of them is a particular case of the univalence axiom, as
discovered by Vladimir.

But then, for example, we have categories. The type of categories is
not a set. It is for types such as this that the univalence axiom is
used beyond its two particular cases discussed above (function
extensionality and propositional extensionality).

And what about higher-inductive types (HIT's)? Well, modulo size
considerations, many of them begin to exist with the univalence axiom
alone.  This is the case, for instance, for propositional truncation,
quotients and the circle (as per discussion in this list in the past).

We can now do a lot more of mathematics in Martin-Lof type theory from
what we have learned from UF/HoTT/UTT. Very often we need only
function extensionality and propositional extensionality, as two
particular cases of univalence, including the possibility to form
quotients.

The point, which perhaps is not made sufficiently explicit in the Book,
is that only when we climb to categories and the like is that the full
force of the univalence axiom is needed.

This is where I come from.

But a number of people come from another direction: MLTT plus
univalence and higher inductive types can be used as a language for
synthetic homotopy (and perhaps infty-toposes). This is nice, and I
like this very much. But it is a completely different perspective to
the subject, not necessarily the primary one.

Let me then come to the last of the three questions. What is UTT
(univalent type theory)? As I conceive it:

     It is any Martin-Lof type theory that is compatible with the idea
     that equality/equivalence, as rendered by the identity type, is,
     in general, structure rather than merely a property.

The subtlety (again articulated by Vladimir) is that "e is an equality
of x and y" is always supposed to be a property of the triple (e,x,y)
(i.e. a -1-type), but, on the other hand, there may be another
equality e' of x and y which is not equal to e, so that "x is equal to
y" may be a proposition in the "proposition as types" sense, but not
in the usual sense of a proposition as a truth value. (The usual sense
is captured by the notion of -1-type, as you know.) In any case, in
order to understand univalent type theory, it is essential to
understand the distinction of proposition as types versus proposition
as truth values, and make use of both in a subtle way, particularly
when it comes to the identity type.

Intensional Martin-Lof type theory is a univalent type theory, in this
sense. It is prepared to allow for such distinctions, before the
univalence axiom is considered. Importantly, MLTT allows the
formulation of the univalence axiom.

A competing univalent type theory is cubicaltt, in which such
distinctions are not only allowed but made good. The difference with
HoTT is that in HoTT such distinctions are merely axiomatized. In
cubicaltt they just hold. We can appreciate this before we even begin
to talk about computation, which cubicaltt also makes good.

Martin

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-06-15  3:04 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-02 21:29 What is UF, what is HoTT and what is a univalent type theory? Martin Escardo
2016-06-03 11:53 ` Andrew Polonsky
2016-06-03 12:49   ` [HoTT] " Vladimir Voevodsky
2016-06-03 14:12     ` Andrew Polonsky
2016-06-03 19:29       ` Vladimir Voevodsky
2016-06-03 22:05         ` andré hirschowitz
2016-06-04  8:38           ` Vladimir Voevodsky
2016-06-04  9:56             ` andré hirschowitz
2016-06-06  8:10               ` [HoTT] " Vladimir Voevodsky
2016-06-04  6:11         ` [HoTT] " Urs Schreiber
2016-06-06  7:14           ` Vladimir Voevodsky
2016-06-06  7:32             ` David Roberts
2016-06-06 10:56               ` [HoTT] " Vladimir Voevodsky
2016-06-06 11:40                 ` David Roberts
2016-06-03 20:17     ` [HoTT] " Martin Escardo
     [not found] ` <CAOvivQxw34SKUatt4aW-u4bLjgSq=K58i8E6+sBBAh6OzvzANg@mail.gmail.com>
2016-06-05 20:40   ` [HoTT] " Martin Escardo
     [not found]     ` <CAOvivQx0BHg2KCbWzav+0aW9knbEq521gxXBA3pDrFDxt8J0qA@mail.gmail.com>
2016-06-08 10:14       ` Martín Hötzel Escardó
2016-06-14 21:46         ` Michael Shulman
2016-06-14 22:15           ` Martin Escardo
2016-06-14 22:30             ` Michael Shulman
2016-06-14 23:33               ` Martin Escardo
2016-06-15  3:04                 ` Michael Shulman
2016-06-08 14:37       ` Fwd: " Michael Shulman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).