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}
(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\)
(6) Partition Structure. The two conditions characterise a binary partition of unity:
\(x(1-x) = 0\): the parts \(\{x,\, 1-x\}\) are disjoint.
\(x + (1-x) = 1\): the parts \(\{x,\, 1-x\}\) are exhaustive.
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):
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\).
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\):
Identity (\(x=x\)): the fixed-point condition \(x^2=x\)states that \(x\)is stable under self-application —\(x\)is what it is.
Non-Contradiction (\(x\wedge \neg x=0\)): \(x(1-x)=x-x^2=0\), forced by \(x^2=x\). A value cannot simultaneously be \(1\)and \(0\).
Excluded Middle (\(x\vee \neg x=1\)): \(x+(1-x)=1\), forced by \(\neg x=1-x\)and \(x^2=x\). Every value is either \(1\)or \(0\), with no remainder.
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.