202 Notation without Letters

I. What a letter assumes

\begin{align} x,\ y,\ a,\ b\ &:\ \text {a name} &&\Rightarrow \ \text {a thing was there to be named} \tag{11686}\\ \mathsf {Sub},\ \mathsf {Cmb}\ &:\ \text {a word} &&\Rightarrow \ \text {a language outside the system} \tag{11687}\\ 1,\ 2,\ 3\ &:\ \text {a numeral} &&\Rightarrow \ \text {a number was there to be denoted} \tag{11688}\end{align}
\begin{equation} \boxed {\text {§199 began with no term; the notation should too}} \tag{11689}\end{equation}

II. Glyphs are generated

Three choices, the same three that generated the sorts of §199.1.




Axis values carries



places one, two, three arity
fill hollow, solid non-strict, strict
enclosure bare, crossed positive, complemented



\begin{equation} \boxed {\text {no glyph is chosen; each is a point in}\ \mathsf {ii}\times \mathsf {iii}\times \mathsf {ii}} \tag{11690}\end{equation}

III. The base




Glyph was reading



\(\mid \) — the act
\(\langle \ \rangle \) \(\neg \) the cross
\(\ \) (void) \(\bot \), \(0\) uncrossed
   
\(\rhd \) \(\mathsf {Sub}\) two places, hollow
\(\blacktriangleright \) \(\mathsf {Jdg}\) two places, solid
\(\pitchfork \) \(\mathsf {Cmb}\) three places
   
\(\Downarrow \) \(\mathsf {Dsp}\) displays
\(\Uparrow \) \(\mathsf {Sec}\) sections
   
\(\smile \) \(\vee \) join
\(\frown \) \(\wedge \) meet
\(\oplus \) \(\oplus \) juxtapose
\(\odot \) \(\otimes \) iterate
   
\(\square \) \(\nu \), \(\mathsf {All}\), \(\Box \) maintained
\(\Diamond \) \(\mu \), \(\mathsf {Ex}\), \(\Diamond \) witnessed



\begin{equation} \boxed {\square ,\ \Diamond \ \text {serve quantifier and modality at once --- §224.2 showed they are one}} \tag{11691}\end{equation}
\begin{equation} \boxed {\rhd \ \text {hollow},\ \blacktriangleright \ \text {solid}: \ \text {strictness is fill, not a conjunct}} \tag{11692}\end{equation}

IV. Variables abolished

A hole, indexed by how many binders up:

\begin{align} \lfloor \mid \rfloor \ &:\ \text {the nearest binder} \tag{11693}\\ \lfloor \mid \mid \rfloor \ &:\ \text {one further} \tag{11694}\\ \lfloor \mid \mid \mid \rfloor \ &:\ \text {two further} \tag{11695}\end{align}
\begin{equation} \boxed {\text {no name; the index is a tally, and a tally is the act repeated}} \tag{11696}\end{equation}
\begin{align} \text {Before}\ &:\ \text {a number is a tally} \tag{11697}\\ \text {here}\ &:\ \text {a variable is a number} \tag{11698}\\ \Rightarrow \quad &\text {a variable is the act repeated} \tag{11699}\end{align}
\begin{equation} \boxed {\alpha \text {-conversion is vacuous: there is nothing to rename}} \tag{11700}\end{equation}

V. Numerals

\begin{align} \ \ &=\ \text {void} \tag{11701}\\ \mid &=\ \text {one} \tag{11702}\\ \mid \mid &=\ \text {two} \tag{11703}\\ \mid \mid \mid &=\ \text {three} \tag{11704}\end{align}
\begin{equation} \boxed {\text {Roman}\ \mathsf {i},\mathsf {ii},\mathsf {iv}, \mathsf {viii}\ \text {were letters; these are not}} \tag{11705}\end{equation}
\begin{equation} \text {Hurwitz:}\qquad \bigl (\lfloor \mid \rfloor \ominus \mid \bigr )\odot \bigl (\lfloor \mid \rfloor \ominus \mid \mid \bigr )\odot \bigl (\lfloor \mid \rfloor \ominus \mid ^{4}\bigr )\odot \bigl (\lfloor \mid \rfloor \ominus \mid ^{8}\bigr )=\ \ \tag{11706}\end{equation}

VI. The seeds, rewritten

\begin{align} \textbf {(C1)}\qquad \langle \ \rangle \,\langle \ \rangle &= \langle \ \rangle \tag{11707}\\ \textbf {(C2)}\qquad \bigl \langle \langle \ \rangle \bigr \rangle &= \ \ \tag{11708}\end{align}
\begin{equation} \boxed {\text {§199 was already letterless; it is the only earlier seed that was}} \tag{11709}\end{equation}
\begin{align} \textbf {(R)}\qquad &\text {rearrangement}\ \Rightarrow \ \doteq &&\text {no argument to write} \tag{11710}\\ \textbf {(A)}\qquad &(\ast \ast )\ast =\ast (\ast \ast ) &&\text {three slots, unnamed} \tag{11711}\end{align}

VII. The base axioms

