Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: January 27, 2025, 9:55 am

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inclusive OR? Wtf?
#6
RE: Inclusive OR? Wtf?
(May 29, 2014 at 2:11 pm)Tea Earl Grey Hot Wrote: In propositional logic, you actually have to write "(a or b) and not (a and b)" to mean exclusive or. There's no symbol for it.

Quote:“(P v Q)” claims that at least one part is true. So “I went to Paris or I went to Quebec” is true just if I went to one or both places. Our “v” symbolizes the inclusive sense of “or”; English also can use “or” in an exclusive sense, which claims that at least one part is true but not both. Both senses of “or” can translate into our symbolism:
• Inclusive “or”: A or B or both = (A v B)
• Exclusive “or”: A or B but not both = ((A v B) · ~(A · B))”

Excerpt From: Harry J. Gensler. “Introduction to Logic: Second Edition.” iBooks. https://itunes.apple.com/WebObjects/MZSt...=495640131

Formal propositional logic isn't my thing, but programming is - the above is precisely why I'm glad we have separate operators for the two classes of OR in programming languages.

It is inconvenient that the meaning is different from ordinary English usage, but that's not all that unexpected - it's not uncommon to find that words take more specific meanings in specialized disciplines (compare the common and scientific use of "theory", for example).
Reply



Messages In This Thread
Inclusive OR? Wtf? - by Tea Earl Grey Hot - May 29, 2014 at 1:06 pm
RE: Inclusive OR? Wtf? - by bennyboy - May 29, 2014 at 1:18 pm
RE: Inclusive OR? Wtf? - by hppavilion - June 4, 2014 at 4:50 am
RE: Inclusive OR? Wtf? - by MindForgedManacle - May 29, 2014 at 1:52 pm
RE: Inclusive OR? Wtf? - by Jackalope - May 29, 2014 at 2:05 pm
RE: Inclusive OR? Wtf? - by Tea Earl Grey Hot - May 29, 2014 at 2:11 pm
RE: Inclusive OR? Wtf? - by Jackalope - May 29, 2014 at 2:17 pm
RE: Inclusive OR? Wtf? - by Angrboda - June 4, 2014 at 3:24 pm
RE: Inclusive OR? Wtf? - by bennyboy - June 6, 2014 at 4:06 am



Users browsing this thread: 2 Guest(s)