mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#LogicSyllabus

0 posts0 participants0 posts today
Continued thread

Logic Syllabus • Discussion 2
inquiryintoinquiry.com/2023/06

Re: Logic Syllabus ( inquiryintoinquiry.com/logic-s )
Re: John Mingers ( groups.io/g/lawsofform/message )

JM: ❝Is [the “just one true” operator] the same or different to XOR? I have read that XOR is true when an odd number of variables are true which would make it different. But I also read somewhere that XOR was true when only one is true.❞

Here's my syllabus entry on Exclusive Disjunction (XOR), also known as Logical Inequality, Symmetric Difference, and a few other names. It's my best effort so far at straightening out the reigning confusions and also at highlighting the links between the various notations and visualizations we find in practice.

Exclusive Disjunction
oeis.org/wiki/Exclusive_disjun

Exclusive disjunction, also known as logical inequality or symmetric difference, is an operation on two logical values, typically the values of two propositions, which produces a value of true just in case exactly one of its operands is true.

To say exactly one operand is true is to say the other is false, which is to say the two operands are different, that is, unequal.

Expressed algebraically, x1+x2=1 (mod 2).

Viewed in that light, it is tempting to think a natural extension of XOR to many variables x1,,xm will take the form x1++xm=1 (mod 2). And saying the bit sum of several boolean values is 1 is just another way of saying an odd number of the values are 1.

Sums of that order form a perfectly good family of boolean functions, ones we'll revisit in a different light, but their kinship to the family of logical disjunctions is a bit more strained than uniquely natural.

Inquiry Into InquiryLogic Syllabus • Discussion 2Re: Logic Syllabus Re: Laws of Form • John Mingers JM: Is [the “just one true” operator] the same or different to xor?  I have read that xor is true when an odd number of vari…

Logic Syllabus • Discussion 1
inquiryintoinquiry.com/2023/06

Re: Logic Syllabus ( inquiryintoinquiry.com/logic-s )
Re: Laws of Form ( groups.io/g/lawsofform/topic/l )
Re: John Mingers ( groups.io/g/lawsofform/message )

JM: ❝In a previous post you mentioned the minimal negation operator. Is there also the converse of this, i.e. an operator which is true when exactly one of its arguments is true? Or is this just XOR?❞

Yes, the “just one true” operator is a very handy tool. We discussed it earlier under the headings of “genus and species relations” or “radio button logic”. Viewed in the form of a venn diagram it describes a partition of the universe of discourse into mutually exclusive and exhaustive regions.

Reading (x1,,xm) to mean just one of x1,,xm is false, the form ((x1),,(xm)) means just one of x1,,xm is true.

For two logical variables, though, the cases “condense” or “degenerate” and saying “just one true” is the same thing as saying “just one false”.

((x1),(x2))=(x1,x2)=x1+x2=xor(x1,x2).

There's more information on the following pages.

Minimal Negation Operators
oeis.org/wiki/Minimal_negation

Related Truth Tables
oeis.org/wiki/Minimal_negation

Genus, Species, Pie Charts, Radio Buttons
inquiryintoinquiry.com/2021/11

Related Discussions
inquiryintoinquiry.com/?s=Radi



Inquiry Into InquiryLogic Syllabus • Discussion 1Re: Logic Syllabus Re: Laws of Form • John Mingers JM: In a previous post you mentioned the minimal negation operator.  Is there also the converse of this, i.e. an operator which is true …
Continued thread
Inquiry Into Inquiry · Logic Syllabus
More from Inquiry Into Inquiry
Continued thread