\begin{align} \textbf {(U0)}\quad & \lfloor \mid \rfloor \ \rhd \ \lfloor \mid \rfloor \tag{11712}\\ \textbf {(U1)}\quad & \lfloor \mid \rfloor \rhd \lfloor \mid \mid \rfloor \ \wedge \ \lfloor \mid \mid \rfloor \rhd \lfloor \mid \mid \mid \rfloor \ \Rightarrow \ \lfloor \mid \rfloor \rhd \lfloor \mid \mid \mid \rfloor \tag{11713}\\ \textbf {(U2)}\quad & \lfloor \mid \rfloor \rhd \lfloor \mid \mid \rfloor \ \wedge \ \lfloor \mid \mid \rfloor \rhd \lfloor \mid \rfloor \ \Rightarrow \ \lfloor \mid \rfloor =\lfloor \mid \mid \rfloor \tag{11714}\\ \textbf {(U3)}\quad & \pitchfork \bigl (\lfloor \mid \rfloor ,\lfloor \mid \mid \rfloor , \lfloor \mid \mid \mid \rfloor \bigr ) \wedge \pitchfork \bigl (\lfloor \mid \rfloor ,\lfloor \mid \mid \rfloor , \lfloor \mid ^{4}\rfloor \bigr ) \Rightarrow \lfloor \mid \mid \mid \rfloor =\lfloor \mid ^{4}\rfloor \tag{11715}\\ \textbf {(U5)}\quad & \pitchfork \bigl (\lfloor \mid \rfloor ,\lfloor \mid \mid \rfloor , \lfloor \mid \mid \mid \rfloor \bigr ) \Rightarrow \lfloor \mid \rfloor \rhd \lfloor \mid \mid \mid \rfloor \tag{11716}\end{align}
\begin{equation} \boxed {\text {the grading, letterless:}\qquad \lnot \bigl (\lfloor \mid \rfloor \blacktriangleright \lfloor \mid \rfloor \bigr )} \tag{11717}\end{equation}

VIII. A derivation, no letters

Irreflexivity of the strict relation:

\begin{align} \blacktriangleright \ &=\ \rhd \ \wedge \ \neq &&\text {fill is strictness} \tag{11718}\\ \lfloor \mid \rfloor \blacktriangleright \lfloor \mid \rfloor \ &\Rightarrow \ \lfloor \mid \rfloor \neq \lfloor \mid \rfloor \ \Rightarrow \ \ \ \tag{11719}\end{align}
\begin{equation} \boxed {\lnot \bigl (\lfloor \mid \rfloor \blacktriangleright \lfloor \mid \rfloor \bigr )} \tag{11720}\end{equation}
Transitivity of the strict relation:
\begin{align} \textbf {(U1)}\ &\Rightarrow \ \lfloor \mid \rfloor \rhd \lfloor \mid \mid \mid \rfloor \tag{11721}\\ \lfloor \mid \rfloor =\lfloor \mid \mid \mid \rfloor \ &\Rightarrow \ \textbf {(U2)}\ \Rightarrow \ \lfloor \mid \rfloor =\lfloor \mid \mid \rfloor \ \Rightarrow \ \ \ \tag{11722}\end{align}
\begin{equation} \boxed {\lfloor \mid \rfloor \blacktriangleright \lfloor \mid \mid \rfloor \ \wedge \ \lfloor \mid \mid \rfloor \blacktriangleright \lfloor \mid \mid \mid \rfloor \ \Rightarrow \ \lfloor \mid \rfloor \blacktriangleright \lfloor \mid \mid \mid \rfloor } \tag{11723}\end{equation}

IX. Sorts, drawn

\begin{align} \langle \ \rangle \ &:\ \text {individuals} &&\text {order}\ \mid \tag{11724}\\ \langle \langle \ \rangle \rangle \ &:\ \text {properties} &&\text {order}\ \mid \mid \tag{11725}\\ \langle \langle \ \rangle ,\langle \langle \ \rangle \rangle \rangle \ &:\ \text {mixed} &&\text {order}\ \mid \mid \mid \tag{11726}\end{align}
\begin{equation} \boxed {\text {a sort is drawn, not named; its order is its drawn depth}} \tag{11727}\end{equation}
\begin{equation} \boxed {\text {the counts}\ \mid ,\ \mid \mid ,\ \mid ^{7},\ \mid ^{56}\ \text {of §199.1 are lengths of a tally}} \tag{11728}\end{equation}

XI. Identification

\begin{equation} \boxed { \begin {array}{lll} \text {a letter} & \text {a name} & \text {removed}\\ \text {a variable} & \hole {\act \cdots } & \text {a tally, de Bruijn}\\ \alpha \text {-conversion} & --- & \text {vacuous}\\ \text {a numeral} & \act \act \act & \text {the act repeated}\\ \mathsf {Sub} & \rhd & \text {hollow}\\ \mathsf {Jdg} & \blacktriangleright & \text {solid}\\ \mathsf {Cmb} & \pitchfork & \text {three places}\\ \neg & \cross {\ } & \text {the cross}\\ \nu ,\ \mathsf {All},\ \Box & \square & \text {one glyph}\\ \mu ,\ \mathsf {Ex},\ \Diamond & \Diamond & \text {one glyph}\\ \text {a sort} & \text {nested crosses} & \text {drawn}\\ \text {an order} & \text {drawn depth} & \text {counted} \end {array}} \tag{11729}\end{equation}
\begin{equation} \boxed {\text {every glyph is the act, its fill, and its enclosure}} \tag{11730}\end{equation}

202.1 Binding without Renaming

I. Alpha-conversion is (R)

\begin{align} \rho \ &:\ \text {a permutation of names} &&\text {a rearrangement} \tag{11731}\\ \textbf {(R)}\ &\Rightarrow \ \rho (t)\doteq t \tag{11732}\end{align}
\begin{equation} \boxed {\alpha \text {-equivalence is not a relation to be defined; it is \textbf {(R)} at the names}} \tag{11733}\end{equation}
\begin{equation} \boxed {\text {the question is not ``how to check it'' but ``which response to a group action''}} \tag{11734}\end{equation}

II. Four responses





Response to the action notation elsewhere in this work




1. pick a representative normalise de Bruijn \(\mathrm {nf}\)
2. remove the group eliminate combinators §219.3, free objects
3. stay equivariant never choose nominal \(\mathsf {Cg}\), §219.3 Step 7
4. the orbit is the object take it as primitive wires \(\approx \), §199.2




\begin{equation} \boxed {\text {a fifth instance of the same four-way choice this work keeps making about quotients}} \tag{11735}\end{equation}

III. Compute \(\lambda x.\lambda y.x\)

