Discussion of Homotopy Type Theory and Univalent Foundations
 help / color / mirror / Atom feed
From: Matt Oliveri <atm...@gmail.com>
To: Homotopy Type Theory <HomotopyT...@googlegroups.com>
Subject: Re: Canonical forms for initiality
Date: Tue, 17 Oct 2017 09:00:20 -0700 (PDT)	[thread overview]
Message-ID: <d420c124-4461-437b-80b3-6e010544e7dd@googlegroups.com> (raw)
In-Reply-To: <CAOvivQxX4crPBKj7ANMsTk-d3=oqkL6k_iK0KxAu64Y_fTe1vA@mail.gmail.com>


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

Could you explain why you want to use normal forms and hereditary 
substitution--rather than more typical typing rules--if you expect to need 
an infinite tower of coherences anyway? Needing the coherence tower seems 
like it will make the definition dramatically more complicated, so wouldn't 
it be best to base it on the most simple and familiar typing rules?

Also, mightn't there be some clever way to "automatically" specify all the 
coherences by referring to the strict equational theory? From what little I 
read about higher operads, it seemed like they are doing that. If you need 
an infinite set of constructors, then it seems you need some strict "base 
language" to formalize the pattern. It should be able to use clever, 
indirect definitions.

On Monday, October 16, 2017 at 1:02:02 PM UTC-4, Michael Shulman wrote:
>
> On Mon, Oct 16, 2017 at 8:00 AM, Michael Shulman <shu...@sandiego.edu 
> <javascript:>> wrote: 
> >> 1. Give bidirectional typing rules to ensure only beta-normal, eta-long 
> >>    terms are typeable. 
> >> 2. Hence, a conversion rule can be omitted, since all terms (including 
> >>    types) are in normal form. 
> >> 3. Prove a bunch of lemmas, eventually culminating in proofs of 
> >>    (a) hereditary substitution and (b) identity expansion. (This 
> >>    basically ends up making normalization part of the definition of 
> >>    substitution.) 
> > 
> > Yes, that's what I'm proposing. 
>
> Let me expand on that a little under a new subject line, since I've 
> played around with it some already and I think I have a fairly clear 
> picture of how it should go. 
>
> In a dependently typed bidirectional system, hereditary substitution 
> needs to be mutually defined along with the typing judgments.  In 
> principle it might be possible to do this inductive-recursively, but I 
> would want to instead define the graph of hereditary substitution 
> inductive-inductively and then afterwards prove it to be a total 
> function, since inductive-inductive types are easier to make sense of 
> homotopically and generally (in my experience) have a more useful 
> induction principle.  (To reply to Matt, I am not considering any kind 
> of impredicativity; the axiomatic version could be added later.) 
>
> However, when doing this intrinsically (which is the direct way to get 
> a useful induction principle) and without h-level restriction, I found 
> that there seems to be a new problem: you end up needing to substitute 
> hereditarily not just one term but a whole context morphism, and then 
> in defining the clauses for the graph of that hereditary substitution 
> you need to know already that it is associative.  So you add another 
> judgment for the graph of its associativity, but in defining its 
> clauses you need to know that the associativity is coherent, and so 
> on.  The result is an inductive-inductive definition with infinite 
> dependency, which we don't know how to make sense of internally.  But 
> if we can make sense of it (or make it finite by capping the h-level 
> somewhere), then this tower of dependent inductive-inductive types 
> ought to present the entire (semi)simplicial nerve of the syntactic 
> category of the type theory (probably in the form of something like a 
> "comprehension quasicategory"). 
>
> The induction principle of this inductive-inductive definition should 
> then let us interpret it into an arbitrary sufficiently structured 
> quasicategory, or even an internally defined "complete Segal space" if 
> we do it in a homotopy type theory, such as the canonical universe, 
> thereby solving the autophagy problem.  On the other hand, since it 
> has no path-constructors, an encode-decode argument should prove that 
> it actually consists of h-sets, which should then allow us to 
> interpret untyped syntax into it. 
>
> Of course this is a VERY rough sketch and there are a lot of ways it 
> could go wrong, plenty of which I expect people will point out.  (-: 
>
> Mike 
>

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

  parent reply	other threads:[~2017-10-17 16:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16 17:01 Michael Shulman
2017-10-17  7:33 ` [HoTT] " Andrea Vezzosi
2017-10-19 19:03   ` Michael Shulman
2017-10-17 16:00 ` Matt Oliveri [this message]
2017-10-19 19:07   ` [HoTT] " Michael Shulman
2017-10-20 10:57     ` Neel Krishnaswami
2017-10-20 11:16       ` Michael Shulman
2017-10-30  9:52         ` Andrea Vezzosi

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=d420c124-4461-437b-80b3-6e010544e7dd@googlegroups.com \
    --to="atm..."@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).