Hi Mike,
[The tl;dr of this mail is that I think your inclination is right,
namely that judgemental equality is semantic, not syntactic—and to lend
credence to your fear that it is unavoidable (but I think this is a good
thing!).]
I can't comment on categorical models, but I will just say what I know
about a particular class of models which embody the "standard semantics"
for type theory, namely the PER models which generalize realizability
from unary logical relations to binary ones.
In the PER models of type theory, the judgmental equality is the most
fundamental notion of all, and comes before “membership”, which is
defined in terms of equality. The relation that each type denotes *is*
the judgmental equality at that type...
As a matter of policy, the "typal equality" ought to be nothing more
than an internalization as a type of a type's denotation (its PER). If
your PER model is based on closed terms, then equality reflection is
unavoidable—but if you follow Coquand or Dybjer and give a model that is
based on open terms, I think this won't be the case (can anyone
confirm?). [Clearly some iterated PER construction is required, if HoTT
is going to have an analogous treatment.]
Let me briefly comment on your two alternatives:
1. judgmental equality *is* already defined as a ternary relation on
untyped terms, since you can't even talk about typed terms until you
have defined equality. (in Martin-Löf's original meaning explanation,
I'll admit that it is the other way around, but Stuart Allen's PER
semantics are profoundly simpler, and more useful.) But I am not sure
how defining equality as a relation on untyped terms (as it is already
defined) somehow would prevent it from being a judgment, since this is
precisely how you go about defining such a judgment anyway—nor why one
would wish equality to not be a judgment.
2. Your intuition about the Canonical LF-style approach is, to my mind,
a good one; for a certain restricted class of very cleverly constructed
*closed* type theories, you don't need any equality beyond alpha
equivalence. But for type theory in general, which is an *open* system,
this won't work.
I would also comment that from a meaning-theoretical point of view, it's
important that anything that we talk about at the level of types be
reducible to some prior concept at the level of judgments /
assertions—this is what Heyting was talking about when he said that to
know that something is a proposition is to have recognized its
intention. This betrays the pervasive subjective and anti-realist
character of type theory—objective matters are *always* reduced to
subjective ones.
So what about your original comment about feeling uncomfortable with the
idea that judgmental equality is "purely syntactic"? I strongly agree
with you—because judgmental equality is not syntactic, it is semantic.
From my perspective, *the judgmental equality is literally the essence
of a type*, which is surpassed in importance by no other part of type
theory—and the only thing that causes it to seem overly syntactic is the
fact that formal type theory is not defined over closed terms, but
rather over open terms, which themselves are the source of this
distasteful "syntactic" feeling. It's for this reason that I won't be
satisfied unless HoTT can have a treatment based on closed terms—it
seems as though HTS may relate to the end goal in the same way that the
mostly imaginary "ETT" system relates to MLTT 1979 or Nuprl/CTT…
Best,
Jon
> --
> 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
HomotopyTypeThe...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.