\begin{align} \text {named}\quad &\lambda x.\lambda y.x\ =\ \lambda z.\lambda w.z &&\text {a check is required} \tag{11736}\\[3pt] \text {index}\quad &\lambda \lambda \,\hole {\act \act } &&\text {count outward from the use} \tag{11737}\\[3pt] \text {level}\quad &\lambda \lambda \,\lceil \act \rceil &&\text {count inward from the root} \tag{11738}\\[3pt] \text {combinator}\quad &\mathsf {K} &&\text {no binder} \tag{11739}\\[3pt] \text {wire}\quad &\text {one edge, outer binder to leaf} &&\text {no name} \tag{11740}\end{align}
\begin{equation} \boxed {\text {four of the five are canonical; only the first needs checking}} \tag{11741}\end{equation}

IV. Floor and ceiling

\begin{equation} \boxed {\hole {\ }\ \text {counts from the inside}; \qquad \lceil \ \rceil \ \text {counts from the outside}} \tag{11742}\end{equation}
\begin{align} \Gamma &=x_1,\dots ,x_n &&x_1\ \text {outermost} \tag{11743}\\ \hole {x_i}&=n\ominus i\oplus \act &&\text {index} \tag{11744}\\ \lceil x_i\rceil &=i &&\text {level} \tag{11745}\end{align}
\begin{equation} \boxed {\hole {x}\ \oplus \ \lceil x\rceil \ =\ \lvert \Gamma \rvert \oplus \act } \label {eq:frameconserve} \tag{11746}\end{equation}

Check.

\begin{align} \lambda x.\lambda y.x,\quad n=\act \act \tag{11747}\\ x:\quad \lceil \act \rceil \oplus \hole {\act \act } &=\act \oplus \act \act =\act \act \act \quad \checkmark \tag{11748}\\ y:\quad \lceil \act \act \rceil \oplus \hole {\act } &=\act \act \oplus \act =\act \act \act \quad \checkmark \tag{11749}\end{align}
\begin{equation} \boxed {\text {index and level are two origins; (11746) is the change of frame}} \tag{11750}\end{equation}
\begin{equation} \boxed {\text {shifting is a translation; the context length is the conserved charge --- §65}} \tag{11751}\end{equation}

V. What each notation is stable under

\begin{align} \Gamma =z;\qquad \lambda x.\,(x\,z)\quad &\text {index}:\ \lambda \,\hole {\act }\,\hole {\act \act } \tag{11752}\\ &\text {level}:\ \lambda \,\lceil \act \act \rceil \,\lceil \act \rceil \tag{11753}\end{align}

Now place it under one more binder:

\begin{align} \lambda w.\lambda x.\,(x\,z)\quad &\text {index}:\ \lambda \lambda \,\hole {\act }\, \hole {\act \act \act } &&z\ \text {shifted} \tag{11754}\\ &\text {level}:\ \lambda \lambda \,\lceil \act \act \act \rceil \, \lceil \act \rceil &&z\ \text {unchanged} \tag{11755}\end{align}




shifts when stable when



\(\hole {\ }\) index the term goes under a binder the term is closed
\(\lceil \ \rceil \) level the term moves deeper the context only grows



\begin{equation} \boxed {\text {neither is better; they are stable for dual classes}} \tag{11756}\end{equation}
\begin{equation} \boxed {\text {syntax}\ \Rightarrow \ \hole {\ }; \qquad \text {values}\ \Rightarrow \ \lceil \ \rceil ; \qquad \text {use both, and (11746) converts}} \tag{11757}\end{equation}

VI. The wire is the invariant

figure

\begin{align} \text {a binder}\ &:\ \text {a node} \tag{11758}\\ \text {an occurrence}\ &:\ \text {an edge to it} \tag{11759}\\ \alpha \text {-equivalence}\ &:\ \text {identity of graphs} \tag{11760}\end{align}
\begin{equation} \boxed {\text {nothing is renamed because nothing is named}} \tag{11761}\end{equation}
\begin{equation} \boxed {\text {capture is a crossing that cannot be drawn; avoidance is not a side condition}} \tag{11762}\end{equation}
\begin{align} \hole {\ },\ \lceil \ \rceil \ &:\ \text {coordinates on the wire} \tag{11763}\\ \text {the wire}\ &:\ \text {the object} \tag{11764}\\ (11746)\ &:\ \text {the two coordinates of one edge} \tag{11765}\end{align}
\begin{equation} \boxed {\text {index and level are charts; the wire is the manifold}} \tag{11766}\end{equation}

VII. Substitution, computed

