# Are Equal Things Equal?

**URL:** <https://boards.straightdope.com/t/are-equal-things-equal/384328>\
**Category:** Factual Questions\
**Created:** [December 15, 2006, 7:54pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328 "2006-12-15T19:54:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![spingears](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@spingears](https://boards.straightdope.com/u/spingears)\
**Post date:** [December 15, 2006, 7:54pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/1 "2006-12-15T19:54:09Z")

</div>

If A = 0 and B = 0, are A & B eaual to each other?

---

<div class="post-metadata">

**Author:** ![Giles](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giles/32/60_2.png) [@Giles](https://boards.straightdope.com/u/Giles)\
**Post date:** [December 15, 2006, 8:00pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/2 "2006-12-15T20:00:45Z")

</div>

I’ve seen it as part of the definitioon of an equivalence relation in mathatmatics, i.e., “~” is an equivalance relation means that (A~C and B~C imply A~B). Other parts of the definition are that (for all A, A~A) and (A~B implies B~A).

Equality is an equivalence relation.

---

<div class="post-metadata">

**Author:** ![gigi](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@gigi](https://boards.straightdope.com/u/gigi)\
**Post date:** [December 15, 2006, 8:02pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/3 "2006-12-15T20:02:53Z")

</div>

Yes. I believe it’s the transitive rule. [http://en.wikipedia.org/wiki/Transitive\_relation](http://en.wikipedia.org/wiki/Transitive_relation)

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [December 15, 2006, 10:26pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/4 "2006-12-15T22:26:56Z")

</div>

Under the normal usage of the = operator, that does follow by the transitive property of an equivalence relation. Note that two objects can be equal without being identical, so A = 0 and B = 0 doesn’t imply that A and B are the same object.

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [December 15, 2006, 11:04pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/5 "2006-12-15T23:04:20Z")

</div>

What if A and B are different types of variables? What if one of them = 0 the number (i.e. the natural number, or the real number, or the complex numer) and the other one = the zero vector (of some size), or the zero function, or the zero matrix (of some size), or something like that?

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [December 15, 2006, 11:22pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/6 "2006-12-15T23:22:00Z")

</div>

Then they’re not identical, but they may be equal, depending on how your equality operator is defined.

---

<div class="post-metadata">

**Author:** ![Exapno\_Mapcase](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/exapno_mapcase/32/1051_2.png) [@Exapno\_Mapcase](https://boards.straightdope.com/u/Exapno_Mapcase)\
**Post date:** [December 16, 2006, 12:05am UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/7 "2006-12-16T00:05:37Z")

</div>

Doesn’t the transitive property live within certain defined types of mathematics? IOW, it’s not intended to be a universal truism, but a defined type of relationship inside a larger world of rules.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [December 16, 2006, 12:30am UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/8 "2006-12-16T00:30:40Z")

</div>

As long as you’re not doing anything that requires second- or higher-order logic, equality behaves the way you’d expect. It may well also work in higher-order logics; I’m just not familiar enough with them to say.

---

<div class="post-metadata">

**Author:** ![BrandonR](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@BrandonR](https://boards.straightdope.com/u/BrandonR)\
**Post date:** [December 16, 2006, 4:24am UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/9 "2006-12-16T04:24:56Z")

</div>

I would second this falling under the transitive relation, but then again, such a vague question warrants a vague answer…

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [December 16, 2006, 5:39am UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/10 "2006-12-16T05:39:05Z")

</div>

[QUOTE=spingears]  
If A = 0 and B = 0, are A & B eaual to each other?  
[/QUOTE]

If A = 0 and B = 0 then A = B. Equality denotes identity, which is obviously an equivalence relation (see elsewhere in this thread).

On the other hand, what do you mean by A = 0? What is 0? What is our universe of discourse? Is “=” an approximation arrived at by identifying isomorphism classes? Might A and B be isomorphic, yet not equal? There’s a lot of wiggle room in your question as stated.

---

<div class="post-metadata">

**Author:** ![Tyrrell\_McAllister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tyrrell_mcallister/32/16772_2.png) [@Tyrrell\_McAllister](https://boards.straightdope.com/u/Tyrrell_McAllister)\
**Post date:** [December 16, 2006, 1:27pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/11 "2006-12-16T13:27:04Z")

</div>

Wiggle room is right. Another possibility is that the equality is being used in the context of a physical measurement. So then “A=0” really means “A=0 plus or minus margin of error”. If the margin of error is, say, 3, then you could have A “=” 0 (but really A = 3) and B “=” 0 (but really B = -3). Therefore, since A and B differ by more than the margin of error, you do _not_ have A “=” B (much less A=B).

---

<div class="post-metadata">

**Author:** ![Julius\_Henry](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@Julius\_Henry](https://boards.straightdope.com/u/Julius_Henry)\
**Post date:** [December 16, 2006, 3:17pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/12 "2006-12-16T15:17:54Z")

</div>

The transitive property works for real numbers. If A and B are merely numbers not relating to anything, or numbers relating to the same thing, then A = B. However, if A is the temperature in degrees Fahrenheit (for example) and B is temperature in degrees Celsius, then A ≠ B. You must watch your units. As John Allen Paulos put it, 1 cup of water plus 1 cup of popcorn does not equal 2 cups of soggy popcorn.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [December 16, 2006, 4:26pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/13 "2006-12-16T16:26:28Z")

</div>

[QUOTE=Mathochist]  
Equality denotes identity…  
[/QUOTE]

Nah, there are all kinds of notions of equality that don’t imply identity. Consider for a moment the standard construction of **Z** from **N** , where we take ordered pairs of naturals and say that (a, b) = (c, d) iff a + d = b + c. So (3, 2) = (2, 1), even though those aren’t identical.

The thing you have to remember is that identity is necessarily a very strictly defined relation, but anything that’s reflexive and allows substitution works for equality. See section 2.8 of Mendelson’s _Introduction to Mathematical Logic_, 4e, for more details.

---

<div class="post-metadata">

**Author:** ![Tyrrell\_McAllister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tyrrell_mcallister/32/16772_2.png) [@Tyrrell\_McAllister](https://boards.straightdope.com/u/Tyrrell_McAllister)\
**Post date:** [December 16, 2006, 4:36pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/14 "2006-12-16T16:36:43Z")

</div>

> [@ultrafilter](#):
>
> Nah, there are all kinds of notions of equality that don’t imply identity. Consider for a moment the standard construction of Z from N, where we take ordered pairs of naturals and say that (a, b) = (c, d) iff a + d = b + c. So (3, 2) = (2, 1), even though those aren’t identical.

No, you _do_ have identicality of equal objects. By writing “(3, 2) = (2, 1)”, you are indicating that you have passed to the set of equivalence classes, where (3, 2) and (2, 1) are just two different symbols for one and the same element. Therefore, they are identical, not just equal.

Similarly, you have that 0.999… is identical to 1 (not just equal) because “0.999…” does _not_ designate a geometric series. It designates an \*equivalence class of \* geometric series, the same class designated by “1”.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [December 16, 2006, 5:20pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/15 "2006-12-16T17:20:21Z")

</div>

[QUOTE=Tyrrell McAllister]  
By writing “(3, 2) = (2, 1)”, you are indicating that you have passed to the set of equivalence classes, where (3, 2) and (2, 1) are just two different symbols for one and the same element.  
[/quote]

It indicates no such thing. = does not denote identity, and I meant the objects (3, 2) and (2, 1). All that = denotes is a relation which is reflexive and allows substitution of unquantified variables (with a couple extra caveats). See pp. 99-100 of Mendelson’s book for an explicit discussion of this.

> [@](#):
>
> Similarly, you have that 0.999… is identical to 1 (not just equal) because “0.999…” does _not_ designate a geometric series.

I’m not sure where you got this, but it’s just wrong. A decimal representation of a real number is defined to be a single geometric series, and the number it represents is the sum of that series. See chapter 3 of Rudin’s _Principles of Mathematical Analysis_ for a more detailed discussion.

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [December 16, 2006, 7:51pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/16 "2006-12-16T19:51:13Z")

</div>

[QUOTE=ultrafilter]  
Nah, there are all kinds of notions of equality that don’t imply identity. Consider for a moment the standard construction of **Z** from **N** , where we take ordered pairs of naturals and say that (a, b) = (c, d) iff a + d = b + c. So (3, 2) = (2, 1), even though those aren’t identical.

The thing you have to remember is that identity is necessarily a very strictly defined relation, but anything that’s reflexive and allows substitution works for equality. See section 2.8 of Mendelson’s _Introduction to Mathematical Logic_, 4e, for more details.  
[/QUOTE]

No, you’re oversimplifying here. The construction does not say that integers are pairs of natural numbers. It says that integers are _equivalence classes_ of pairs of natural numbers under a certain _equivalence_ relation. The classes of (3,2) and (2,1) are equal because (3,2) and (2,1) are equivalent.

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [December 16, 2006, 7:53pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/17 "2006-12-16T19:53:53Z")

</div>

[QUOTE=ultrafilter]  
It indicates no such thing. = does not denote identity, and I meant the objects (3, 2) and (2, 1). All that = denotes is a relation which is reflexive and allows substitution of unquantified variables (with a couple extra caveats). See pp. 99-100 of Mendelson’s book for an explicit discussion of this.  
[/QUOTE]

Mendelson is decategorifying. He passes without mention from discussing equivalence classes do discussing representatives, which is amazingly, hideously bad form in the long run. You can kinda sorta get away with it at the level of 2-categories, and maybe even 1-monoidal 2-categories, but when you hit 3-categories you can _not_ strictify in general and treat isomorphism as identity.

---

<div class="post-metadata">

**Author:** ![spingears](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@spingears](https://boards.straightdope.com/u/spingears)\
**Post date:** [December 19, 2006, 11:39am UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/18 "2006-12-19T11:39:42Z")

</div>

[QUOTE=spingears]  
If A = 0 and B = 0, are A & B eaual to each other?  
[/QUOTE]  
Thanks for more than I expected to learn.  
Things that appear simple may not be quite so.

---

<div class="post-metadata">

**Author:** ![si\_blakely](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@si\_blakely](https://boards.straightdope.com/u/si_blakely)\
**Post date:** [December 19, 2006, 9:14pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/19 "2006-12-19T21:14:18Z")

</div>

[QUOTE=Mathochist]  
Mendelson is decategorifying. He passes without mention from discussing equivalence classes do discussing representatives, which is amazingly, hideously bad form in the long run. You can kinda sorta get away with it at the level of 2-categories, and maybe even 1-monoidal 2-categories, but when you hit 3-categories you can _not_ strictify in general and treat isomorphism as identity.  
[/QUOTE]

:eek: 😕 :eek: 😕 :eek: 😕 :eek: 😕 :eek: 😕

and that, folks, is why I will leave maths to the mathematicians.

Si

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [December 19, 2006, 9:31pm UTC](https://boards.straightdope.com/t/are-equal-things-equal/384328/20 "2006-12-19T21:31:04Z")

</div>

[QUOTE=si\_blakely]  
:eek: 😕 :eek: 😕 :eek: 😕 :eek: 😕 :eek: 😕

and that, folks, is why I will leave maths to the mathematicians.

Si  
[/QUOTE]

“Decatgorifying” is a fancy word for “treating equivalent things as if they were actually equal”, which is the real philosophical nub here.

Consider finite sets of things. For each one we can count the number of elements in it and get a number. We can say that two sets have the same number of things if we can pair them off.

For instance, if I have some apples on a table, I look at them in turn and raise a finger each time i move from one to the next, and at the end I have three fingers up, then there must be three apples on the table. What I’ve done is describe a function from the set of apples to the set of raised fingers, and at the end the two sets must have the same number of elements: three.

When we just talk about counting numbers (fancy word: “cardinals”) and forget about the explicit function pairing off the elements of two sets, we are “decategorifying” finite sets into cardinal numbers. We can do arithmetic on cardinal numbers by forgetting everything about a set but the number of elements – its “cardinality” – and treating equivalent sets (same cardinality) as if they were equal. Nobody would say that the set of apples and the set of raised fingers are “equal” – one is made of apples and the other of fingers – but they are equivalent in this sense.

What I went on to say is that we just do this sort of thing naturally because most mathematical structures we’re concerned with are actually what we call “categories”, in which we can define a notion of equivalence. If we forget all about on object in a category (a set of three apples) but which equivalence class it belongs to (“three”) we are “decategorifying”. Ultimately for simple categories this doesn’t really cause much of a problem. However, there are more intricate structures called “higher categories” where we can talk about things, how those things are equivalent, how _those equivalences_ are equivalent, and so on. Once you get a few steps up this ladder, you lose essential information about the structure when you decategorify, so it becomes extremely important to keep track of what things are really equal, and what things are merely equivalent.

[Next page](https://boards.straightdope.com/t/are-equal-things-equal/384328.md?page=2)
