# What does AND/OR mean?

**URL:** <https://boards.straightdope.com/t/what-does-and-or-mean/285642>\
**Category:** Factual Questions\
**Created:** [January 20, 2005, 12:29am UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642 "2005-01-20T00:29:48Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![bitwise](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bitwise](https://boards.straightdope.com/u/bitwise)\
**Post date:** [January 20, 2005, 2:17am UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642/21 "2005-01-20T02:17:33Z")

</div>

> [@bitwise](#):
>
> Oops, that you be **distributes**.

Something is wrong with me today. I need a correction to my correction: **you-\>should**.

---

<div class="post-metadata">

**Author:** ![antechinus](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@antechinus](https://boards.straightdope.com/u/antechinus)\
**Post date:** [January 20, 2005, 2:20am UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642/22 "2005-01-20T02:20:44Z")

</div>

> [@ultrafilter](#):
>
> I have no idea what you’re getting at here. Can you explain a little further?

I was trying to get at the difference between chosing an single item from a set (described in your post) versus evaluating the group of items from sets that satisfy the proposed conditions.

Perhaps, as CookingWithGas said, I am confusing set theory with boolean logic.

---

<div class="post-metadata">

**Author:** ![kellner](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@kellner](https://boards.straightdope.com/u/kellner)\
**Post date:** [January 20, 2005, 2:52am UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642/23 "2005-01-20T02:52:56Z")

</div>

The problem is that Boolean logic is inadequate for formalizing natural language. If you want a reasonable expression of natural sentences in logic, you need a system with more capabilities. A natural language “and” that isn’t between two complete sentences just doesn’t correspond to anything in Boolean logic.

> [@](#):
>
> A better example: “I ate lunch and got gas at Joe’s truck stop.” is logically equivalent to “I got gas and ate lunch at Joe’s truck stop.”, but the two sentences are clearly different in some important respect.

What do you mean by “logically equivalent”? Both are structurally ambiguous and both have one interpretation that is close to one of the other sentence.

---

<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:** [January 20, 2005, 3:03am UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642/24 "2005-01-20T03:03:40Z")

</div>

“I ate lunch and got gas at Joe’s truck stop.” is the latest incarnation of an old joke, playing on the fact that “got gas” is ambiguous–it can mean “filled up the tank of my car” or “had flatulence”.

“I got gas and ate lunch at Joe’s truck stop.” is not ambiguous. It states flatly that I ate lunch and filled up the tank of my car at Joe’s truck stop.

With the first sense of “got gas”, the two are equivalent, and if anyone were to utter this sentence, that’s most likely what they’d mean.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [January 20, 2005, 5:00am UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642/25 "2005-01-20T05:00:27Z")

</div>

> [@](#):
>
> So,  
> Conversational ‘or’ is formal logical XOR  
> Conversational ‘and/or’ is formal logical OR

Not necessarily. Conversational “or” can be exclusive or not, depending on the context. In the cookie or candy bar example, exclusivity is implied. But what about “You can go to the dance if you’re a member of the club or the date of a member.”? It’s probably safe to conclude there that if two members are dating each other, they can both go to the dance. So someone can go to the dance who is a member and the date of member, so in this context, conversational “or” is inclusive.

---

<div class="post-metadata">

**Author:** ![Digital\_Stimulus](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Digital\_Stimulus](https://boards.straightdope.com/u/Digital_Stimulus)\
**Post date:** [January 20, 2005, 5:46am UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642/26 "2005-01-20T05:46:14Z")

</div>

Oh, boy. Just don’t anyone bring up the mapping of conversational “if/then” to logical P-\>Q.

Ooops. I just did.

:: runs away ::

---

<div class="post-metadata">

**Author:** ![Excalibre](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Excalibre](https://boards.straightdope.com/u/Excalibre)\
**Post date:** [January 20, 2005, 1:08pm UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642/27 "2005-01-20T13:08:01Z")

</div>

> [@Chronos](#):
>
> Not necessarily. Conversational “or” can be exclusive or not, depending on the context. In the cookie or candy bar example, exclusivity is implied. But what about “You can go to the dance if you’re a member of the club or the date of a member.”? It’s probably safe to conclude there that if two members are dating each other, they can both go to the dance. So someone can go to the dance who is a member and the date of member, so in this context, conversational “or” is inclusive.

Yeah, I was going to say this too. “Would you like some coffee, or a piece of cake?” doesn’t mean that the host is stingily permitting only one item to their guests. This would be Boolean OR; “and” wouldn’t work because it implies that the guest is obliged to accept both or (that is, XOR) neither.

Some languages do have different words for OR and XOR, but I’ve yet to run into one that really uses them according to Boolean logic. And they tend to become stranger when negated.

---

<div class="post-metadata">

**Author:** ![Richard\_Pearse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/richard_pearse/32/13144_2.png) [@Richard\_Pearse](https://boards.straightdope.com/u/Richard_Pearse)\
**Post date:** [January 20, 2005, 1:24pm UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642/28 "2005-01-20T13:24:30Z")

</div>

> [@ultrafilter](#):
>
> “I ate lunch and got gas at Joe’s truck stop.” is the latest incarnation of an old joke, playing on the fact that “got gas” is ambiguous–it can mean “filled up the tank of my car” or “had flatulence”.
> 
> “I got gas and ate lunch at Joe’s truck stop.” is not ambiguous. It states flatly that I ate lunch and filled up the tank of my car at Joe’s truck stop.
> 
> With the first sense of “got gas”, the two are equivalent, and if anyone were to utter this sentence, that’s most likely what they’d mean.

They can also be read that you ate lunch (somewhere, not necessarily Joe’s) and got gas at Joe’s truck stop.

---

<div class="post-metadata">

**Author:** ![Richard\_Pearse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/richard_pearse/32/13144_2.png) [@Richard\_Pearse](https://boards.straightdope.com/u/Richard_Pearse)\
**Post date:** [January 20, 2005, 1:26pm UTC](https://boards.straightdope.com/t/what-does-and-or-mean/285642/29 "2005-01-20T13:26:38Z")

</div>

I think **Bashere** has answered your main question correctly. If you want a Cat and a Black but not necessarily a Black Cat then you ask for them seperately.

[Previous page](https://boards.straightdope.com/t/what-does-and-or-mean/285642.md?page=1)
