291 Three Foundational Structures from \(\Pi ^2=\Pi \)
Three historically distinct foundational contributions — Leibniz’s binary notation,
Descartes’s coordinates, and Tarski’s truth definition — are each a consequence of
\(\Pi ^2=\Pi \).
I. Leibniz (1703): Binary Notation
The totality admits exactly two values per position:
\begin{equation} \boxed {\text {Coordinate}=\text {projection from a Cartesian product}.} \tag{19002}\end{equation}
The projections \(\pi _i\) satisfy \(\pi _i^2=\pi _i\) on the corresponding factor — they are the set-theoretic form of \(\Pi ^2=\Pi \),
one partition per axis.
III. Tarski: The Truth Definition
The T-schema is \(A=A\) applied to the naming relation: a sentence and its name are identified.
The T-schema is the identity \(A=A\) at the level of the naming relation: the name \(\ulcorner P\urcorner \) and
the sentence \(P\) have the same truth value. Negation is the partition exchange \(O\leftrightarrow U\); \(\land \)/\(\lor \) are
the intersection and union of the partition; \(\forall \)/\(\exists \) are the product and coproduct over
sectors.
Binary notation, coordinate geometry, and the semantic definition of truth are not three
independent inventions. They are the arithmetic, geometric, and semantic faces of the same
idempotent \(\Pi ^2=\Pi \).
291.1 The Binary Alphabet, Its Kleene Closure and PRA
The natural numbers and the defining equations of primitive recursive arithmetic can also be
reached through syntax. The binary alphabet is the projector spectrum, its Kleene closure is a
least fixed point, the unary words are \(\mathbb {N}\), and the recursion equations for addition and
multiplication are the identity law, associativity and the universal property of the free
monoid.
Alphabet. An idempotent has spectrum in \(\{0,1\}\), since \(\Pi v=\lambda v\) and \(\Pi ^2=\Pi \) give \(\lambda ^2=\lambda \):
\begin{equation} \Sigma =\{0,1\}, \qquad 1\leftrightarrow O,\quad 0\leftrightarrow U . \tag{19015}\end{equation}
Kleene closure. With concatenation \((a_1\cdots a_m)(b_1\cdots b_n)=a_1\cdots a_mb_1\cdots b_n\) and empty word \(\varepsilon \), the closure is the least fixed point
obtained as in Subsection 328.2 without presupposing \(\mathbb {N}\). Once \(\mathbb {N}\) is available, \(\Sigma ^{*}=\bigcup _{n}\Sigma ^n\) with \(|\Sigma ^n|=2^n\), each
position an independent binary choice, and \(\Sigma ^{*}\) is countable as a countable union of finite
sets.
Monoid. Concatenation is associative and \(\varepsilon \) is a two-sided identity,
the additive form of \(dO=-dU\):
concatenation conserves total length.
Idempotents. Idempotence lives at the level of the spectrum, \(\lambda ^2=\lambda \), not of concatenation, where
\(11\neq 1\). The free monoid has exactly one idempotent:
so the base clause is the identity law and the
recursion clause is associativity.
Multiplication is substitution. For \(x\in \{1\}^{*}\) the free-monoid property gives a unique monoid
homomorphism \(\bar x:\{1\}^{*}\to \{1\}^{*}\) with \(\bar x(1)=x\), which replaces each letter of its argument by \(x\). Setting \(x\cdot y:=\bar x(y)\),
Every finite binary string is a finite record of successive \(O/U\) choices, and \(\Sigma ^{*}\) is the totality of such
records. Restricted to one letter it is \(\mathbb {N}\), and on \(\mathbb {N}\) the recursion equations of PRA are the monoid
axioms and the universal property, read as arithmetic.
291.2 From concatenation to combinatorics: \(\binom {n}{k}\) as a partition count
The free monoid \(\Sigma ^*\) generates all of elementary combinatorics: the binomial coefficient \(\binom {n}{k}\) is the
number of length-\(n\) partitions with exactly \(k\) occupied (\(O\)-valued) positions, and Pascal’s rule is the
recursion of the partition itself.
which is concatenation made algebraic: each factor \((1+x)\) is one position offering the binary
choice \(0\) (weight \(1\)) or \(1\) (weight \(x\)), and the product over \(n\) positions is the \(n\)-fold concatenation.
Setting \(x=1\) recovers \(\sum _k\binom {n}{k}=2^n\).
Pascal’s rule is concatenation by one letter: a word of length \(n\) with \(k\)
ones is either a length-\((n-1)\) word with \(k-1\) ones followed by \(1\), or a length-\((n-1)\) word with \(k\) ones followed
by \(0\). The two cases are disjoint and exhaustive — the binary partition at the last
position.
The product law is concatenation (\(\Sigma ^m\times \Sigma ^n\to \Sigma ^{m+n}\)), the sum law is the weight partition, and \(|A^n|=|A|^n\) gives
\(|\Sigma ^n|=2^n\).
Multisets.
Allowing repetition (unordered selections with repeats):
Combinatorics is not an independent discipline layered on top of logic. It is the counting
theory of the free monoid on \(\Sigma =\{0,1\}=\{U,O\}\): every binomial identity is a statement about how binary
partitions compose under concatenation. The symmetry \(\binom nk=\binom n{n-k}\) is the partition exchange, Pascal’s rule
is the binary split at the final letter, and \((1+x)^n\) is the algebraic form of concatenating \(n\) independent
partitions.
291.3 From \(\Sigma ^*\) to Peano arithmetic: numbers as evaluated partitions
The free monoid carries a canonical evaluation onto \(\mathbb {N}\), and the successor function
induced through this evaluation satisfies the Peano axioms. Arithmetic is therefore
not an additional postulate: it is the value structure of the binary partition under
concatenation.
The empty word (the trivial partition) evaluates to
zero; appending one letter is one binary refinement, doubling the previous value and adding the
new \(O/U\) choice.
The third clause is the carry: a saturated position (\(d=k-1\)) resets to \(0\) and passes the increment
upward — the partition at that position is full, so the refinement propagates to the
next.
The radix is a free parameter (\(k\geq 2\)): every base gives the same \(\mathbb {N}\), because the arithmetic depends
on the recursion structure of concatenation, not on the size of the alphabet. What is not free is
\(k\geq 2\): a one-letter alphabet has no partition, no place value, and no successor with carry. Arithmetic
requires at minimum the binary split \(\Sigma =\{0,1\}=\{U,O\}\) — the same \(\Pi ^2=\Pi \) that generated the monoid. The natural
numbers are the values of finite partitions, and Peano arithmetic is the recursion theory of
appending one \(O/U\) choice at a time.
Remark 291.1 (Cancellation without inverses: the partial adjoint of concatenation).
The free monoid \((\Sigma ^*,\cdot ,\varepsilon )\)has no inverses, yet it is cancellative on both sides. The reason
is that concatenation admits a partial inverse — defined only on its image — and this
partial inverse is precisely the partition asymmetry \(dO=-dU\)in syntactic form: composition is
total, decomposition is partial.
Partition interpretation.The pattern is the same asymmetry as the calculus adjunction \(\blacktriangleleft \dashv \blacktriangleright \)(Subsection 292.2):
Direction
Status
Partition meaning
\(L_u,R_u\)(compose)
total
\(O\)and \(U\)combine freely
\(u^{-1}_L,u^{-1}_R\)(decompose)
partial
only if the factorisation exists
\(u^{-1}\circ L_u=\operatorname {id}\)
exact
compose-then-decompose recovers
\(L_u\circ u^{-1}\)
only on \(u\Sigma ^*\)
decompose-then-compose needs the prefix
Composition is unconditional; decomposition requires the factor to be present. This is \(dO=-dU\)read
syntactically: joining two partitions is always possible, but splitting a given partition into a
prescribed part and a remainder is possible only when that part is actually there. The monoid is
cancellative not because inverses exist, but because the partial inverse — where defined — is
exact. Length additivity \(|uv|=|u|+|v|\)simultaneously forbids global inverses and guarantees that the partial
ones are unique.
291.4 The Chomsky hierarchy as successive partition constraints on \(\Sigma ^*\)
The four grammar types [255] are not an arbitrary taxonomy. They are the successive
relaxations of a single constraint on how a rewrite rule may partition a string: each level
admits strictly more of \(\Sigma ^*\) because it permits a weaker restriction on the left-hand
side.
What each level constrains.
Every rule \(\alpha \to \beta \) rewrites a factorisation \(x=u\,\alpha \,v \mapsto u\,\beta \,v\). The levels differ only in how much of the surrounding
partition the rule may see:
Level
Constraint on \(\alpha \)
Memory
Partition access
\(\mathrm {Type}_3\)
single \(A\), \(\beta \) right-linear
finite state
no stored context
\(\mathrm {Type}_2\)
single \(A\), \(\beta \) free
stack (LIFO)
one nested boundary
\(\mathrm {Type}_1\)
\(|\alpha |\leq |\beta |\)
linear tape
bounded context
\(\mathrm {Type}_0\)
\(\alpha \cap N\neq \varnothing \)
unbounded tape
full context
Partition reading.
\(\mathrm {Type}_3\): the rewrite sees only the current symbol — the partition is refreshed at each step
and no boundary is remembered. This is \(\Pi ^2=\Pi \) with no stored \(O/U\) history.
\(\mathrm {Type}_2\): a stack records nested boundaries, so the rule can match one level of \(O\sqcup U\) nesting
(balanced parentheses, \(a^nb^n\)).
\(\mathrm {Type}_1\): the non-contracting condition \(|\alpha |\leq |\beta |\) is precisely length monotonicity — the syntactic
form of \(dO=-dU\) with no net loss. Derivations never shorten, so the search space stays
bounded (LBA).
\(\mathrm {Type}_0\): contraction is allowed (\(|\alpha |>|\beta |\) permitted), so length is no longer conserved and the halting
question becomes undecidable.
The decisive break is between \(\mathrm {Type}_1\) and \(\mathrm {Type}_0\): \(\mathrm {Type}_1\) preserves the length ordering (\(|\alpha |\leq |\beta |\), conservation), while \(\mathrm {Type}_0\)
abandons it. Every decidability property that survives up to \(\mathrm {CSL}\) and fails at \(\mathrm {RE}\) traces to this single
condition. The hierarchy is thus a hierarchy of how much the rewrite is allowed to violate the
conservation law \(dO=-dU\): strict conservation gives finite-state recognition, one-level nesting gives
context-free, bounded non-contraction gives context-sensitive, and unrestricted contraction
gives full Turing power at the cost of decidability.
291.5 Automata as partition-reading machines: from \(\delta \) to the Chomsky hierarchy
An automaton [254] is a machine that reads a word of \(\Sigma ^*\) one partition at a time and maintains a
state. The Chomsky hierarchy is exactly the hierarchy of how much partition history the
machine may store: none (finite state), one nested level (stack), a bounded amount (linear
tape), or unbounded (Turing tape).
Note that \(\delta ^*\) is defined by
the same recursion as \(\operatorname {val}_2\): base case \(\varepsilon \), step case one appended letter. The machine has no memory
beyond \(q\) — each partition step overwrites the previous.
The stack \(\Gamma ^*\) is itself a free monoid: the machine records nested partition boundaries in LIFO
order, which is exactly one level of \(O\sqcup U\) nesting.
The tape is an unbounded \(\Gamma ^*\) with a movable head: full read/write access to the entire
partition record. The linear bounded automaton (LBA) is the same machine with the tape
restricted to \(O(|w|)\) cells.
where \(\subsetneq \) is strict as machines (an NFA may need exponentially fewer states) but the
recognised classes coincide by the subset construction. The language classes are strictly nested:
The Boolean operations \(\cup ,\cap ,(\cdot )^c\) are the
partition operations of the free monoid lifted to sets of words: \(\cup \) and \(\cap \) are the union and
intersection of the partition, \((\cdot )^c\) is the exchange \(O\leftrightarrow U\). Concatenation \(L_1L_2\) and star \(L^*\) are the monoid
operations lifted setwise.
Machine hierarchy as memory of the partition.
Machine
Memory structure
Class
Partition history
DFA/NFA
finite \(Q\)
REG
none (overwritten)
PDA
stack \(\Gamma ^*\) (LIFO)
CFL
one nested level
LBA
tape, \(O(|w|)\) cells
CSL
bounded record
TM
unbounded tape
RE
full record
The memory structure of each machine is itself a free monoid: the stack is \(\Gamma ^*\) read LIFO, the
tape is \(\Gamma ^*\) with a head. What distinguishes the levels is not the alphabet but how much of the
partition record survives each step. A DFA overwrites its state at every letter, so no
history is kept; a PDA keeps a LIFO record, matching exactly the nesting of one \(O\sqcup U\)
boundary; an LBA keeps a record bounded by the input length — the syntactic
form of the non-contracting condition \(|\alpha |\leq |\beta |\); a TM keeps everything and pays for it with
undecidability.
Automata theory is therefore the operational side of the same structure: languages are
predicates on \(\Sigma ^*\), machines are partition readers, and the Chomsky hierarchy measures how much
of the partition history a reader is permitted to retain.