Discussion of Homotopy Type Theory and Univalent Foundations
 help / color / mirror / Atom feed
From: Thorsten Altenkirch <Thorsten....@nottingham.ac.uk>
To: Jon Sterling <j...@jonmsterling.com>,
	"'Martin Escardo' via Homotopy Type Theory"
	<homotopyt...@googlegroups.com>
Subject: Re: [HoTT] Identity versus equality
Date: Sun, 10 May 2020 11:46:13 +0000	[thread overview]
Message-ID: <154D1B4B-6881-4269-8BA1-1CE8EBB0BE0D@nottingham.ac.uk> (raw)
In-Reply-To: <b1d32ac0-e364-4405-9e48-e0e1e0b37732@www.fastmail.com>

Hi Jon,

I just had an exchange with Andre regarding this which I forgot to cc to the list.

Defining simplicial types isn't entirely straightforward (as you know I suppose), because Delta is not directed. We can do semi-simplicial types as a Reedy limit, i.e. an infinite Sigma type (actually you can do it as a coinductive definition). You need some extra principles, e.g. that strict Nat is fibrant or maybe better that certain coinductive types exist. 

However, presheaves over Delta cannot be written as a Reedy limit. Now there are a number of ways to address this. We can work with semi-simplicial sets and add Hornfillers by stating equivalences (there is no coherence problem because these are propositional). To regain identities we can add the assumption that the higher category is univalent (i.e. for every object the type of objects paired with an equivalence is contractible) which entails the existence of degeneracies. 

The question of how to define simplicial types remains however. I find that looking at the lower levels of simplicial presheaves it is actually strange that binary composition is handled via horn-fillers whlle identity, i.e. nullary composition, is built into the structure. Maybe we should treat identity in the same way as composition, which means that we introduce a family modelling degeneracies. 

What I mean is that if we write down the first levels of a semisimplicial type we have

X0 : U
X1 : X0 -> X0 -> U
X2 : (x0,x1,x2 : X0) -> X0 x0 x1 -> X0 x1 x2 -> X0 x0 x2 -> U

But we can add degeneracies by adding families which say that some object is a degeneracy:

I0 : (x0 : X0) -> X1 x0 x0 -> U
I1_0 : (x0 x1 : X0)(f : X1 x0 x1)(i : X1 x0 x0) -> I0 x0 i -> X2 x0 x1 x1 i f f -> U
I1_1 : (x0 x1 : X0)(f : X1 x0 x1)(i : X1 x1 x1) -> I0 x1 i -> X2 x0 x0 x1 f i f -> U

That is while X2 can be viewed as a proof-relevant predicate that a triangle commutes, I0 is a predicate that an arrow is an identity and I1_0 , I1_1 are predicates that triangles are degenerate.

Adding horn-fillers type-theoretically corresponds to saying that certain types are contractible:

(x0,x1,x2 : X0)(f : X1 x0 x1)(g : X1 x1 x2) -> is-contractible ((h : X1 x0 x2) \times X2 x0 x1 x2 f g h)

where is-contractible(A) = (a : A) \times ((x : A) -> a = x)

Similarly we can add degeneracies

(x0 : X0) -> is-contractible (X1 x0 x0)
(x0 x1 : X0)(f : X1 x0 x1)(i : X1 x0 x0)(j : I0 x0 i) -> is-contractible ((x :  X2 x0 x1 x1 i f f) \times I1_0 x0 x1 f i j x)
(x0 x1 : X0)(f : X1 x0 x1)(i : X1 x1 x1)(j : I0 x0 i) -> is-contractible ((x :  X2 x0 x0 x1 f i f) \times I1_0 x1 x1 f i j x)

This is related to Kraus' & Sattler's directed replacement:
https://arxiv.org/abs/1704.04543

Andre mentioned that degeneracies play an important role in the classical theory of simplicial sets, e.g. to show that geometric realisation preserves finite limits. However, the situation is quote different here because we work with types not sets. Hence you would expect that the topologies are also higher-dimensional objects. Has anybody looked at this?

Thorsten

