Discussion of Homotopy Type Theory and Univalent Foundations
 help / color / mirror / Atom feed
From: Ambrus Kaposi <kaposi...@gmail.com>
To: Homotopy Type Theory <HomotopyT...@googlegroups.com>
Subject: Re: Where is the problem with initiality?
Date: Tue, 22 May 2018 09:47:37 -0700 (PDT)	[thread overview]
Message-ID: <73f16935-63b3-4ebe-a13b-35ccd4e4bf53@googlegroups.com> (raw)
In-Reply-To: <CAOvivQxmrTLRW8wk7cu+A9zF3LCrXSfqsp6R2UN_sz9tF-5UHQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2597 bytes --]

Hi Mike,

This is all I can think of right now.  Are there others?  Are there 
> other choices we can make in the case of dependent type theory that 
> are not visible in this simple case? 
>

I think there are at least the following categories:

Typing can be:
  I. intrinsic (only well-typed terms)
  II. extrinsic (preterms and typing relations).
Conversion can be given:
  1. by equality
  2. by an inductive relation
  3. not given, if we only have normal forms in the syntax (hereditary 
substitution)
Substitution can be:
  A. explicit (substitution is a constructor)
  B. implicit (it is defined recursively)

Your variants are categorised as below:

1 I,1,A
2 I,2,A
3 I,1,B
4 I,2,B
5 II,2,B
6 I,3,B
7 II,3,B

In the extrinsic case, I can think about the following additional choices:
 - Conversion and typing can be merged into a PER
 - use universes a la Russel or Tarski (in the Russel case, types and terms 
are identified)
 - you can have paranoid/relaxed variants of constructors (do you have Pi A 
B or Pi Gamma A B)
 - do you have conversion for contexts or not

In the above simple case of unary type theory with products, it should 
> be easy to show that all these definitions construct the initial 
> category with products.  (There should be some generating/axiomatic 
> types and terms too, to make the result nontrivial, but I've left them 
> out for brevity.)  My main question is, where do things become hard in 
> the case of dependent type theory? 
>
> It seems to me that the main difference between (1) and (2), and 
> between (3) and (4), is convenience; is that right?  Type theory has 
> no infinitary constructors, so there shouldn't be axiom-of-choice 
> issues with descending algebraic operations to a quotient; it's just 
> that the bookkeeping involved in dealing with setoids everywhere 
> becomes unmanageable in the case of DTT.  Right?  


> Thorsten said that (1) in the case of dependent type theory is 
> tautologically the initial CwF, which seems eminently plausible.  I 
> don't think this solves the "initiality conjecture", but where is the 
> sticking point?  Is it between (1) and (3), or between (3) and (5)? 
>

I think the hard part is between (3) and (5). However I haven't seen a 
definition of  (3) for type theory, e.g. CwF+Pi. It is very intricate, you 
have to prove substitution laws mutually with substitution, but you also 
shouldn't depend on the proofs etc.

There is a nice presentation of Streicher's initiality proof using the 
extrinsic, PER encoding 
in http://www.cse.chalmers.se/~peterd/papers/Lmcs-2016.pdf

Cheers,
Ambrus

[-- Attachment #1.2: Type: text/html, Size: 3530 bytes --]

  reply	other threads:[~2018-05-22 16:47 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22  5:46 Michael Shulman
2018-05-22 16:47 ` Ambrus Kaposi [this message]
2018-05-23 16:26 ` [HoTT] " Thorsten Altenkirch
2018-05-24  5:52   ` Michael Shulman
2018-05-24  8:11     ` Thorsten Altenkirch
2018-05-24  9:53       ` Ambrus Kaposi
2018-05-24 17:26         ` Michael Shulman
2018-05-26  9:21           ` Thomas Streicher
2018-05-26 11:47             ` Michael Shulman
2018-05-26 16:47               ` stre...
2018-05-27  5:14                 ` Bas Spitters
2018-05-28 22:39 ` Michael Shulman
2018-05-29  9:15   ` [HoTT] " Thorsten Altenkirch
2018-05-29 15:15     ` Michael Shulman
2018-05-30  9:33       ` Thomas Streicher
2018-05-30  9:37         ` Thorsten Altenkirch
2018-05-30 10:10           ` Thomas Streicher
2018-05-30 12:08             ` Thorsten Altenkirch
2018-05-30 13:40               ` Thomas Streicher
2018-05-30 14:38                 ` Thorsten Altenkirch
2018-05-30 10:53           ` Alexander Kurz
2018-05-30 12:05             ` Thorsten Altenkirch
2018-05-30 19:07               ` Michael Shulman
2018-05-31 10:06                 ` Thorsten Altenkirch
2018-05-31 11:05                   ` Michael Shulman
2018-05-31 19:02                     ` Alexander Kurz
2018-06-01  9:55                       ` Martin Escardo
2018-06-01 17:07                       ` Martín Hötzel Escardó
2018-06-01 17:43                         ` Eric Finster
2018-06-01 19:55                           ` Martín Hötzel Escardó
2018-06-01 20:59                             ` András Kovács
2018-06-01 21:06                               ` Martín Hötzel Escardó
2018-06-01 21:23                                 ` Michael Shulman
2018-06-01 21:53                                   ` Eric Finster
2018-06-01 22:09                                     ` Michael Shulman
2018-06-02 15:06                                       ` Eric Finster
2018-06-05 20:04                                         ` Michael Shulman
2018-06-02  5:13                                 ` Thomas Streicher
2018-06-01 21:52                               ` Jasper Hugunin
2018-06-01 22:00                                 ` Eric Finster
2018-06-01 21:27                           ` Matt Oliveri
2018-06-02  5:21                             ` Ambrus Kaposi
2018-06-02  6:01                               ` Thomas Streicher
2018-06-02 14:35                           ` Thorsten Altenkirch
2018-05-30 13:30             ` Jon Sterling
2018-06-05  7:52             ` Andrej Bauer
2018-06-05  8:37               ` David Roberts
2018-06-05  9:46                 ` Gabriel Scherer
2018-06-05 22:19                 ` Martín Hötzel Escardó
2018-06-05 22:54                   ` Martín Hötzel Escardó
2018-06-05 22:12               ` Richard Williamson
2018-06-06 15:05                 ` Thorsten Altenkirch
2018-06-06 19:25                   ` Richard Williamson
2018-05-29 14:00   ` Jon Sterling
2018-05-30 22:35     ` Michael Shulman
2018-05-31 10:48       ` Martín Hötzel Escardó
2018-05-31 11:09         ` Michael Shulman

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=73f16935-63b3-4ebe-a13b-35ccd4e4bf53@googlegroups.com \
    --to="kaposi..."@gmail.com \
    --cc="HomotopyT..."@googlegroups.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).