What do I call type theory without Curry-Howard? - MathOverflow most recent 30 from http://mathoverflow.net2013-05-19T18:12:04Zhttp://mathoverflow.net/feeds/question/43118http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://mathoverflow.net/questions/43118/what-do-i-call-type-theory-without-curry-howardWhat do I call type theory without Curry-Howard?Mike Shulman2010-10-22T02:34:30Z2010-11-03T21:07:03Z
<p>Is there a word I can say which will convey to type theorists that I am <em>not</em> thinking about types as propositions?</p>
<p><em>Background</em>: as a category theorist, I am mostly interested in type theories as a language to express and prove things about the categories in which they naturally have semantics. E.g. typed lambda-calculus in cartesian closed categories, dependent type theory in locally cartesian closed categories, etc. Such categorical models can also be used when thinking of types as propositions, of course, but usually I am thinking of types (i.e. the objects in the categories in question) as more like sets (or groupoids or higher groupoids, sometimes). Sometimes the type theory even includes a separate notion of "proposition" which is interpreted by monomorphisms in the category, e.g. the geometric logic or "higher-order type theory" of toposes.</p>
<p>Of course, I can say "categorical type theory" to refer to the whole programme of semantics for type theories in categories. However, if I want to talk only about the type theory side of things, but I don't want people to start calling types "propositions" and terms "proofs," what can I say to convey the point of view I want to take?</p>
http://mathoverflow.net/questions/43118/what-do-i-call-type-theory-without-curry-howard/43132#43132Answer by Andrej Bauer for What do I call type theory without Curry-Howard?Andrej Bauer2010-10-22T06:13:32Z2010-10-22T07:17:31Z<p>Short answer: two-level type theory.</p>
<p>In type theory the idea that sets and propositions should be distinguished has been considered (of course). Peter Aczel and (then) his student Nicola Gambino <a href="http://www.cs.le.ac.uk/people/ngambino/Publications/gambino-aczel.pdf" rel="nofollow">proposed a "two-level" type theory</a> in which $\mathsf{Set}$ and $\mathsf{Prop}$ are not identified. More recently, Giovanni Sambin and Emillia Maietti proposed <a href="http://www.math.unipd.it/~sambin/txt/MaiettiSambin-rev2.pdf" rel="nofollow">a similar treatment</a> (I am not sure I've got the best reference here, please fix it), which I think is more general, as it deals with other issues in type theory (intensionality vs. extensionality).</p>
<p>So, if you want to speak to type-theorists you should use the following buzzwords:</p>
<ul>
<li><em>"I am not identifying $\mathsf{Set}$ and $\mathsf{Prop}$, you know, in the style of Aczel and Gambino."</em>, or</li>
<li><em>"We consider a type theory with separate kinds for sets and propositions."</em></li>
<li><em>"We do not assume that propositions are identified with types."</em></li>
</ul>
<p>If you want to be more specific, for example if your notion of proposition is that of a subobject, you can say:</p>
<ul>
<li><em>"For me propositions are the proof-irrelevant types."</em></li>
</ul>
<p>Some people know the idea of proof-irrelevance under the heading of "squash types" or <a href="http://math.andrej.com/2004/05/04/propositions-as-types/" rel="nofollow">"bracket "types"</a>. It is also worth mentioning that the Coq proof assistant has different kinds for sets and propositions.</p>
http://mathoverflow.net/questions/43118/what-do-i-call-type-theory-without-curry-howard/44696#44696Answer by Noam Zeilberger for What do I call type theory without Curry-Howard?Noam Zeilberger2010-11-03T16:27:18Z2010-11-03T16:43:22Z<p>Since this question (which I just noticed) seems to be in reaction to my first response to <a href="http://mathoverflow.net/questions/42915/can-a-typing-judgment-admit-essentially-different-derivations" rel="nofollow">your other question</a>, let me explain again that response. The problem was not that I was implicitly assuming you are equating types with propositions. In any case typically it's the other way around: the propositions-as-types analogy says that propositions <strong>can be</strong> thought of as types, and type theorists often do so. So as Andrej said, if you want to reject this analogy it's hard to do so without mentioning propositions.</p>
<p>In this case I don't think the confusion had anything to do with propositions vs types. Rather, it was your assumption (in fairness, somewhat obvious on inspection of the question) that well-typed terms are distinct from typing derivations, so that we can speak of multiple derivations for the same well-typed term. Note this distinction makes just as much sense in logic as in type theory (distinguishing "proofs" and "proof verifications"), we just don't typically make it. And just as we don't <em>have</em> to make the distinction in logic, we don't have to make it in type theory.</p>
<p>If you want to make this assumption clear, I think it is best to just say, "I am distinguishing terms from typing derivations". As I alluded to in my <a href="http://mathoverflow.net/questions/42915/can-a-typing-judgment-admit-essentially-different-derivations/43108#43108" rel="nofollow">second response</a>, this distinction is sometimes called the "Curry view", and the lack of a distinction the "Church view"--but these are somewhat overloaded terms without universally accepted meanings (for example, sometimes people say "Church" and "Curry" for the presence or absence of type annotations in the syntax of lambda abstraction). The Pfenning paper I linked to sorts out some of these issues.</p>
http://mathoverflow.net/questions/43118/what-do-i-call-type-theory-without-curry-howard/44728#44728Answer by Adam for What do I call type theory without Curry-Howard?Adam2010-11-03T21:07:03Z2010-11-03T21:07:03Z<p>"<a href="http://www.tac.mta.ca/tac/reprints/articles/16/tr16.ps" rel="nofollow">Term category of a hyperdoctrine</a>."</p>
<p>The hyperdoctrine approach to categorical logic segregates the individuals (terms inhabiting types) in a category completely apart from the categories containing truth values and predicates (object-indexed truth values). In a hyperdoctrine nothing in the term category may be construed as a proposition -- those live elsewhere.</p>
<p>This contrasts with the approach of topoi, where there is an object of truth values $\Omega$ living in the <em>same</em> category as the type objects: propositions are morphisms into $\Omega$.</p>