\begin{align} (\lambda \,\hole {\act })\,N \ &\rightsquigarrow \ N &&\text {no shift} \tag{11767}\\ (\lambda \lambda \,\hole {\act \act })\,N \ &\rightsquigarrow \ \lambda \,\shift {N} &&\text {shift }N\ \text {by}\ \act \tag{11768}\end{align}
\begin{align} \text {index}\ &:\ \text {shift}\ N &&\text {one traversal} \tag{11769}\\ \text {level}\ &:\ \text {no shift of}\ N\text {'s free part} &&\text {but renumber its bound part} \tag{11770}\\ \text {wire}\ &:\ \text {reconnect edges} &&\text {no arithmetic} \tag{11771}\\ \text {combinator}\ &:\ \text {rewrite} &&\text {no substitution at all} \tag{11772}\end{align}
\begin{equation} \boxed {\mathsf {K}\,x\,y\rightsquigarrow x, \qquad \mathsf {S}\,x\,y\,z\rightsquigarrow x\,z\,(y\,z)} \tag{11773}\end{equation}
\begin{equation} \boxed {\text {response 2 pays in size what it saves in binding}} \tag{11774}\end{equation}

VIII. The display reading

From §282:

\begin{align} \Gamma .p\ &:\ \text {context extension} \tag{11775}\\ \mathrm {q}\ &:\ \text {the last projection} &&=\ \hole {\act } \tag{11776}\\ \mathrm {p}\ &:\ \text {weakening} &&=\ \text {the shift} \tag{11777}\\ \hole {\act \act }&=\mathrm {q}\circ \mathrm {p} \tag{11778}\end{align}
\begin{equation} \boxed {\text {an index is a composite of projections; the tally is how many weakenings}} \tag{11779}\end{equation}
\begin{equation} \boxed {\text {substitution is}\ p[f]\ \text {--- pullback, Prop.~282.1}} \tag{11780}\end{equation}
\begin{align} \text {§282}\ &:\ \text {substitution} =\text {pullback}=\text {separation} \tag{11781}\\ \text {here}\ &:\ \text {and}=\text {capture-avoiding substitution} \tag{11782}\end{align}

IX. Choose






canonical readable substitution size





named no yes side condition small
\(\hole {\ }\) index yes no shift small
\(\lceil \ \rceil \) level yes no renumber small
nominal no yes equivariant small
wire yes yes reconnect small
combinator yes no none large
projection yes no pullback small





\begin{equation} \boxed { \begin {array}{ll} \text {on the page:} & \text {wire}\\ \text {in the text:} & \hole {\ }\ \text {with}\ \lceil \ \rceil \ \text {where the context grows}\\ \text {in the metatheory:} & \text {projection} \end {array}} \tag{11783}\end{equation}

XI. Identification

\begin{equation} \boxed { \begin {array}{lll} \alpha \text {-conversion} & \textbf {(R)}\ \text {at names} & \text {not a defect}\\ \text {the four fixes} & \text {four responses to an action} & \text {II}\\ \hole {\ } & \text {index, from inside} & \text {floor}\\ \lev {\ } & \text {level, from outside} & \text {ceiling}\\ \hole {x}\oplus \lev {x} & \lvert \Gamma \rvert \oplus \act & \text {conservation}\\ \text {shift} & \text {a translation} & \text {§65}\\ \text {wire} & \text {the invariant} & \text {the other two are charts}\\ \text {capture} & \text {undrawable} & \text {no side condition}\\ \hole {\act } & \mathrm {q} & \text {projection}\\ \text {shift} & \mathrm {p} & \text {weakening}\\ \text {substitution} & p[f] & \text {pullback}\\ \text {combinator} & \text {no binder} & \text {size cost} \end {array}} \tag{11784}\end{equation}
\begin{equation} \boxed {\text {a variable is not a name but a distance}; \quad \text {and a distance needs an origin}} \tag{11785}\end{equation}

202.2 The Binary Alternative without Sets: Five Computations of \(x\in \{A,\neg A\}\)

Thesis. The expression \(x\in \{A,\neg A\}\) writes one claim in two pieces of apparatus that are not needed for it: a brace-term naming a completed pair, and a membership relation testing against it. The claim is that \(x\) is settled one way or the other, and it survives all five eliminations below — as a computation on a projector, as a normalisation, as a bounded search, as a fixed point, and as an equation in \(\mathbb {F}_2\). All five agree on their values, and the last is the shortest: \(x\in \{A,\neg A\}\) is \(x\ast x=x\).

Step 0: What the notation bundles
\begin{equation} x\in \{A,\neg A\} \quad \text {requires}\quad \begin {cases} \{\cdot ,\cdot \} & \text {a pairing into a completed object}\\ \in & \text {a membership relation}\\ \neg A & \text {a complement, presupposing } A \end {cases} \tag{11786}\end{equation}




Component what it asserts where it goes



\(\{A,\neg A\}\) the two alternatives, assembled a two-clause grammar (Step 1)
\(\in \) \(x\) is one of them a computation returning a mark (Steps 2–5)
exhaustiveness there is no third the grammar has two clauses
exclusivity not both \(\mathsf {Jdg}\) irreflexivity



The content is exhaustiveness and exclusivity. Neither requires the pair to be an object, and neither requires a relation between \(x\) and that object.

Step 1: The alternative as a grammar
\begin{equation} v::=\mathsf {o}\ \mid \ \mathsf {u} \label {eq:Vgrammar} \tag{11787}\end{equation}
— two clauses, read as the occupied and the unoccupied side of the partition. There is no term \(\{A,\neg A\}\) and none is wanted: the brace was a name for the fact that (11787) has exactly these two clauses, and that fact is visible in the grammar itself.
\begin{equation} \boxed {\{A,\neg A\}\ \longrightarrow \ \text {a two-clause grammar}; \qquad x\in \{A,\neg A\}\ \longrightarrow \ \text {a computation on } x.} \tag{11788}\end{equation}
Complement is the swap, a total function by exhaustiveness of the two clauses:
\begin{equation} \mathrm {sw}(\mathsf {o})=\mathsf {u}, \qquad \mathrm {sw}(\mathsf {u})=\mathsf {o}, \qquad \mathrm {sw}\bigl (\mathrm {sw}(v)\bigr )=v . \tag{11789}\end{equation}
Computation 1: the projector
Step 2

Let \(\Pi \) be the term former with the single scheme

\begin{equation} \textbf {(B1)}\qquad \Pi \bigl (\Pi (x)\bigr )=\Pi (x), \label {eq:idem} \tag{11790}\end{equation}
one instance per term. Define
\begin{equation} \boxed {\mathsf {Bin}(x):\equiv \Pi (x)=x .} \label {eq:bin} \tag{11791}\end{equation}
This is the whole of \(x\in \{A,\neg A\}\): \(x\) is settled exactly when it is a fixed point of the projection.

Worked computation. Take \(x\) with \(\Pi (x)=y\) and \(y\neq x\). Then

\begin{equation} \Pi (y)=\Pi \bigl (\Pi (x)\bigr )=\Pi (x)=y \quad \text {by (11790)}, \tag{11792}\end{equation}
so \(\mathsf {Bin}(y)\) holds and \(\mathsf {Bin}(x)\) fails — one application settles the question, and it settles it in one step for every \(x\). The two settled values are
\begin{equation} \Pi (\mathsf {o})=\mathsf {o}, \qquad \Pi (\mathsf {u})=\mathsf {u}, \qquad \boxed {\mathsf {Bin}(\mathsf {o})\ \checkmark \quad \mathsf {Bin}(\mathsf {u})\ \checkmark } \tag{11793}\end{equation}
and \(\mathrm {sw}\) exchanges them without leaving the fixed points: \(\Pi (\mathrm {sw}(v))=\mathrm {sw}(v)\) for both clauses.

Proposition 202.1 (Exhaustive and exclusive). For every term \(v\) of (11787): \(\mathsf {Bin}(v)\) holds, and \(v\neq \mathrm {sw}(v)\).

Proof. Two clauses, two computations, both displayed above. Exclusivity: if \(v=\mathrm {sw}(v)\) then applying \(\mathrm {sw}\) gives \(\mathrm {sw}(v)=v\) and hence \(\mathsf {Jdg}(v,v)\) under the grading of Section 224, against Proposition 224.2. □

\begin{equation} \boxed {\text {tertium non datur}=\text {the grammar has two clauses}.} \tag{11794}\end{equation}
Computation 2: normalisation
Step 3

Orient (11790) as a rewrite rule and add the swap rules:

\begin{equation} \Pi (\Pi (x))\rightsquigarrow \Pi (x), \qquad \mathrm {sw}(\mathrm {sw}(x))\rightsquigarrow x, \qquad \Pi (\mathrm {sw}(x))\rightsquigarrow \mathrm {sw}(\Pi (x)). \tag{11795}\end{equation}

Proposition 202.2 (Two normal forms). The system is confluent and terminating, and every closed term of (11787) extended by \(\Pi ,\mathrm {sw}\) has normal form \(\mathsf {o}\) or \(\mathsf {u}\).

Proof. Termination: each rule strictly decreases the number of symbols. Confluence: the two critical pairs, between the first and third rules and between the second and third, join in one step. Newman’s lemma applies. The normal forms contain no \(\Pi \) and no doubled \(\mathrm {sw}\), hence are \(\mathsf {o}\) or \(\mathsf {u}\). □

\begin{equation} \boxed {x\in \{A,\neg A\} \ \longrightarrow \ \mathrm {nf}(x)\in \{\mathsf {o},\mathsf {u}\} \ \longrightarrow \ \mathrm {nf}(x)=\mathsf {o}\ \text {or}\ \mathrm {nf}(x)=\mathsf {u},} \tag{11796}\end{equation}
a disjunction of two equations between strings, decided by comparing them. No membership relation is used in the final form; the brace in the middle expression is metatheoretic shorthand and disappears in the right-hand one.

Worked computation.

\begin{equation} \Pi \bigl (\mathrm {sw}(\Pi (\mathrm {sw}(\mathsf {o})))\bigr ) \rightsquigarrow \mathrm {sw}\bigl (\Pi (\Pi (\mathrm {sw}(\mathsf {o})))\bigr ) \rightsquigarrow \mathrm {sw}\bigl (\Pi (\mathsf {u})\bigr ) \rightsquigarrow \mathrm {sw}(\mathsf {u}) \rightsquigarrow \mathsf {o}. \tag{11797}\end{equation}
\begin{equation} \boxed {\text {settled, value }\mathsf {o}\quad \checkmark } \tag{11798}\end{equation}
Computation 3: bounded search on a generator
Step 4

With the collection grammar of (11609), the alternative is a two-element generator:

\begin{equation} K_A:\equiv \mathrm {cns}\bigl (A,\mathrm {cns}(\mathrm {sw}(A), \mathrm {nil})\bigr ), \tag{11799}\end{equation}
and the claim is the bounded existential of (11617):
\begin{equation} \boxed {x\in \{A,\neg A\} \ \longrightarrow \ \mathsf {Ex}\bigl (\mathrm {eq}(x,\cdot ),K_A\bigr ).} \tag{11800}\end{equation}

Proposition 202.3 (Decidable in two steps). \(\mathsf {Ex}(\mathrm {eq}(x,\cdot ),K_A)\) terminates after at most two applications of \(\mathrm {tl}\).

Proof. \(\mathrm {hd}(K_A)=A\); if \(\mathrm {nf}(x)=\mathrm {nf}(A)\) the search halts. Otherwise \(\mathrm {tl}(K_A)=\mathrm {cns}(\mathrm {sw}(A), \mathrm {nil})\) and the same test applies; otherwise \(\mathrm {tl}^2(K_A)=\mathrm {nil}\) and \(\mathrm {E}(\mathrm {hd})\) fails, so the \(\mu \) of (11617) closes with failure. □

Here the \(\mu \) never diverges, because the generator is finite — the one case in which existential and universal cost the same, as recorded in the first row of the table of Step 11 of Section 199.2. Correspondingly the universal reading is available too:

\begin{equation} \mathsf {All}\bigl (\mathrm {dis}(\mathrm {eq}(\cdot ,A), \mathrm {eq}(\cdot ,\mathrm {sw}(A))),K_A\bigr ) \quad \text {holds}, \tag{11801}\end{equation}
and \(\nu \) terminates for the same reason.
Computation 4: fixed point of the swap
Step 5

A fourth route uses no auxiliary structure at all. Being one of the two alternatives is being reached by the swap from the other:

\begin{equation} \boxed {\mathsf {Bin}(x):\equiv \bigl (\mu Y.\ \lambda z.\ z=A\ \vee \ Y(\mathrm {sw}(z))\bigr )(x),} \tag{11802}\end{equation}
guarded because \(\mathrm {sw}\) strictly alternates. The least fixed point is reached in at most two unfoldings, since \(\mathrm {sw}(\mathrm {sw}(x))=x\) closes the orbit:
\begin{equation} x=A \quad \vee \quad \mathrm {sw}(x)=A \quad \vee \quad \mathrm {sw}(\mathrm {sw}(x))=A\ \text {[= first disjunct]}, \tag{11803}\end{equation}
so the search is the two-element orbit of \(\mathrm {sw}\) and the third disjunct adds nothing.
\begin{equation} \boxed {x\in \{A,\neg A\} \ \longleftrightarrow \ x=A\ \vee \ \mathrm {sw}(x)=A .} \tag{11804}\end{equation}
The right-hand side is a disjunction of two equations. This is the shortest form that mentions \(A\) explicitly, and it makes plain that the brace was carrying an orbit, not a container.
Computation 5: the equation in \(\mathbb {F}_2\)
Step 6

Take the two-element structure with \(\ast \) the product and \(+\) the sum, subject to

\begin{equation} \textbf {(F1)}\ x\ast x=x, \qquad \textbf {(F2)}\ x+x=\mathsf {u}, \qquad \textbf {(F3)}\ \mathrm {sw}(x)=x+\mathsf {o}. \tag{11805}\end{equation}

Proposition 202.4 (The alternative is idempotence). \(\mathsf {Bin}(x)\leftrightarrow x\ast x=x\), and \(x\ast \mathrm {sw}(x)=\mathsf {u}\), \(x+\mathrm {sw}(x)=\mathsf {o}\).

Proof. Both values satisfy (F1) by the two clauses of (11787). For the second identity, \(x\ast (x+\mathsf {o})=x\ast x+x\ast \mathsf {o}=x+x=\mathsf {u}\) by (F1) and (F2). For the third, \(x+(x+\mathsf {o})=(x+x)+\mathsf {o}=\mathsf {u}+\mathsf {o}=\mathsf {o}\). □

\begin{equation} \boxed {x\in \{A,\neg A\} \quad \longrightarrow \quad x\ast x=x .} \tag{11806}\end{equation}
Exhaustiveness is (F1) holding of every term; exclusivity is \(x\ast \mathrm {sw}(x)=\mathsf {u}\), the two sides sharing nothing; and completeness of the partition is \(x+\mathrm {sw}(x)=\mathsf {o}\), the two sides summing to the whole. The three facts that the brace notation bundled are three equations, each of one line.

Worked computation. For \(x=\mathsf {o}\): \(\mathsf {o}\ast \mathsf {o}=\mathsf {o}\) by (F1), so settled; \(\mathrm {sw}(\mathsf {o})=\mathsf {o}+\mathsf {o}=\mathsf {u}\) by (F2) and (F3); and \(\mathsf {o}\ast \mathsf {u}=\mathsf {u}\), \(\mathsf {o}+\mathsf {u}=\mathsf {o}\).

\begin{equation} \boxed {\text {exhaustive, exclusive, complete}\quad \checkmark } \tag{11807}\end{equation}
Step 7: The five agree





form of the claim apparatus cost




1. projector \(\Pi (x)=x\) one scheme (B1) one application
2. normalisation \(\mathrm {nf}(x)=\mathsf {o}\) or \(\mathsf {u}\) three rewrite rules terminating
3. generator \(\mathsf {Ex}(\mathrm {eq}(x,\cdot ),K_A)\) (11609) two steps
4. orbit \(x=A\vee \mathrm {sw}(x)=A\) \(\mathrm {sw}\) alone two unfoldings
5. \(\mathbb {F}_2\) \(x\ast x=x\) two operations one equation




Proposition 202.5 (Equivalence). The five conditions hold of the same terms.

Proof. \(1\leftrightarrow 5\): (B1) and (F1) are the same scheme under \(\Pi (x):=x\ast x\), since \(\Pi (\Pi (x))=(x\ast x)\ast (x\ast x)=x\ast x\) by associativity and (F1). \(1\leftrightarrow 2\): a term is a fixed point of \(\Pi \) exactly when \(\Pi \) does not appear in its normal form, by Proposition 202.2. \(2\leftrightarrow 4\): the normal forms are the two elements of the \(\mathrm {sw}\)-orbit of \(A\). \(4\leftrightarrow 3\): the orbit is exactly what \(K_A\) yields, and Proposition 202.3 matches the two unfoldings. □

\begin{equation} \boxed {\text {five computations, one claim, no membership}.} \tag{11808}\end{equation}
Step 8: What the brace was doing



In \(x\in \{A,\neg A\}\) After elimination


\(\{\cdot ,\cdot \}\) two clauses of (11787)
\(\in \) a computation returning a value
“exactly one” \(x\ast \mathrm {sw}(x)=\mathsf {u}\)
“at least one” \(x+\mathrm {sw}(x)=\mathsf {o}\)
“no third” the grammar has no third clause
\(\neg \neg A=A\) \(\mathrm {sw}(\mathrm {sw}(v))=v\)


Excluded middle, non-contradiction, and double negation are three computations on a two-clause grammar, and none of them is a statement about a set.

Step 9: Summary
\begin{equation} \boxed { \begin {array}{lcl} \{A,\neg A\} & \longrightarrow & v::=\mathsf {o}\mid \mathsf {u}\\ \neg A & \longrightarrow & \mathrm {sw}(A)\\ x\in \{A,\neg A\} & \longrightarrow & \Pi (x)=x\ \ \text {(1)}\\ & \longrightarrow & \mathrm {nf}(x)=\mathsf {o}\ \vee \ \mathrm {nf}(x)=\mathsf {u} \ \ \text {(2)}\\ & \longrightarrow & \mathsf {Ex}(\mathrm {eq}(x,\cdot ),K_A)\ \ \text {(3)}\\ & \longrightarrow & x=A\ \vee \ \mathrm {sw}(x)=A\ \ \text {(4)}\\ & \longrightarrow & x\ast x=x\ \ \text {(5)}\\ \text {exclusivity} & \longrightarrow & x\ast \mathrm {sw}(x)=\mathsf {u}\\ \text {exhaustiveness} & \longrightarrow & x+\mathrm {sw}(x)=\mathsf {o} \end {array}} \tag{11809}\end{equation}

The binary alternative is the smallest place where set notation is usually reached for, and it is the place where the reach is least necessary. Writing \(x\in \{A,\neg A\}\) assembles two alternatives into an object and then tests against it, but the test does not consult the object: it consults \(x\). Each of the five computations above consults \(x\) directly — by projecting it, by reducing it, by matching it against a two-element generator, by walking the orbit of the swap, or by squaring it — and each returns the same answer in a bounded number of steps, with no membership relation and no completed pair anywhere in the statement. The last is the shortest and is the one to carry forward: the claim that \(x\) is settled one way or the other is the claim that \(x\) is idempotent, and exclusivity and exhaustiveness are the two products of \(x\) with its swap.

\begin{equation} \boxed {x\in \{A,\neg A\} \quad =\quad x\ast x=x .} \tag{11810}\end{equation}

202.3 Domain Theory: Reflexivity and Fixed Points from \(A=A\)

Domain theory [222] — the mathematics of recursion and computation — rests on the same \(A=A\). The reflexivity \(x\sqsubseteq x\) of the partial order is \(A=A\); antisymmetry collapses mutual approximation to equality; and the fixed-point equation \(f(\mathrm {fix}(f))=\mathrm {fix}(f)\) is the left\(=\)right principle that makes recursion well-defined. The least fixed point is where the computation reaches \(x=x\).

I. Partial order axioms

A partial order \((\sqsubseteq )\) is defined by three axioms, the first of which is \(A=A\):

\begin{equation} \boxed {x\sqsubseteq x} \;\Longleftrightarrow \; \mathrm {Reflexivity}, \tag{11811}\end{equation}
\begin{equation} \boxed {x\sqsubseteq y\;\land \;y\sqsubseteq x\Longrightarrow x=y} \;\Longleftrightarrow \; \mathrm {Antisymmetry}, \tag{11812}\end{equation}
\begin{equation} \boxed {x\sqsubseteq y\;\land \;y\sqsubseteq z\Longrightarrow x\sqsubseteq z} \;\Longleftrightarrow \; \mathrm {Transitivity}. \tag{11813}\end{equation}
\begin{equation} \boxed {(\sqsubseteq )\text { is a partial order} \iff \{\mathrm {Reflexivity},\mathrm {Antisymmetry},\mathrm {Transitivity}\}.} \tag{11814}\end{equation}
Reflexivity \(x\sqsubseteq x\) is \(A=A\) in order-theoretic form: every element approximates itself. Antisymmetry is the converse gate — mutual approximation \(x\sqsubseteq y\land y\sqsubseteq x\) collapses to genuine equality \(x=y\), recovering \(A=A\) from two inequalities.

Remark on antisymmetry vs symmetry. The second axiom is antisymmetry, not symmetry. Symmetry (\(x\sqsubseteq y\Rightarrow y\sqsubseteq x\)) is generally false for a partial order; it is antisymmetry that yields \(x=y\).

II. Complete partial order and continuity

A pointed CPO has a least element \(\bot \) approximating everything:

\begin{equation} \bot \sqsubseteq x\quad (\forall x\in D), \tag{11815}\end{equation}
and directed suprema exist: for a directed set \(\Delta \subseteq D\), \(\bigsqcup \Delta \) exists. A function \(f:D\to D\) is (Scott-)continuous when it preserves directed suprema:
\begin{equation} \boxed {f\!\left (\bigsqcup \Delta \right )=\bigsqcup f(\Delta ).} \tag{11816}\end{equation}
III. Kleene fixed-point theorem

For a continuous \(f:D\to D\) on a pointed CPO, the least fixed point is the supremum of the iterates from \(\bot \):

\begin{equation} \boxed {\mathrm {fix}(f)=\bigsqcup _{n\geq 0}f^n(\bot ).} \tag{11817}\end{equation}

The fixed-point equation is left\(=\)right.

\begin{equation} \boxed {f(\mathrm {fix}(f))=\mathrm {fix}(f).} \tag{11818}\end{equation}
Proof by continuity:
\begin{equation} f\!\left (\bigsqcup _{n\geq 0}f^n(\bot )\right ) =\bigsqcup _{n\geq 0}f^{n+1}(\bot ) =\bigsqcup _{n\geq 0}f^n(\bot ), \tag{11819}\end{equation}
where the last step uses \(\bot \sqsubseteq f(\bot )\) so that adding the \(n=0\) term \(\bot \) does not change the supremum. The fixed-point equation \(f(x)=x\) is exactly \(A=A\): the point where applying \(f\) returns the same element.
IV. Worked example

Let \(D=\mathbb {N}\cup \{\infty \}\) with the usual order, and

\begin{equation} f(x)=\min (x+1,\infty ), \qquad \bot =0. \tag{11820}\end{equation}
The iterates are:
\begin{equation} f^0(\bot )=0,\quad f^1(\bot )=1,\quad f^2(\bot )=2,\quad \ldots ,\quad f^n(\bot )=n. \tag{11821}\end{equation}
The least fixed point is the supremum:
\begin{equation} \boxed {\mathrm {fix}(f)=\bigsqcup _{n\geq 0}f^n(\bot ) =\sup \{0,1,2,\ldots \}=\infty .} \tag{11822}\end{equation}
Verification that it is a fixed point:
\begin{equation} f(\mathrm {fix}(f))=f(\infty )=\min (\infty +1,\infty )=\infty =\mathrm {fix}(f), \tag{11823}\end{equation}
\begin{equation} \boxed {f(\mathrm {fix}(f))=f(\infty )=\infty =\mathrm {fix}(f)} \;\Longrightarrow \; \boxed {\infty =\infty .} \tag{11824}\end{equation}
The fixed-point verification terminates in the bare identity \(\infty =\infty \) — \(A=A\).
Result



Domain concept \(A=A\) realisation


Reflexivity \(x\sqsubseteq x\)
Antisymmetry \(x\sqsubseteq y\land y\sqsubseteq x\Rightarrow x=y\)
Fixed point \(f(\mathrm {fix}(f))=\mathrm {fix}(f)\)
Verification \(\infty =\infty \)


\begin{equation} \boxed { A=A \;\Longrightarrow \; \begin {cases} x\sqsubseteq x & \text {(reflexivity)}\\ x\sqsubseteq y\land y\sqsubseteq x\Rightarrow x=y & \text {(antisymmetry)}\\ f(\mathrm {fix}(f))=\mathrm {fix}(f) & \text {(fixed point)} \end {cases} } \tag{11825}\end{equation}
Domain theory is the mathematics of computation and recursion, and it too rests on \(A=A\). Reflexivity \(x\sqsubseteq x\) is \(A=A\) ordered; antisymmetry recovers \(x=y\) from mutual approximation; and the fixed-point equation \(f(\mathrm {fix}(f))=\mathrm {fix}(f)\) — the semantic meaning of a recursive definition — is the left\(=\)right principle, terminating in \(\infty =\infty \). A recursive program’s meaning is the element where \(f(x)=x\): the point at which computation reaches self-identity. Recursion is \(A=A\) reached in the limit of iteration.

202.4 Preorders, groups, matrices, and numbers are one left\(=\)right structure

Composition and inverse across preorders, groups, matrix groups, fields, and identity types are all the same left\(=\)right statement. The middle object must match (\(y=y\)) for composition, and the inverse composed with its element returns the identity (\(a=a\)).

Preorder composition. For \(x\sqsubseteq y\) and \(y\sqsubseteq z\), the codomain of the first matches the domain of the second:

\begin{equation} \boxed {\operatorname {cod}(x\sqsubseteq y)=y=\operatorname {dom}(y\sqsubseteq z),} \qquad \boxed {y=y.} \tag{11826}\end{equation}
Composition is transitivity:
\begin{equation} (x\sqsubseteq y)\circ (y\sqsubseteq z)=(x\sqsubseteq z), \qquad (x\sqsubseteq y)\wedge (y\sqsubseteq z)\Longrightarrow (x\sqsubseteq z). \tag{11827}\end{equation}
The composability condition is \(y=y\) — a preorder is a category with at most one arrow between objects, and transitivity is composition.

Inverse across structures. The same left\(=\)right principle governs inverses in every algebraic setting:

\begin{equation} \boxed {yy^{-1}=y^{-1}y=e}\ (\text {group}), \qquad \boxed {AA^{-1}=A^{-1}A=I}\ (\text {matrix group}), \tag{11828}\end{equation}
\begin{equation} \boxed {aa^{-1}=1\ (a\neq 0)}\ (\text {field}), \qquad \boxed {\mathrm {id}_A\circ \mathrm {id}_A=\mathrm {id}_A}\ (\text {category}), \tag{11829}\end{equation}
\begin{equation} \boxed {\mathrm {refl}_a:a=a, \qquad (a=a)\circ (a=a)=(a=a)}\ (\text {identity type}). \tag{11830}\end{equation}
All five are one statement:
\begin{equation} \boxed {yy^{-1}=e,\quad AA^{-1}=I,\quad aa^{-1}=1,\quad \mathrm {id}_A\circ \mathrm {id}_A=\mathrm {id}_A,\quad (a=a)\circ (a=a)=(a=a).} \tag{11831}\end{equation}

Path reading: inverse returns to identity. Going out along \(\alpha \) and back along \(\alpha ^{-1}\) returns to the start:

\begin{equation} \boxed {x\xrightarrow {\alpha }y\xrightarrow {\alpha ^{-1}}x \;=\; x\xrightarrow {\mathrm {id}}x,} \qquad \boxed {a\xrightarrow {\mathrm {refl}}a\;=\;a,} \tag{11832}\end{equation}
\begin{equation} \boxed {\alpha \circ \alpha ^{-1}=\mathrm {id}, \qquad \mathrm {id}\circ \mathrm {id}=\mathrm {id}.} \tag{11833}\end{equation}
\begin{equation} \begin {array}{c} a=a=1 \\[6pt] \Downarrow \\[6pt] 5\times \frac {1}{5}=1 \\[6pt] \Downarrow \\[6pt] 5\times \frac {1}{5}=a=a \\[6pt] \Downarrow \\[6pt] 5\times \frac {1}{5}=5\times \frac {1}{5} \\[6pt] \Downarrow \\[6pt] \left (5\times \frac {1}{5}\right )\times 5=\left (5\times \frac {1}{5}\right )\times 5 \\[6pt] \Downarrow \\[6pt] 5=5 \end {array} \tag{11834}\end{equation}
\begin{equation} \boxed {100\cdot \frac {1}{100}=\frac {100}{100}=1} \qquad \boxed {50\cdot \frac {1}{50}=\frac {50}{50}=1} \qquad \boxed {x\cdot x^{-1}=1} \tag{11835}\end{equation}
\begin{equation} \boxed {A\,A^{-1}=I} \qquad \boxed {f^{-1}\circ f=\mathrm {id}} \tag{11836}\end{equation}
\begin{equation} \boxed {\frac {a}{a}=1 \iff a\cdot a^{-1}=1} \tag{11837}\end{equation}

Unified table.




Structure Composition / inverse Left\(=\)right



Preorder \((x\sqsubseteq y)(y\sqsubseteq z)=x\sqsubseteq z\) \(y=y\) (middle match)
Group \(yy^{-1}=e\) inverse \(\to \) identity
Matrix group \(AA^{-1}=I\) inverse \(\to \) identity
Field \(aa^{-1}=1\) inverse \(\to \) identity
Category \(\mathrm {id}\circ \mathrm {id}=\mathrm {id}\) identity idempotent
Identity type \((a=a)\circ (a=a)=(a=a)\) reflexivity idempotent



The composability of morphisms requires the middle object to satisfy \(y=y\); the inverse law requires the round trip \(\alpha \circ \alpha ^{-1}\) to equal the identity. Both are \(A=A\). A preorder is the thin case (transitivity \(=\) composition), a group is the one-object case (every arrow invertible), a matrix group is its concrete realisation (\(AA^{-1}=I\)), a field is the commutative invertible case (\(aa^{-1}=1\)), and the identity type is the homotopical case (\(\mathrm {refl}_a\)). Across all of them the same invariant holds: the two sides are equal, and the inverse composed with its element is the identity. That single invariant is \(A=A\).