On 09/05/2020, 22:28, "homotopyt...@googlegroups.com on behalf of Jon Sterling" <homotopyt...@googlegroups.com on behalf of j...@jonmsterling.com> wrote:

    Dear André,

    The coherence problems involved in formulating everyday notions like simplicial types (what an amazing world we live in to be able to call this everyday!) can be resolved by extending Homotopy Type Theory with a "sub-homotopical" layer, a second equality type that is meant to capture the strict mathematical equality instead of paths. This is sometimes called Two Level Type Theory. In this case, it is possible to define simplicial types, using the strict equality to sidestep the problem of defining homotopy coherent structures in HoTT.

    There are a number of ways to achieve this, and they have different tradeoffs depending on what your goals are. The space of possible realizations of this idea corresponds to what Thomas has referred to as the "subjectivity" of judgmental equality.

    Best,
    Jon


    On Sat, May 9, 2020, at 4:18 PM, Joyal, André wrote:
    > Dear Thomas,
    > 
    > You wrote 
    > 
    > <<In my opinion the currenrly implemented type theories are essentially
    > for proving and not for computing.
    > But if you haven't mechanized PART of equational reasoning it would be
    > much much more painful than it still is.
    > But that is "only" a pragmatic issue.>>
    > 
    > Type  theory has very nice features. I wish they could be preserved and 
    > developped further.
    > But I find it frustrating that I cant do my everyday mathematics with 
    > it.
    > For example, I cannot  say 
    > 
    > (1) Let X:\Delta^{op}---->Type be a simplicial type;
    > (2) Let G be a type equipped with a group structure;
    > (3) Let BG be the classifying space of a group G;
    > (4) Let Gr be the category of groups;
    > (5) Let SType be the category of simplical types.
    > (6) Let Map(X,Y) be the simplicial types of maps X--->Y
    > between two simplicial types X and Y.
    > 
    > It is crucial to have (1)
    > For example, a group could be defined to
    > be a simplicial object satisfying the Segal conditions.
    > The classifying space of a group is the colimit of this simplicial object.
    > The category of groups can be defined to be
    > a simplicial objects satisfiying the Rezk conditions (a complete Segal space).
    > 
    > Is there some aspects of type theory that we may give up as a price
    > for solving these problems ?
    > 
    > 
    > Best,
    > André
    > 
    > ________________________________________
    > From: Thomas Streicher [stre...@mathematik.tu-darmstadt.de]
    > Sent: Saturday, May 09, 2020 2:43 PM
    > To: Joyal, André
    > Cc: David Roberts; Thorsten Altenkirch; Michael Shulman; Steve Awodey; 
    > homotopyt...@googlegroups.com
    > Subject: Re: [HoTT] Identity versus equality
    > 
    > Dear Andr'e,
    > 
    > > By the way, if type theory is not very effective in practice, why do we insist that it should always compute?
    > > The dream of a formal system in which every proof leads to an actual computation may be far off.
    > > Not that we should abandon it, new discoveries are always possible.
    > > Is there a version of type theory for proving and verifying, less
    > > for computing?
    > 
    > In my opinion the currenrly implemented type theories are essentially
    > for proving and not for computing.
    > But if you haven't mechanized PART of equational reasoning it would be
    > much much more painful than it still is.
    > But that is "only" a pragmatic issue.
    > 
    > > The notations of type theory are very useful in homotopy theory.
    > > But the absence of simplicial types is a serious obstacle to applications.
    > 
    > In cubical type theory they sort of live well with cubes not being
    > fibrant... They have them as pretypes. But maybe I misunderstand...
    > 
    > Thomas
    > 
    > -- 
    > You received this message because you are subscribed to the Google 
    > Groups "Homotopy Type Theory" group.
    > To unsubscribe from this group and stop receiving emails from it, send 
    > an email to HomotopyT...@googlegroups.com.
    > To view this discussion on the web visit 
    > https://groups.google.com/d/msgid/HomotopyTypeTheory/8C57894C7413F04A98DDF5629FEC90B1652F563A%40Pli.gst.uqam.ca.
    >

    -- 
    You received this message because you are subscribed to the Google Groups "Homotopy Type Theory" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to HomotopyT...@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/HomotopyTypeTheory/b1d32ac0-e364-4405-9e48-e0e1e0b37732%40www.fastmail.com.




This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please contact the sender and delete the email and
attachment. 

