754 Non-Contradiction \(\iff \) Excluded Middle \(\iff \) \(A = A\)

In the Boolean domain \(x \in \{0,1\}\), the Law of Non-Contradiction and the Law of Excluded Middle are equivalent to each other and both follow from the Law of Identity \(A = A\).

Proof. (1) Identity. For all \(x\), \(x = x\). In the Boolean domain \(x \in \{0,1\}\),

\begin{equation} x = x \cdot 1. \tag{26465}\end{equation}

(2) Partition of Unity. By the Boolean complement identity \(1 = x + (1-x)\), substituting into (1):

\begin{equation} x = x\bigl (x + (1-x)\bigr ). \tag{26466}\end{equation}
Expanding by the distributive law:
\begin{equation} x = x^2 + x(1-x). \tag{26467}\end{equation}
By Boolean idempotence \(x^2 = x\):
\begin{equation} x = x + x(1-x). \tag{26468}\end{equation}
Subtracting \(x\) from both sides:
\begin{equation} x(1-x) = 0. \tag{26469}\end{equation}

(3) Non-Contradiction. Equation (5) states \(x(1-x) = 0\), which in logical notation is

\begin{equation} A \land \neg A = 0, \tag{26470}\end{equation}
the Law of Non-Contradiction.

(4) Excluded Middle. The Boolean complement identity gives directly

\begin{equation} x + (1-x) = 1, \tag{26471}\end{equation}
which in logical notation is
\begin{equation} A \lor \neg A = 1, \tag{26472}\end{equation}
the Law of Excluded Middle.

(5) Equivalence of the two laws. We show \(x(1-x) = 0 \iff x + (1-x) = 1\).

\((\Rightarrow )\): Suppose \(x(1-x) = 0\). Then \(x - x^2 = 0\), so \(x^2 = x\). Thus \(x + (1-x) = x + 1 - x = 1\). \(\checkmark\)

\((\Leftarrow )\): Suppose \(x + (1-x) = 1\). Then \(1 = 1\), which holds identically. By idempotence \(x^2 = x\), we have \(x(1-x) = x - x^2 = x - x = 0\). \(\checkmark\)

Therefore:

\begin{equation} x(1-x) = 0 \iff x + (1-x) = 1. \tag{26473}\end{equation}

(6) Partition Structure. The two conditions characterise a binary partition of unity:

Together they establish \(\{x, 1-x\}\) as a binary partition of \(1\).

(7) Reduction to \(A = A\). From \(A = A\) the partition of unity \(1 = x + (1-x)\) follows immediately (since \(A\) being itself implies everything is either \(A\) or \(\neg A\)). From the partition of unity both laws are derived in steps (2)–(4). Hence:

\begin{equation} A = A \;\Rightarrow \; \begin {cases} x(1-x) = 0, \\ x + (1-x) = 1. \end {cases} \tag{26474}\end{equation}

(8) Final Equivalence. Combining (6), (7), and (9):

\begin{equation} \boxed {\text {Non-Contradiction} = \text {Excluded Middle} = \text {partition of identity}} \tag{26475}\end{equation}
that is,
\begin{equation} x(1-x) = 0 \iff x + (1-x) = 1, \tag{26476}\end{equation}
and both are consequences of \(A = A\) alone. The three classical laws of thought are not three laws but one law read in three notations. □

754.1 Three Laws of Classical Logic from \(x^2=x\)

Thesis. The three fundamental laws of classical logic — Identity, Non-Contradiction, and Excluded Middle — all follow from the single algebraic equation \(x^2=x\).

Step 1: \(x^2=x \Rightarrow x\in \{0,1\}\).

\begin{equation} x^2=x \;\Longrightarrow \; x^2-x=0 \;\Longrightarrow \; x(x-1)=0 \;\Longrightarrow \; x\in \{0,1\}. \tag{26477}\end{equation}
Define the complement \(\neg x:=1-x\). Then:
\begin{equation} \{x,\,1-x\}=\{0,1\},\qquad x=0\Rightarrow 1-x=1,\qquad x=1\Rightarrow 1-x=0. \tag{26478}\end{equation}

Step 2: Non-Contradiction from \(x(1-x)=0\).

\begin{equation} x(1-x) = x - x^2 = x-x = 0. \tag{26479}\end{equation}
\begin{equation} \boxed {x\cap (1-x)=0} \;\Longleftrightarrow \; x\wedge \neg x=0. \tag{26480}\end{equation}
A proposition and its negation cannot both be true.

Step 3: Excluded Middle from \(x+(1-x)=1\).

\begin{equation} x+(1-x) = 1. \tag{26481}\end{equation}
\begin{equation} \boxed {x\cup (1-x)=1} \;\Longleftrightarrow \; x\vee \neg x=1. \tag{26482}\end{equation}
Every proposition is either true or false, with no remainder.

Step 4: Identity from \(x=x\).

\begin{equation} x^2=x \;\Longrightarrow \; x=x\wedge x,\qquad x+(1-x)=1 \;\Longrightarrow \; x\vee \neg x=1. \tag{26483}\end{equation}
\begin{equation} \boxed {x=x.} \tag{26484}\end{equation}
The Law of Identity is \(x^2=x\) itself: the idempotent fixed point \(x\cdot x=x\).

Complete derivation.

