categories - Category Theory list
 help / color / mirror / Atom feed
From: Toby Bartels <toby+categories@ugcs.caltech.edu>
To: categories@mta.ca
Subject: Re: Is equality evil?
Date: Fri, 17 Sep 2010 01:28:29 -0700	[thread overview]
Message-ID: <E1OwmE5-00011l-T6@mlist.mta.ca> (raw)
In-Reply-To: <E1OwQEy-0002cd-TZ@mlist.mta.ca>

Thomas Streicher wrote in small part (in a post about fibrations):

>Even in intensional type theory there is a notion of equality.

Elsewhere in the same thread, Vaughan Pratt wrote:

>Theorem.  Equality if and only if the diagonal.

and concluded that equality is no more or less evil than contraction.


This depends on what kind of type theory you are using!

In the intentional type theory of Martin-Loef, for example,
there is a notion of equality (or identity) at each type.
Heck, there's even a notion of identity of types!
However, one can certainly consider type theory without identity types.
I would suggest the internal language of a Heyting 2-pretopos
(although that depends on what one takes this language to be).

Logic should be the servant of intuition, not the master.
If some category theorists have the intuition (and we do)
that it is meaningless to speak of equality of objects,
then it's the job of the logician to find a formal language
which expresses only what these category theorists find meaningful.
If they haven't done so, then this is something to work on,
not an argument that the motivating intuitions are invalid.

There is something else that logic can do, however:
it can show that identity follows from something else.
Vaughn's theorem (cited above) purports to do this,
but it is based on the assumption that every operation between types
(in this case, the diagonal Delta_X: X -> X x X)
has (as "image" or "range") a predicate on the target type
(in this case, the identity predicate on X x X).
So if our intuition suggests that operations have ranges,
then we must accept that we have identity predicates too
(assuming that we can construct the diagonal operation using contraction).

But my intution suggests no such thing for arbitrary types
(such as might be suitable as the type of objects of a category);
naively, given an operation f: X -> Y, the range predicate (ran f) on Y
would hold at those objects of Y with the form f(a) for some object a of X.
But given an object b of Y, how do you determine if it has this form?
If we already had an identity predicate =_Y on Y, then we could do this:
(ran f)(b) if and only if (for some x: A) (b =_Y f(a)).
But in general, I don't see any meaning for the range of an operation.

In fact, since I'm happy to use contraction in general mathematics,
I would phrase Vaughn's theorem as follows:

>Theorem.  Equality if and only if ranges.

and conclude that equality is no more or less evil than ranges.
But I don't believe in either of these, in general;
that is, I believe in the usefulness of types that lack these.

(Quiz:  Given two arbitrary sets, say the set of natural numbers
and the set of positive integers, how do you decide if they are equal?
Similarly, given a set and an arbitrary operation on sets,
say the set of rational numbers and the operation of cartesian square,
how do you decide if the set belongs to the range of the operation?
Or more relevantly, given the diagonal operation on sets,
how do you decide if a pair of sets belongs to its range?)


--Toby


[For admin and other information see: http://www.mta.ca/~cat-dist/ ]


  reply	other threads:[~2010-09-17  8:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15 11:43 are fibrations evil? Thomas Streicher
2010-09-16  0:28 ` Michael Shulman
2010-09-16  1:14 ` Peter LeFanu Lumsdaine
2010-09-16  5:14 ` Is equality evil? Vaughan Pratt
2010-09-17  8:28   ` Toby Bartels [this message]
2010-09-18 14:11     ` Thomas Streicher
2010-09-19 20:30       ` Erik Palmgren
2010-09-24 12:50       ` Bas Spitters
     [not found]     ` <20100918141110.GC9467@mathematik.tu-darmstadt.de>
2010-09-22  4:00       ` Toby Bartels
2010-09-25 16:18         ` Michael Shulman
     [not found]       ` <20100922040041.GB14958@ugcs.caltech.edu>
2010-09-22 10:27         ` Thomas Streicher
2010-09-16  8:50 ` why it matters that fibrations are "evil" Thomas Streicher
     [not found] ` <AANLkTinosTZ2NQW9biPxiwpX9zPi5m=kwvA16nHjK=Xu@mail.gmail.com>
2010-09-16  9:47   ` are fibrations evil? Thomas Streicher
2010-09-16 10:00 ` Prof. Peter Johnstone
     [not found] ` <alpine.LRH.2.00.1009161023190.12162@siskin.dpmms.cam.ac.uk>
2010-09-16 10:46   ` Thomas Streicher
2010-09-17  7:44     ` Toby Bartels
     [not found] ` <20100916094755.GA19976@mathematik.tu-darmstadt.de>
2010-09-17  5:01   ` Michael Shulman
2010-09-18 13:48     ` Thomas Streicher
     [not found] ` <20100918134829.GB9467@mathematik.tu-darmstadt.de>
2010-09-20 16:25   ` Michael Shulman
2010-09-24 15:30 Is equality evil?‏ Mattias Wikström
2010-09-25  0:16 Is equality evil? Fred E.J. Linton

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=E1OwmE5-00011l-T6@mlist.mta.ca \
    --to=toby+categories@ugcs.caltech.edu \
    --cc=categories@mta.ca \
    /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).