Any views or opinions expressed by the author of this email do not
necessarily reflect the views of the University of Nottingham. Email
communications with the University of Nottingham may be monitored 
where permitted by law.





  parent reply	other threads:[~2020-05-10 11:46 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05  8:47 Ansten Mørch Klev
2020-05-06 16:02 ` [HoTT] " Joyal, André
2020-05-06 19:01   ` Steve Awodey
2020-05-06 19:18     ` Michael Shulman
2020-05-06 19:31       ` Steve Awodey
2020-05-06 20:30         ` Joyal, André
2020-05-06 22:52         ` Thorsten Altenkirch
2020-05-06 22:54       ` Thorsten Altenkirch
2020-05-06 23:29         ` Joyal, André
2020-05-07  6:11           ` Egbert Rijke
2020-05-07  6:58           ` Thorsten Altenkirch
2020-05-07  9:04             ` Ansten Mørch Klev
2020-05-07 10:09             ` Thomas Streicher
2020-05-07 16:13               ` Joyal, André
2020-05-07 21:41                 ` David Roberts
2020-05-07 23:43                   ` Joyal, André
2020-05-07 23:56                     ` David Roberts
2020-05-08  6:40                       ` Thomas Streicher
2020-05-08 21:06                         ` Joyal, André
2020-05-08 23:44                           ` Steve Awodey
2020-05-09  2:46                             ` Joyal, André
2020-05-09  3:09                               ` Jon Sterling
     [not found]                             ` <CADZEZBY+3z6nrRwsx9p-HqYuTxAnwMUHv7JasHy8aoy1oaGPcw@mail.gmail.com>
2020-05-09  2:50                               ` Steve Awodey
2020-05-09  8:28                           ` Thomas Streicher
2020-05-09 15:53                             ` Joyal, André
2020-05-09 18:43                               ` Thomas Streicher
2020-05-09 20:18                                 ` Joyal, André
2020-05-09 21:27                                   ` Jon Sterling
2020-05-10  2:19                                     ` Joyal, André
2020-05-10  3:04                                       ` Jon Sterling
2020-05-10  9:09                                         ` Thomas Streicher
2020-05-10 11:59                                           ` Thorsten Altenkirch
2020-05-10 11:46                                     ` Thorsten Altenkirch [this message]
2020-05-10 14:01                                       ` Michael Shulman
2020-05-10 14:20                                         ` Nicolai Kraus
2020-05-10 14:34                                           ` Michael Shulman
2020-05-10 14:52                                             ` Nicolai Kraus
2020-05-10 15:16                                               ` Michael Shulman
2020-05-10 15:23                                                 ` Nicolai Kraus
2020-05-10 16:13                                                   ` Nicolai Kraus
2020-05-10 16:28                                                     ` Michael Shulman
2020-05-10 18:18                                                       ` Nicolai Kraus
2020-05-10 19:15                                             ` Thorsten Altenkirch
2020-05-10 19:20                                         ` Thorsten Altenkirch
2020-05-10 12:53                                   ` Ulrik Buchholtz
2020-05-10 14:01                                     ` Michael Shulman
2020-05-10 14:27                                       ` Nicolai Kraus
2020-05-10 15:35                                         ` Ulrik Buchholtz
2020-05-10 16:30                                           ` Michael Shulman
2020-05-10 18:56                                           ` Nicolai Kraus
2020-05-10 18:04                                     ` Joyal, André
2020-05-11  7:33                                       ` Thomas Streicher
2020-05-11 14:54                                         ` Joyal, André
2020-05-11 16:37                                           ` stre...
2020-05-11 16:42                                             ` Michael Shulman
2020-05-11 17:27                                               ` Thomas Streicher
2020-05-10 16:51                                   ` Nicolai Kraus
2020-05-10 18:57                                     ` Michael Shulman
2020-05-10 19:18                                     ` Nicolai Kraus
2020-05-10 20:22                                       ` Michael Shulman
2020-05-10 22:08                                         ` Joyal, André

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=154D1B4B-6881-4269-8BA1-1CE8EBB0BE0D@nottingham.ac.uk \
    --to="thorsten...."@nottingham.ac.uk \
    --cc="homotopyt..."@googlegroups.com \
    --cc="j..."@jonmsterling.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).