\begin{equation} \boxed { x^2=x \;\Longrightarrow \; \begin {aligned} x(1-x)&=0\\ x+(1-x)&=1 \end {aligned} } \tag{26485}\end{equation}

Three Laws.

\begin{equation} \boxed { \begin {aligned} \text {Identity:} &\quad x=x \\[4pt] \text {Non-Contradiction:} &\quad x\cap (1-x)=0 \\[4pt] \text {Excluded Middle:} &\quad x\cup (1-x)=1 \end {aligned} } \tag{26486}\end{equation}

Complete chain.

\begin{equation} \boxed { A=A \;\Longrightarrow \; x^2=x \;\Longrightarrow \; \begin {cases} x=x & \text {(Identity)}\\[4pt] x(1-x)=0 & \text {(Non-Contradiction)}\\[4pt] x+(1-x)=1 & \text {(Excluded Middle)} \end {cases} \;\Longrightarrow \; \Omega =\{0,1\} \;\Longrightarrow \; \text {ZFC.} } \tag{26487}\end{equation}

Remark 754.1 (Three laws of logic as \(x^2=x\)). The three laws of classical logic are not independent axioms. They are three faces of the single equation \(x^2=x\):

All three follow from \(x^2=x\), which is \(\Pi ^2=\Pi \), which is \(A=A\). The three laws of logic are \(A=A\) expressed in propositional language.

754.1.1 Univalence as the Fixed Point of Non-Contradiction

Voevodsky’s univalence axiom in Homotopy Type Theory states:

\begin{equation}\label {eq:univalence2} (A =_{\mathcal {U}} B) \;\simeq \; (A \simeq B). \tag{26488}\end{equation}
Identity in the universe \(\mathcal {U}\) is equivalent to equivalence. If two types are equivalent, they are identical.

The apparent contradiction. Let \(A \neq B\) as labels (syntactically distinct symbols). Univalence asserts \(A = B\) whenever \(A \simeq B\). This violates Non-Contradiction in the following sense: \(A\) is both itself (\(A = A\)) and something other than itself (\(A = B\) where \(B \neq A\) as symbols). The object is simultaneously \(A\) and not-\(A\) (since \(B\) is syntactically \(\lnot A\)).

Why it works. \(A = A\) and \(B = B\) are two instances of the same law. Their structure is identical:

\begin{equation} (A = A) \;\simeq \; (B = B). \tag{26489}\end{equation}
Both are the Law of Identity applied to different labels. The labels differ; the content does not. Univalence identifies them precisely because the content—\(A = A\)—is the same.

The fixed-point resolution. At the fixed point \(A = \lnot A = \tfrac {1}{2}\), the distinguishability \(I = \lvert 2A - 1 \rvert = 0\). The distinction between \(A\) and \(B\) vanishes. Non-Contradiction, which requires \(I > 0\) to separate \(A\) from \(\lnot A\), ceases to apply. Univalence operates at exactly this point: where structural equivalence erases label distinction.

\begin{equation} \text {Univalence} = \text {Non-Contradiction at } I = 0. \tag{26490}\end{equation}

Voevodsky did not violate Non-Contradiction. He axiomatized its fixed point. The axiom works because at \(I = 0\), there is nothing for Non-Contradiction to enforce: \(A\) and \(\lnot A\) are the same, so \(A \wedge \lnot A\) is simply \(A \wedge A = A\). Contradiction becomes tautology.

754.2 Leibniz’s Identity of Indiscernibles

Leibniz (1686) stated: if \(A\) and \(B\) share all properties, then \(A = B\).14 In the notation of the present framework:

\begin{equation} I(A, B) = 0 \;\Longrightarrow \; A = B. \tag{26491}\end{equation}

This is precisely the condition \(I = \lvert 2A - 1 \rvert = 0\). “Indiscernible” means \(I = 0\). “Identical” means \(A = A\). Leibniz’s principle is: at the fixed point of the partition, the partition collapses.

Leibniz stated in natural language what the distinguishability measure formalizes: when the distance between \(A\) and \(\lnot A\) is zero, the two are one.

754.2.1 Theorem

Theorem 754.2 (Three Laws Theorem).

(i)
Derivation. Non-Contradiction and Excluded Middle are derivable from \(A = A\) and \(T = 1\). They are not independent axioms.
(ii)
Partition. All three laws are readings of the binary partition \(A + \lnot A = 1\): Identity defines it, Non-Contradiction enforces it, Excluded Middle closes it.
(iii)
Collapse. At the fixed point \(A = \lnot A = \tfrac {1}{2}\) (\(I = 0\)), the three laws are indistinguishable.
(iv)
Univalence. The univalence axiom \((A =_{\mathcal {U}} B) \simeq (A \simeq B)\) is the axiomatization of Non-Contradiction at its fixed point \(I = 0\). It does not violate Non-Contradiction; it operates where Non-Contradiction collapses.
(v)
Leibniz. The Identity of Indiscernibles \(I(A,B) = 0 \Rightarrow A = B\) is the same fixed-point condition expressed in predicate form.
(vi)
Ground. There is one law: \(A = A\). The rest is notation.

Three laws, one identity. Two additional axioms, zero additional content. The history of logic, from Aristotle through Leibniz to Voevodsky, is the history of re-expressing \(A = A\) in successively more sophisticated notations. The notation changed. The law did not. \(A = A\).

14Leibniz, G.W. (1686). Discours de métaphysique, §9.