#LogicSyllabus

2023-06-04

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, \(x_1 + x_2 = 1 ~ (\text{mod}~ 2).\)

Viewed in that light, it is tempting to think a natural extension of XOR to many variables \(x_1, \ldots, x_m\) will take the form \(x_1 + \ldots + x_m = 1 ~ (\text{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.

#Logic #LogicSyllabus

2023-06-02

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 \(\texttt{(} x_1 \texttt{,} \ldots \texttt{,} x_m \texttt{)}\) to mean just one of \(x_1, \ldots, x_m\) is false, the form \(\texttt{((} x_1 \texttt{),} \ldots \texttt{,(} x_m \texttt{))}\) means just one of \(x_1, \ldots, x_m\) 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”.

\[\texttt{((} x_1 \texttt{),(} x_2 \texttt{))} = \texttt{(} x_1 \texttt{,} x_2 \texttt{)} = x_1 + x_2 = \mathrm{xor} (x_1, x_2).\]

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

#Logic #LogicSyllabus #BooleanDomain #BooleanFunction #BooleanValuedFunction
#Peirce #LogicalGraph #MinimalNegationOperator #ExclusiveDisjunction #XOR
#CactusLanguage #PropositionalCalculus #RadioButtonLogic #TruthTable

2023-05-22

Logic Syllabus • 1
inquiryintoinquiry.com/logic-s

This page serves as a focal node for a collection of related resources.
oeis.org/wiki/Logic_Syllabus

#Logic #LogicSyllabus

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst