3 Logics as Algebras of Partitions

Every finite partition is a tree of binary splits, so refining a partition multiplies binary decisions rather than escaping them. The law of excluded middle holds for an element exactly when it is sharp:

Classical logic is the logic of the sharp core.

In a Heyting algebra the excluded middle can fail, but its double negation always holds, \(\neg \neg (a\vee \neg a)=1\). So declining the law is not asserting its negation, and no consistent logic refutes it. Double negation is an idempotent operator whose fixed points form a Boolean algebra, and the classical part of an intuitionistic structure is the image of that idempotent.

On infinite domains, excluded middle for each instance of a decidable predicate holds constructively by induction; what is at issue is excluded middle for quantified statements, the principle of omniscience. It holds wherever valuations are sharp, as for arithmetic in Section 460.11.

The standard logics are the logics of standard algebras built from the same primitives:

3.1 Refinement is binary

Finite partitions. A partition \(\sum _{k=1}^n\Pi _k=I\) into \(n\) blocks is obtained by \(n-1\) binary splits: \(I=\Pi _1+(I-\Pi _1)\), then \(I-\Pi _1=\Pi _2+(I-\Pi _1-\Pi _2)\), and so on. Each split is a pair \((e,1-e)\) with \(e^2=e\) and \(e(1-e)=0\). Any tree of such splits generates a Boolean algebra, the finite Boolean algebra with atoms the leaves.

Infinite refinement. Refining without end produces an infinite binary tree, each node a pair \((e,1-e)\); the paths through the dyadic tree form Cantor space. A continuum of values arises as the limit of binary refinements, not as an alternative to them.

Membership. For a subset \(A\) of a set, the indicator \(\mathbf 1_A\) is idempotent, and \(\mathbf 1_A+\mathbf 1_{A^c}=1\), \(\mathbf 1_A\mathbf 1_{A^c}=0\). Membership is binary because indicators are idempotent, not because the underlying set is finite.

3.2 Excluded middle is sharpness

Rings. In a commutative ring with unit, set \(\neg e:=1-e\). Then

\begin{equation} e+\neg e=1 \tag{2}\end{equation}
always, and
\begin{equation} e\cdot \neg e=0\iff e^2=e . \tag{3}\end{equation}
Excluded middle together with non-contradiction, in the form "\(e\) and \(\neg e\) are disjoint and exhaust \(1\)", holds exactly for idempotents (Involution char2).

Value algebras. On \([0,1]\) with \(\neg v=1-v\) and \(v\vee w=\max (v,w)\),

\begin{equation} v\vee \neg v=\max (v,1-v)\ge \tfrac 12, \qquad v\vee \neg v=1\iff v(1-v)=0\iff v\in \{0,1\}. \tag{4}\end{equation}
The same characterisation holds in the Kleene algebra \(\{0,\tfrac 12,1\}\), where the only failure is the fixed point \(\tfrac 12\) of the involution.

Sharp core. In each case, the elements for which excluded middle holds are the idempotents, and they form a Boolean algebra. Classical logic is the logic of the sharp core.

3.3 Heyting algebras and double negation

Definitions. A Heyting algebra is a bounded lattice with an implication \(a\to b\) characterised by \(c\le a\to b\iff c\wedge a\le b\). Negation is \(\neg a:=a\to 0\), the largest element disjoint from \(a\).

Basic laws. \(a\wedge \neg a=0\) always, and

\begin{equation} a\le \neg \neg a, \qquad \neg \neg \neg a=\neg a . \tag{5}\end{equation}
Iterating negation from \(a\) reaches the two-element cycle \(\{\neg a,\neg \neg a\}\) after one step.

Excluded middle cannot be refuted. In any Heyting algebra

\begin{equation} \neg (a\vee \neg a)=\neg a\wedge \neg \neg a=0, \qquad \neg \neg (a\vee \neg a)=1 , \tag{6}\end{equation}
using \(\neg (x\vee y)=\neg x\wedge \neg y\) and \(x\wedge \neg x=0\). Intuitionistic logic proves \(\neg \neg (P\vee \neg P)\) for every \(P\). It does not assert \(P\vee \neg P\) as a schema, but it never asserts \(\neg (P\vee \neg P)\). Declining the law is not denying it, and no contradiction can be derived from it.

The Boolean core as an image. The operator \(j=\neg \neg \) satisfies

\begin{equation} a\le j(a), \qquad j(j(a))=j(a), \qquad j(a\wedge b)=j(a)\wedge j(b), \tag{7}\end{equation}
an idempotent closure. Its fixed points, the regular elements \(a=\neg \neg a\), form a Boolean algebra under \(\wedge \), \(\neg \) and \(a\sqcup b:=\neg \neg (a\vee b)\). Every classical propositional tautology \(\varphi \) has \(\neg \neg \varphi \) provable intuitionistically (Glivenko). Classical logic sits inside intuitionistic logic as the image of the idempotent \(j\).

3.4 Infinite domains

Instances. Let \(P\) be a decidable predicate on \(\mathbb N\), for instance a primitive recursive one. Each instance \(P(n)\vee \neg P(n)\) is established by computation, and induction gives

\begin{equation} \forall n\,\bigl (P(n)\vee \neg P(n)\bigr ) \tag{8}\end{equation}
constructively. Excluded middle for instances of decidable predicates is not in dispute on infinite domains.

Quantified statements. What constructive mathematics does not assume is

\begin{equation} \forall n\,P(n)\ \vee \ \exists n\,\neg P(n), \tag{9}\end{equation}
the limited principle of omniscience. Its truth value is an infinite meet of sharp values. In a complete Boolean algebra the meet exists and is sharp. In a constructive setting a proof must decide which disjunct holds, and no uniform method decides it for all decidable \(P\).

Sharp valuations. Where valuations are sharp and witnessed, excluded middle for quantified statements holds. In the one-level system of Section 460.11, values lie in a finite set, suprema are attained, and every arithmetic sentence is sharp with truth equivalent to derivability (Theorem 7 there). In that system excluded middle holds for all of arithmetic, quantified statements included.

Intermediate values. The intermediate value theorem, \(f(a)<0<f(b)\Rightarrow \exists c\,f(c)=0\) for continuous \(f\), uses excluded middle classically. Constructively, its approximate form — for every \(\varepsilon >0\) there is \(c\) with \(|f(c)|<\varepsilon \) — holds without it.

3.5 Verdicts and decidable equality

Whether a given value equals \(1\) is a question about equality in the value algebra. Its answer is the indicator of the singleton \(\{1\}\), an idempotent, and it is two-valued exactly when equality is decidable:

Enlarging the value space does not remove binary questions; it moves them to the question of which value obtains, and that question is binary precisely when equality of values is decidable.

3.6 Logics as algebras

Logic Algebra of propositions Excluded middle Sharp core
classical idempotents of a commutative algebra always everything
intuitionistic open sets, sheaves (Heyting) \(\neg \neg (a\vee \neg a)=1\) regular elements
quantum projections of \(\mathcal B(\mathcal H)\) \(P\vee P^\perp =I\) commuting blocks
Łukasiewicz \([0,1]\), \(\neg v=1-v\) iff \(v\in \{0,1\}\) \(\{0,1\}\)
Kleene, LP \(\{0,\tfrac 12,1\}\) iff \(v\ne \tfrac 12\) \(\{0,1\}\)

Quantum logic. In the lattice of projections, \(P\vee P^\perp =I\) and \(P\wedge P^\perp =0\) hold for every \(P\): excluded middle and non-contradiction survive. What fails is distributivity, for non-commuting projections (Section 355). Each maximal family of commuting projections generates a Boolean algebra, so the classical part is a union of Boolean blocks glued along their overlaps.

Common primitives. Each algebra in the table is built from the primitives of Section 57:

A logic is determined by the algebra of propositions it describes, and the choice of logic is the choice of that algebra. Classical reasoning applies wherever the propositions are sharp; the other logics apply to propositions that are not. The primitives are common to all of them.

3.7 Summary

Statement Form Ingredient
finite partitions \(n-1\) binary splits idempotent pairs \((e,1-e)\)
continua limits of binary refinement dyadic tree
membership \(\mathbf 1_A^2=\mathbf 1_A\) indicators
excluded middle holds iff \(e^2=e\) sharpness
value algebras \(\max (v,1-v)=1\iff v\in \{0,1\}\) involution \(1-v\)
Heyting \(\neg \neg (a\vee \neg a)=1\) cannot be refuted
double negation \(j=\neg \neg \), \(j^2=j\) Boolean core as image
instances \(\forall n\,(P(n)\vee \neg P(n))\) decidable \(P\), induction
omniscience \(\forall n\,P\vee \exists n\,\neg P\) sharp, witnessed values
verdicts binary iff equality decidable indicator of \(\{1\}\)
quantum \(P\vee P^\perp =I\), no distributivity projections
logics logics of algebras common primitives

3.8 Equivalence from the Closed Universe Definition

Both descriptions exclude the observer. Let \(T\) denote the total system, \(U\) the universe (observed), and \(O\) the observer. Then:

For an open universe:

\begin{equation} U_{\text {open}} = T - O \tag{10}\end{equation}

For a closed universe:

\begin{equation} U_{\text {closed}} = T - O \tag{11}\end{equation}

Therefore:

\begin{equation} U_{\text {open}} = U_{\text {closed}} = T - O \tag{12}\end{equation}

The distinction is not physical but declarative. Both represent the same partial description: the total system minus the observer.

3.9 Direction Indistinguishability in a Closed Universe

In a closed universe, there is no boundary and no exterior. To distinguish “forward” from “backward,” “inward” from “outward,” or “open” from “closed” requires an external reference point from which the distinction can be made. A closed universe, by definition, admits no such external reference.

Therefore, within a closed universe, directional distinctions—including the distinction between open and closed—are undefinable. They are declarations imposed by the formalism, not features of the physical system.

Remark 3.1 (Logical illustration). This conclusion is consistent with the formal equivalence of material implication: \(P \to Q \equiv \neg P \lor Q\) and \(Q \leftarrow P \equiv Q \lor \neg P\). By commutativity, \(P \to Q \equiv Q \leftarrow P\), so the “direction” of implication is a notational convention, not a structural feature. While this logical equivalence does not by itself prove physical direction equivalence, it illustrates the general principle that directional distinctions require external reference to be meaningful.