Discussion of Homotopy Type Theory and Univalent Foundations
 help / color / mirror / Atom feed
* Canonical forms for initiality
@ 2017-10-16 17:01 Michael Shulman
  2017-10-17  7:33 ` [HoTT] " Andrea Vezzosi
  2017-10-17 16:00 ` Matt Oliveri
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Shulman @ 2017-10-16 17:01 UTC (permalink / raw)
  To: HomotopyT...@googlegroups.com

On Mon, Oct 16, 2017 at 8:00 AM, Michael Shulman <shu...@sandiego.edu> 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

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

end of thread, other threads:[~2017-10-30  9:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-16 17:01 Canonical forms for initiality Michael Shulman
2017-10-17  7:33 ` [HoTT] " Andrea Vezzosi
2017-10-19 19:03   ` Michael Shulman
2017-10-17 16:00 ` Matt Oliveri
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

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).