This site is supported by donations to The OEIS Foundation.

Differential Analytic Turing Automata

Author: Jon Awbrey

The task ahead is to chart a course from general ideas about transformational equivalence classes of graphs to a notion of differential analytic turing automata (DATA). It may be a while before we get within sight of that goal, but it will provide a better measure of motivation to name the thread after the envisioned end rather than the more homely starting place.

The basic idea is as follows. One has a set ${\displaystyle {\mathcal {G}}}$ of graphs and a set ${\displaystyle {\mathcal {T}}}$ of transformation rules, and each rule ${\displaystyle \mathrm {t} \in {\mathcal {T}}}$ has the effect of transforming graphs into graphs, ${\displaystyle \mathrm {t} :{\mathcal {G}}\to {\mathcal {G}}.}$ In the cases that we shall be studying, this set of transformation rules partitions the set of graphs into transformational equivalence classes (TECs).

There are many interesting excursions to be had here, but I will focus mainly on logical applications, and and so the TECs I talk about will almost always have the character of logical equivalence classes (LECs).

An example that will figure heavily in the sequel is given by rooted trees as the species of graphs and a pair of equational transformation rules that derive from the graphical calculi of C.S. Peirce, as revived and extended by George Spencer Brown.

Here are the fundamental transformation rules, also referred to as the arithmetic axioms, more precisely, the arithmetic initials.

 (1) (2)

That should be enough to get started.

Cactus Language

I will be making use of the cactus language extension of Peirce's Alpha Graphs, so called because it uses a species of graphs that are usually called "cacti" in graph theory. The last exposition of the cactus syntax that I've written can be found here:

The representational and computational efficiency of the cactus language for the tasks that are usually associated with boolean algebra and propositional calculus makes it possible to entertain a further extension, to what we may call differential logic, because it develops this basic level of logic in the same way that differential calculus augments analytic geometry to handle change and diversity. There are several different introductions to differential logic that I have written and distributed across the Internet. You might start with the following couple of treatments:

I will draw on those previously advertised resources of notation and theory as needed, but right now I sense the need for some concrete examples.

Example 1

Let's say we have a system that is known by the name of its state space ${\displaystyle X}$ and we have a boolean state variable ${\displaystyle x:X\to \mathbb {B} ,}$ where ${\displaystyle \mathbb {B} =\{0,1\}.}$

We observe ${\displaystyle X}$ for a while, relative to a discrete time frame, and we write down the following sequence of values for ${\displaystyle x.}$

 ${\displaystyle {\begin{array}{c|c}t&x\\[8pt]0&0\\1&1\\2&0\\3&1\\4&0\\5&1\\6&0\\7&1\\8&0\\9&1\\\ldots &\ldots \end{array}}}$

“Aha!” we say, and think we see the way of things, writing down the rule ${\displaystyle x'={\texttt {(}}x{\texttt {)}},}$ where ${\displaystyle x'}$ is the next state after ${\displaystyle x}$ and ${\displaystyle {\texttt {(}}x{\texttt {)}}}$ is the negation of ${\displaystyle x}$ in boolean logic.

Another way to detect patterns is to write out a table of finite differences. For this example, we would get:

 ${\displaystyle {\begin{array}{c|cccc}t&x&\mathrm {d} x&\mathrm {d} ^{2}x&\ldots \\[8pt]0&0&1&0&\ldots \\1&1&1&0&\ldots \\2&0&1&0&\ldots \\3&1&1&0&\ldots \\4&0&1&0&\ldots \\5&1&1&0&\ldots \\6&0&1&0&\ldots \\7&1&1&0&\ldots \\8&0&1&\ldots &\ldots \\9&1&\ldots &\ldots &\ldots \\\ldots &\ldots &\ldots &\ldots &\ldots \end{array}}}$

And of course, all the higher order differences are zero.

This leads to thinking of ${\displaystyle X}$ as having an extended state ${\displaystyle (x,\mathrm {d} x,\mathrm {d} ^{2}x,\ldots ,\mathrm {d} ^{k}x),}$ and this additional language gives us the facility of describing state transitions in terms of the various orders of differences. For example, the rule ${\displaystyle x'={\texttt {(}}x{\texttt {)}}}$ can now be expressed by the rule ${\displaystyle {\mathrm {d} x=1}.}$

There is a more detailed account of differential logic in the following paper:

For future reference, here are a couple of handy rosetta stones for translating back and forth between different notations for the boolean functions ${\displaystyle f:\mathbb {B} ^{k}\to \mathbb {B} ,}$ where ${\displaystyle k=1,2.}$

Example 2

For a slightly more interesting example, let's suppose that we have a dynamic system that is known by its state space ${\displaystyle X}$ and we have a boolean state variable ${\displaystyle x:X\to \mathbb {B} .}$ In addition, we are given an initial condition ${\displaystyle x=\mathrm {d} x}$ and a law ${\displaystyle {\mathrm {d} ^{2}x={\texttt {(}}x{\texttt {)}}}.}$

The initial condition has two cases:

 ${\displaystyle {\begin{array}{ll}1.&x~=~\mathrm {d} x~=~0\\2.&x~=~\mathrm {d} x~=~1\end{array}}}$

Here is a table of the two trajectories or orbits that we get by starting from each of the two permissible initial states and staying within the constraints of the dynamic law ${\displaystyle {\mathrm {d} ^{2}x={\texttt {(}}x{\texttt {)}}}.}$

 ${\displaystyle {\text{Initial State}}~x\cdot \mathrm {d} x}$ ${\displaystyle {\begin{array}{c|ccc}t&\mathrm {d} ^{0}x&\mathrm {d} ^{1}x&\mathrm {d} ^{2}x\\[8pt]0&1&1&0\\1&0&1&1\\2&1&0&0\\3&1&0&0\\4&1&0&0\\5&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }\end{array}}}$

 ${\displaystyle {\text{Initial State}}~{\texttt {(}}x{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} x{\texttt {)}}}$ ${\displaystyle {\begin{array}{c|ccc}t&\mathrm {d} ^{0}x&\mathrm {d} ^{1}x&\mathrm {d} ^{2}x\\[8pt]0&0&0&1\\1&0&1&1\\2&1&0&0\\3&1&0&0\\4&1&0&0\\5&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }\end{array}}}$

Note that the state ${\displaystyle x{\texttt {(}}\mathrm {d} x{\texttt {)(}}\mathrm {d} ^{2}x{\texttt {)}},}$ that is, ${\displaystyle (x,\mathrm {d} x,\mathrm {d} ^{2}x)=(1,0,0),}$ is a stable attractor for both orbits.

Further discussion of this example, complete with charts and graphs, can be found at this location:

Example 3

One more example may serve to suggest just how much dynamic complexity can be built on a universe of discourse that has but a single logical feature at its base. But first, there are a few more elements of general notation that that we'll need to describe finite dimensional universes of discourse and the qualitative dynamics that we envision occurring in them.

Let ${\displaystyle {\mathcal {X}}=\{x_{1},\ldots ,x_{n}\}}$ be the alphabet of logical features or variables that are used to describe the ${\displaystyle n}$-dimensional universe of discourse ${\displaystyle X^{\bullet }=[{\mathcal {X}}]}$ ${\displaystyle =[x_{1},\ldots ,x_{n}].}$ One may picture a venn diagram whose ${\displaystyle n}$ overlapping “circles” are labeled with the feature names in ${\displaystyle {\mathcal {X}}.}$ Staying with this picture, one visualizes the universe of discourse ${\displaystyle X^{\bullet }=[{\mathcal {X}}]}$ as having two layers:

1. The set ${\displaystyle X=\langle {\mathcal {X}}\rangle =\langle x_{1},\dots ,x_{n}\rangle }$ of points or cells — the latter used in another sense of the word than when we speak of cellular automata.
2. The set ${\displaystyle X^{\uparrow }=(X\to \mathbb {B} )}$ of propositions, boolean-valued functions, or maps from ${\displaystyle X}$ to ${\displaystyle \mathbb {B} .}$

Thus we picture the universe of discourse ${\displaystyle {X^{\bullet }}}$ as an ordered pair ${\displaystyle {X^{\bullet }=(X,X^{\uparrow })}}$ having ${\displaystyle 2^{n}}$ points in the underlying space ${\displaystyle X}$ and ${\displaystyle 2^{2^{n}}}$ propositions in the function space ${\displaystyle X^{\uparrow }.}$

A more complete discussion of these notations can be found here:

Now, to the Example.

Once again, let us begin with a 1-feature alphabet ${\displaystyle {\mathcal {X}}=\{x_{1}\}=\{x\}.}$ In the discussion that follows I will consider a class of trajectories that are ruled by the constraint that ${\displaystyle \mathrm {d} ^{k}x=0}$ for all ${\displaystyle k}$ greater than some fixed ${\displaystyle m}$ and I will indulge in the use of some picturesque language to describe salient classes of such curves. Given the finite order condition, there is a highest order non-zero difference ${\displaystyle \mathrm {d} ^{m}x}$ that is exhibited at each point in the course of any determinate trajectory. Relative to any point of the corresponding orbit or curve, let us call this highest order differential feature ${\displaystyle \mathrm {d} ^{m}x}$ the drive at that point. Curves of constant drive ${\displaystyle \mathrm {d} ^{m}x}$ are then referred to as ${\displaystyle m^{\text{th}}}$ gear curves.

One additional piece of notation will be needed here. Starting from the base alphabet ${\displaystyle {\mathcal {X}}=\{x\},}$ we define and notate ${\displaystyle \mathrm {E} ^{j}{\mathcal {X}}=\{x,\mathrm {d} ^{1}x,\mathrm {d} ^{2}x,\ldots ,\mathrm {d} ^{j}x\}}$ as the ${\displaystyle j^{\text{th}}}$ order extended alphabet over ${\displaystyle {\mathcal {X}}.}$

Let us now consider the family of 4th gear curves through the extended space ${\displaystyle \mathrm {E} ^{4}X=\langle x,\mathrm {d} x,\mathrm {d} ^{2}x,\mathrm {d} ^{3}x,\mathrm {d} ^{4}x\rangle .}$ These are the trajectories that are generated subject to the law ${\displaystyle \mathrm {d} ^{4}x=1,}$ where it is understood in making such a statement that all higher order differences are equal to ${\displaystyle 0.}$

Since ${\displaystyle \mathrm {d} ^{4}x}$ and all higher order ${\displaystyle \mathrm {d} ^{j}x}$ are fixed, the entire dynamics can be plotted in the extended space ${\displaystyle \mathrm {E} ^{3}X=\langle x,\mathrm {d} x,\mathrm {d} ^{2}x,\mathrm {d} ^{3}x\rangle .}$ Thus, there is just enough room in a planar venn diagram to plot both orbits and to show how they partition the points of ${\displaystyle \mathrm {E} ^{3}X.}$ As it turns out, there are exactly two possible orbits, of eight points each, as illustrated in Figures 16-a and 16-b. See here:

Here are the 4th gear curves over the 1-feature universe ${\displaystyle X=\langle x\rangle }$ arranged in the form of tabular arrays, listing the extended state vectors ${\displaystyle (x,\mathrm {d} x,\mathrm {d} ^{2}x,\mathrm {d} ^{3}x,\mathrm {d} ^{4}x)}$ as they occur in one cyclic period of each orbit.

 ${\displaystyle {\text{Orbit 1}}}$ ${\displaystyle {\begin{array}{c|ccccc}t&\mathrm {d} ^{0}x&\mathrm {d} ^{1}x&\mathrm {d} ^{2}x&\mathrm {d} ^{3}x&\mathrm {d} ^{4}x\\\\0&0&0&0&0&1\\1&0&0&0&1&1\\2&0&0&1&0&1\\3&0&1&1&1&1\\4&1&0&0&0&1\\5&1&0&0&1&1\\6&1&0&1&0&1\\7&1&1&1&1&1\end{array}}}$

 ${\displaystyle {\text{Orbit 2}}}$ ${\displaystyle {\begin{array}{c|ccccc}t&\mathrm {d} ^{0}x&\mathrm {d} ^{1}x&\mathrm {d} ^{2}x&\mathrm {d} ^{3}x&\mathrm {d} ^{4}x\\\\0&1&1&0&0&1\\1&0&1&0&1&1\\2&1&1&1&0&1\\3&0&0&1&1&1\\4&0&1&0&0&1\\5&1&1&0&1&1\\6&0&1&1&0&1\\7&1&0&1&1&1\end{array}}}$

In this arrangement, the temporal ordering of states can be reckoned by a kind of parallel round-up rule. Specifically, if ${\displaystyle (a_{k},a_{k+1})}$ is any pair of adjacent digits in a state vector ${\displaystyle {(a_{0},a_{1},\ldots ,a_{n})},}$ then the value of ${\displaystyle a_{k}}$ in the next state is ${\displaystyle a_{k}'=a_{k}+a_{k+1},}$ the addition being taken mod 2, of course.

A more complete discussion of this arrangement is given here:

Example 4

I am going to tip-toe in silence/consilience past many questions of a philosophical nature/nurture that might be asked at this juncture, no doubt to revisit them at some future opportunity/importunity, however the cases happen to align in the course of their inevitable fall.

Instead, let's follow the adage to “keep it concrete and simple”, taking up the consideration of an incrementally more complex example, but having a slightly more general character than the orders of sequential transformations that we've been discussing up to this point.

The types of logical transformations that I have in mind can be thought of as transformations of discourse because they map a universe of discourse into a universe of discourse by way of logical equations between the qualitative features or logical variables in the source and target universes.

The sequential transformations or state transitions that we have been considering so far are actually special cases of these more general logical transformations, specifically, they are the ones that have a single universe of discourse, as it happens to exist at different moments in time, in the role of both the source and the target universes of the transformation in question.

Onward and upward to Flatland, the differential analysis of transformations between 2-dimensional universes of discourse.

Consider the transformation from the universe ${\displaystyle U^{\bullet }=[u,v]}$ to the universe ${\displaystyle X^{\bullet }=[x,y]}$ that is defined by this system of equations:

 ${\displaystyle {\begin{matrix}x&=&f(u,v)&=&{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}\\[8pt]y&=&g(u,v)&=&{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}\end{matrix}}}$

The parenthetical expressions on the right are the cactus forms for the boolean functions that correspond to inclusive disjunction and logical equivalence, respectively. Table 1 summarizes the basic elements of the cactus notation for propositional logic.

 ${\displaystyle {\text{Graph}}}$ ${\displaystyle {\text{Expression}}}$ ${\displaystyle {\text{Interpretation}}}$ ${\displaystyle {\text{Other Notations}}}$ 20px ${\displaystyle ~}$ ${\displaystyle \operatorname {true} }$ ${\displaystyle 1}$ 20px ${\displaystyle {\texttt {(~)}}}$ ${\displaystyle \operatorname {false} }$ ${\displaystyle 0}$ ${\displaystyle a}$ ${\displaystyle a}$ ${\displaystyle a}$ ${\displaystyle {\texttt {(}}a{\texttt {)}}~}$ ${\displaystyle \operatorname {not} ~a}$ ${\displaystyle \lnot a\quad {\bar {a}}\quad {\tilde {a}}\quad a^{\prime }}$ ${\displaystyle a~b~c}$ ${\displaystyle a~\operatorname {and} ~b~\operatorname {and} ~c}$ ${\displaystyle a\land b\land c}$ ${\displaystyle {\texttt {((}}a{\texttt {)(}}b{\texttt {)(}}c{\texttt {))}}}$ ${\displaystyle a~\operatorname {or} ~b~\operatorname {or} ~c}$ ${\displaystyle a\lor b\lor c}$ ${\displaystyle {\texttt {(}}a{\texttt {(}}b{\texttt {))}}}$ ${\displaystyle {\begin{matrix}a~\operatorname {implies} ~b\\[6pt]\operatorname {if} ~a~\operatorname {then} ~b\end{matrix}}}$ ${\displaystyle a\Rightarrow b}$ 65px ${\displaystyle {\texttt {(}}a{\texttt {,}}b{\texttt {)}}}$ ${\displaystyle {\begin{matrix}a~\operatorname {not~equal~to} ~b\\[6pt]a~\operatorname {exclusive~or} ~b\end{matrix}}}$ ${\displaystyle {\begin{matrix}a\neq b\\[6pt]a+b\end{matrix}}}$ ${\displaystyle {\texttt {((}}a{\texttt {,}}b{\texttt {))}}}$ ${\displaystyle {\begin{matrix}a~\operatorname {is~equal~to} ~b\\[6pt]a~\operatorname {if~and~only~if} ~b\end{matrix}}}$ ${\displaystyle {\begin{matrix}a=b\\[6pt]a\Leftrightarrow b\end{matrix}}}$ ${\displaystyle {\texttt {(}}a{\texttt {,}}b{\texttt {,}}c{\texttt {)}}}$ ${\displaystyle {\begin{matrix}\operatorname {just~one~of} \\a,b,c\\\operatorname {is~false} .\end{matrix}}}$ ${\displaystyle {\begin{matrix}&{\bar {a}}~b~c\\\lor &a~{\bar {b}}~c\\\lor &a~b~{\bar {c}}\end{matrix}}}$ ${\displaystyle {\texttt {((}}a{\texttt {),(}}b{\texttt {),(}}c{\texttt {))}}}$ ${\displaystyle {\begin{matrix}\operatorname {just~one~of} \\a,b,c\\\operatorname {is~true} .\\[6pt]\operatorname {partition~all} \\\operatorname {into} ~a,b,c.\end{matrix}}}$ ${\displaystyle {\begin{matrix}&a~{\bar {b}}~{\bar {c}}\\\lor &{\bar {a}}~b~{\bar {c}}\\\lor &{\bar {a}}~{\bar {b}}~c\end{matrix}}}$ ${\displaystyle {\texttt {(}}a{\texttt {,(}}b{\texttt {,}}c{\texttt {))}}}$ ${\displaystyle {\begin{matrix}\operatorname {oddly~many~of} \\a,b,c\\\operatorname {are~true} .\end{matrix}}}$ ${\displaystyle a+b+c}$ ${\displaystyle {\begin{matrix}&a~b~c\\\lor &a~{\bar {b}}~{\bar {c}}\\\lor &{\bar {a}}~b~{\bar {c}}\\\lor &{\bar {a}}~{\bar {b}}~c\end{matrix}}}$ ${\displaystyle {\texttt {(}}x{\texttt {,(}}a{\texttt {),(}}b{\texttt {),(}}c{\texttt {))}}}$ ${\displaystyle {\begin{matrix}\operatorname {partition} ~x\\\operatorname {into} ~a,b,c.\\[6pt]\operatorname {genus} ~x~\operatorname {comprises} \\\operatorname {species} ~a,b,c.\end{matrix}}}$ ${\displaystyle {\begin{matrix}&{\bar {x}}~{\bar {a}}~{\bar {b}}~{\bar {c}}\\\lor &x~a~{\bar {b}}~{\bar {c}}\\\lor &x~{\bar {a}}~b~{\bar {c}}\\\lor &x~{\bar {a}}~{\bar {b}}~c\end{matrix}}}$

The component notation ${\displaystyle F=(F_{1},F_{2})=(f,g):U^{\bullet }\to X^{\bullet }}$ allows us to give a name and a type to this transformation, and permits us to define it by means of the compact description that follows:

 ${\displaystyle {\begin{matrix}(x,y)&=&F(u,v)&=&(~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~).\end{matrix}}}$

The information that defines the logical transformation ${\displaystyle F}$ can be represented in the form of a truth table, as shown below.

 ${\displaystyle u}$ ${\displaystyle v}$ ${\displaystyle f}$ ${\displaystyle g}$ ${\displaystyle {\begin{matrix}0\\[4pt]0\\[4pt]1\\[4pt]1\end{matrix}}}$ ${\displaystyle {\begin{matrix}0\\[4pt]1\\[4pt]0\\[4pt]1\end{matrix}}}$ ${\displaystyle {\begin{matrix}0\\[4pt]1\\[4pt]1\\[4pt]1\end{matrix}}}$ ${\displaystyle {\begin{matrix}1\\[4pt]0\\[4pt]0\\[4pt]1\end{matrix}}}$ ${\displaystyle u}$ ${\displaystyle v}$ ${\displaystyle {\texttt {((}}u{\texttt {)(}}v{\texttt {))}}}$ ${\displaystyle {\texttt {((}}u{\texttt {,}}v{\texttt {))}}}$

A more complete framework of discussion and a fuller development of this example can be found in the neighborhood of the following site:

Consider the transformation of textual elements (TOTE) in progress:

 ${\displaystyle {\begin{matrix}x&=&f(u,v)&=&{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}\\[8pt]y&=&g(u,v)&=&{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}\\[8pt](x,y)&=&F(u,v)&=&(~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~)\end{matrix}}}$

Taken as a transformation from the universe ${\displaystyle U^{\bullet }=[u,v]}$ to the universe ${\displaystyle X^{\bullet }=[x,y],}$ this is a particular type of formal object, and it can be studied at that level of abstraction until the chickens come home to roost, as they say, but when the time comes to count those chickens, if you will, the terms of artifice that we use to talk about abstract objects, almost as if we actually knew what we were talking about, need to be fully fledged or fleshed out with extra bits of interpretive data (BOIDs).

And so, to decompress the story, the TOTE that we use to convey the FOMA has to be interpreted before it can be applied to anything that actually puts supper on the table, so to speak.

What are some of the ways that an abstract logical transformation like ${\displaystyle F}$ gets interpreted in the setting of a concrete application?

Mathematical parlance comes part way to the rescue here and tosses us the line that a transformation of syntactic signs can be interpreted in either one of two ways, as an alias or as an alibi.

When we consider a transformation in the alias interpretation, we are merely changing the terms that we use to describe what may very well be, to some approximation, the very same things.

For example, in some applications the discursive universes ${\displaystyle U^{\bullet }=[u,v]}$ and ${\displaystyle X^{\bullet }=[x,y]}$ are best understood as diverse frames, instruments, reticules, scopes, or templates, that we adopt for the sake of viewing from variant perspectives what we conceive to be roughly the same underlying objects.

When we consider a transformation in the alibi interpretation, we are thinking of the objective things as objectively moving around in space or changing their qualitative characteristics. There are times when we think of this alibi transformation as taking place in a dimension of time, and then there are times when time is not an object.

For example, in some applications the discursive universes ${\displaystyle U^{\bullet }=[u,v]}$ and ${\displaystyle X^{\bullet }=[x,y]}$ are actually the same universe, and what we have is a frame where ${\displaystyle x}$ is the next state of ${\displaystyle u}$ and ${\displaystyle y}$ is the next state of ${\displaystyle v,}$ notated as ${\displaystyle x=u'}$ and ${\displaystyle y=v'.}$ This permits us to rewrite the transformation ${\displaystyle F}$ as follows:

 ${\displaystyle {\begin{matrix}u'&=&f(u,v)&=&{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}\\[8pt]v'&=&g(u,v)&=&{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}\\[8pt](u',v')&=&F(u,v)&=&(~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~)\end{matrix}}}$

All in all, then, we have three different ways in general of applying or interpreting a transformation of discourse, that we might sum up as one brand of alias and two brands of alibi, all together, the Elseword, the Elsewhere, and the Elsewhen.

No more angels on pinheads, the brass tacks next time.

Differential Analysis

It is time to formulate the differential analysis of a logical transformation, or a mapping of discourse. It is wise to begin with the first order differentials.

We are considering an abstract logical transformation ${\displaystyle F=(f,g):[u,v]\to [x,y]}$ that can be interpreted in a number of different ways. Let's fix on a couple of major variants that might be indicated as follows:

 ${\displaystyle {\begin{array}{lccccc}{\text{Alias Map}}&(x,y)&=&F(u,v)&=&(~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~)\\[8pt]{\text{Alibi Map}}&(u',v')&=&F(u,v)&=&(~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~)\end{array}}}$

${\displaystyle F}$ is just one example among — well, now that I think of it — how many other logical transformations from the same source to the same target universe? In the light of that question, maybe it would be advisable to contemplate the character of ${\displaystyle F}$ within the fold of its most closely akin transformations.

Given the alphabets ${\displaystyle {\mathcal {U}}=\{u,v\}}$ and ${\displaystyle {\mathcal {X}}=\{x,y\}}$ along with the corresponding universes of discourse ${\displaystyle U^{\bullet }}$ and ${\displaystyle X^{\bullet }=[\mathbb {B} ^{2}],}$ how many logical transformations of the general form ${\displaystyle G=(G_{1},G_{2}):U^{\bullet }\to X^{\bullet }}$ are there?

Since ${\displaystyle G_{1}}$ and ${\displaystyle G_{2}}$ can be any propositions of the type ${\displaystyle \mathbb {B} ^{2}\to \mathbb {B} ,}$ there are ${\displaystyle 2^{4}=16}$ choices for each of the maps ${\displaystyle G_{1}}$ and ${\displaystyle G_{2},}$ and thus there are ${\displaystyle 2^{4}\cdot 2^{4}=2^{8}=256}$ different mappings altogether of the form ${\displaystyle G:U^{\bullet }\to X^{\bullet }.}$

The set of all functions of a given type is customarily denoted by placing its type indicator in parentheses, in the present instance writing ${\displaystyle (U^{\bullet }\to X^{\bullet })=\{G:U^{\bullet }\to X^{\bullet }\},}$ and so the cardinality of this function space can most conveniently be summed up by writing:

 ${\displaystyle |(U^{\bullet }\to X^{\bullet })|~=~|(\mathbb {B} ^{2}\to \mathbb {B} ^{2})|~=~4^{4}~=~256.}$

Given any transformation of this type, ${\displaystyle G:U^{\bullet }\to X^{\bullet },}$ the (first order) differential analysis of ${\displaystyle G}$ is based on the definition of a couple of further transformations, derived by way of operators on ${\displaystyle G,}$ that ply between the (first order) extended universes, ${\displaystyle \mathrm {E} U^{\bullet }=[u,v,du,dv]}$ and ${\displaystyle \mathrm {E} X^{\bullet }=[x,y,dx,dy],}$ of ${\displaystyle G{\text{'s}}}$ own source and target universes.

First, the enlargement map (or the secant transformation) ${\displaystyle \mathrm {E} G=(\mathrm {E} G_{1},\mathrm {E} G_{2}):\mathrm {E} U^{\bullet }\to \mathrm {E} X^{\bullet }}$ is defined by the following pair of component equations:

 ${\displaystyle {\begin{array}{lll}\mathrm {E} G_{1}&=&G_{1}(u+\mathrm {d} u,v+\mathrm {d} v)\\[8pt]\mathrm {E} G_{2}&=&G_{2}(u+\mathrm {d} u,v+\mathrm {d} v)\end{array}}}$

Second, the difference map (or the chordal transformation) ${\displaystyle {\mathrm {D} G=(\mathrm {D} G_{1},\mathrm {D} G_{2}):\mathrm {E} U^{\bullet }\to \mathrm {E} X^{\bullet }}}$ is defined in a component-wise fashion as the boolean sum of the initial proposition ${\displaystyle G_{j}}$ and the enlarged or shifted proposition ${\displaystyle \mathrm {E} G_{j},}$ for ${\displaystyle j=1,2,}$ in accord with following pair of equations:

 ${\displaystyle {\begin{array}{lllll}\mathrm {D} G_{1}&=&G_{1}(u,v)&+&\mathrm {E} G_{1}(u,v,\mathrm {d} u,\mathrm {d} v)\\[8pt]&=&G_{1}(u,v)&+&G_{1}(u+\mathrm {d} u,v+\mathrm {d} v)\\[8pt]\mathrm {D} G_{2}&=&G_{2}(u,v)&+&\mathrm {E} G_{2}(u,v,\mathrm {d} u,\mathrm {d} v)\\[8pt]&=&G_{2}(u,v)&+&G_{2}(u+\mathrm {d} u,v+\mathrm {d} v)\end{array}}}$

Maintaining a strict analogy with ordinary difference calculus would perhaps have us write ${\displaystyle \mathrm {D} G_{j}=\mathrm {E} G_{j}-G_{j},}$ but the sum and difference operations are the same thing in boolean arithmetic. It is more often natural in the logical context to consider an initial proposition ${\displaystyle q,}$ then to compute the enlargement ${\displaystyle \mathrm {E} q,}$ and finally to determine the difference ${\displaystyle \mathrm {D} q=q+\mathrm {E} q,}$ so we let the variant order of terms reflect this sequence of considerations.

Given these general considerations about the operators ${\displaystyle \mathrm {E} }$ and ${\displaystyle \mathrm {D} ,}$ let's return to particular cases, and carry out the first order analysis of the transformation ${\displaystyle F(u,v)=(~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~).}$

By way of getting our feet back on solid ground, let's crank up our current case of a transformation of discourse, ${\displaystyle F:U^{\bullet }\to X^{\bullet },}$ with concrete type ${\displaystyle [u,v]\to [x,y]}$ or abstract type ${\displaystyle \mathbb {B} ^{2}\to \mathbb {B} ^{2},}$ and let it spin through a sufficient number of turns to see how it goes, as viewed under the scope of what is probably its most straightforward view, as an elsewhen map ${\displaystyle F:[u,v]\to [u',v'].}$

 ${\displaystyle {\begin{array}{ccc}u'&=&{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}\\v'&=&{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}\end{array}}}$ ${\displaystyle {\begin{matrix}{\text{Orbit 1}}\\{\text{Initial Point :}}~(u,v)=(1,1)\end{matrix}}}$ ${\displaystyle {\begin{array}{c|cc}t&u&v\\[8pt]0&1&1\\1&1&1\\2&{}^{\shortparallel }&{}^{\shortparallel }\end{array}}}$ ${\displaystyle {\begin{matrix}{\text{Orbit 2}}\\{\text{Initial Point :}}~(u,v)=(0,0)\end{matrix}}}$ ${\displaystyle {\begin{array}{c|cc}t&u&v\\[8pt]0&0&0\\1&0&1\\2&1&0\\3&1&0\\4&{}^{\shortparallel }&{}^{\shortparallel }\end{array}}}$

In the upshot there are two basins of attraction, the state ${\displaystyle (1,1)}$ and the state ${\displaystyle (1,0),}$ with the orbit ${\displaystyle (1,1)}$ making up an isolated basin and the orbit ${\displaystyle (0,0),(0,1),(1,0)}$ leading to the basin ${\displaystyle (1,0).}$

On first examination of our present example we made a likely guess at a form of rule that would account for the finite protocol of states that we observed the system ${\displaystyle X}$ passing through, as spied in the light of its boolean state variable ${\displaystyle x:X\to \mathbb {B} ,}$ and that rule is well-formulated in any of these styles of notation:

 ${\displaystyle {\begin{array}{ll}1.1.&f:\mathbb {B} \to \mathbb {B} ~{\text{such that}}~f:x\mapsto {\texttt {(}}x{\texttt {)}}\\1.2.&x'~=~{\texttt {(}}x{\texttt {)}}\\1.3.&x~:=~{\texttt {(}}x{\texttt {)}}\\1.4.&\mathrm {d} x~=~1\end{array}}}$

In the current example, we already know in advance the program that generates the state transitions, and it is a rule of the following equivalent and easily derivable forms:

 ${\displaystyle {\begin{array}{ll}2.1.&F:\mathbb {B} ^{2}\to \mathbb {B} ^{2}~{\text{such that}}~F:(u,v)\mapsto (~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~)\\2.2.&u'~=~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}\quad ~,~\quad v'~=~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}\\2.3.&u~:=~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}\quad ~,~\quad v~:=~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}\\2.4.&?\end{array}}}$

Well, the last one is not such a fall off a log, but that is exactly the purpose for which we have been developing all of the foregoing machinations.

Here is what I got when I just went ahead and calculated the finite differences willy-nilly:

 ${\displaystyle {\text{Orbit 1. Intitial Point :}}~(u,v)=(1,1)}$ ${\displaystyle {\begin{array}{c|cc|cc|cc|cc|cc|c}t&u&v&\mathrm {d} u&\mathrm {d} v&\mathrm {d} ^{2}u&\mathrm {d} ^{2}v&\mathrm {d} ^{3}u&\mathrm {d} ^{3}v&\mathrm {d} ^{4}u&\mathrm {d} ^{4}v&\ldots \\[8pt]0&1&1&0&0&0&0&0&0&0&0&\ldots \\1&1&1&0&0&0&0&0&0&0&0&\ldots \\2&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&\ldots \end{array}}}$ ${\displaystyle {\text{Orbit 2. Intitial Point :}}~(u,v)=(0,0)}$ ${\displaystyle {\begin{array}{c|cc|cc|cc|cc|cc|c}t&u&v&\mathrm {d} u&\mathrm {d} v&\mathrm {d} ^{2}u&\mathrm {d} ^{2}v&\mathrm {d} ^{3}u&\mathrm {d} ^{3}v&\mathrm {d} ^{4}u&\mathrm {d} ^{4}v&\ldots \\[8pt]0&0&0&0&1&1&0&0&1&1&0&\ldots \\1&0&1&1&1&1&1&1&1&1&1&\ldots \\2&1&0&0&0&0&0&0&0&0&0&\ldots \\3&1&0&0&0&0&0&0&0&0&0&\ldots \\4&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&\ldots \end{array}}}$

To be honest, I have never thought of trying to hack the problem in such a brute-force way until just now, and so I know enough to expect a not inappreciable probability of error about all that I've taken the risk to write out here, but let me forge ahead and see what I can see.

What we are looking for is — one rule to rule them all, a rule that applies to every state and works every time.

What we see at first sight in the tables above are patterns of differential features that attach to the states in each orbit of the dynamics. Looked at locally to these orbits, the isolated fixed point at ${\displaystyle (1,1)}$ is no problem, as the rule ${\displaystyle \mathrm {d} u=\mathrm {d} v=0}$ describes it pithily enough. When it comes to the other orbit, the first thing that comes to mind is to write out the law ${\displaystyle \mathrm {d} u=v~,~\mathrm {d} v={\texttt {(}}u{\texttt {)}}.}$

Symbolic Method

It ought to be clear at this point that we need a more systematic symbolic method for computing the differentials of logical transformations, using the term differential in a loose way at present for all sorts of finite differences and derivatives, leaving it to another discussion to sharpen up its more exact technical senses.

For convenience of reference, let's recast our current example in the following form:

 ${\displaystyle {\begin{matrix}F&=&(f,g)&=&(~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~).\end{matrix}}}$

In their application to this logical transformation the operators ${\displaystyle \mathrm {E} }$ and ${\displaystyle \mathrm {D} }$ respectively produce the enlarged map ${\displaystyle \mathrm {E} F=(\mathrm {E} f,\mathrm {E} g)}$ and the difference map ${\displaystyle \mathrm {D} F=(\mathrm {D} f,\mathrm {D} g),}$ whose components can be given as follows.

 ${\displaystyle {\begin{array}{lll}\mathrm {E} f&=&{\texttt {((}}u+\mathrm {d} u{\texttt {)(}}v+\mathrm {d} v{\texttt {))}}\\[8pt]\mathrm {E} g&=&{\texttt {((}}u+\mathrm {d} u{\texttt {,~}}v+\mathrm {d} v{\texttt {))}}\\[8pt]\mathrm {D} f&=&{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~+~{\texttt {((}}u+\mathrm {d} u{\texttt {)(}}v+\mathrm {d} v{\texttt {))}}\\[8pt]\mathrm {D} g&=&{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~+~{\texttt {((}}u+\mathrm {d} u{\texttt {,~}}v+\mathrm {d} v{\texttt {))}}\end{array}}}$

But these initial formulas are purely definitional, and help us little to understand either the purpose of the operators or the significance of the results. Working symbolically, let's apply a more systematic method to the separate components of the mapping ${\displaystyle F.}$

A sketch of this work is presented in the following series of Figures, where each logical proposition is expanded over the basic cells ${\displaystyle uv,u{\texttt {(}}v{\texttt {)}},{\texttt {(}}u{\texttt {)}}v,{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}}$ of the 2-dimensional universe of discourse ${\displaystyle U^{\bullet }=[u,v].}$

Computation Summary for Logical Disjunction

The venn diagram in Figure 1.1 shows how the proposition ${\displaystyle f={\texttt {((}}u{\texttt {)(}}v{\texttt {))}}}$ can be expanded over the universe of discourse ${\displaystyle [u,v]}$ to produce a logically equivalent exclusive disjunction, namely, ${\displaystyle uv+u{\texttt {(}}v{\texttt {)}}+{\texttt {(}}u{\texttt {)}}v.}$

 o---------------------------------------o | | | o | | /%\ | | /%%%\ | | /%%%%%\ | | o%%%%%%%o | | /%\%%%%%/%\ | | /%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o | | /%\%%%%%/%\%%%%%/%\ | | /%%%\%%%/%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o%%%%%%%o | | /%\%%%%%/%\%%%%%/%\%%%%%/%\ | | /%%%\%%%/%%%\%%%/%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\%/%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o%%%%%%%o%%%%%%%o | | |\%%%%%/%\%%%%%/ \%%%%%/%\%%%%%/| | | | \%%%/%%%\%%%/ \%%%/%%%\%%%/ | | | | \%/%%%%%\%/ \%/%%%%%\%/ | | | | o%%%%%%%o o%%%%%%%o | | | | |\%%%%%/ \ / \%%%%%/| | | | | | \%%%/ \ / \%%%/ | | | | | u | \%/ \ / \%/ | v | | | o---+---o o o---+---o | | | \ / \ / | | | | \ / \ / | | | | du \ / \ / dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 1.1. f = ((u)(v)) 

Figure 1.2 expands ${\displaystyle \mathrm {E} f={\texttt {((}}u+\mathrm {d} u{\texttt {)(}}v+\mathrm {d} v{\texttt {))}}}$ over ${\displaystyle [u,v]}$ to give:

 ${\displaystyle {\begin{matrix}\mathrm {E} {\texttt {((}}u{\texttt {)(}}v{\texttt {))}}&=&uv\cdot {\texttt {(}}\mathrm {d} u~\mathrm {d} v{\texttt {)}}&+&u{\texttt {(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {(}}\mathrm {d} v{\texttt {))}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {((}}\mathrm {d} u{\texttt {)}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {((}}\mathrm {d} u{\texttt {)(}}\mathrm {d} v{\texttt {))}}\end{matrix}}}$
 o---------------------------------------o | | | o | | /%\ | | /%%%\ | | /%%%%%\ | | o%%%%%%%o | | /%\%%%%%/%\ | | /%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o | | /%\%%%%%/ \%%%%%/%\ | | /%%%\%%%/ \%%%/%%%\ | | /%%%%%\%/ \%/%%%%%\ | | o%%%%%%%o o%%%%%%%o | | /%\%%%%%/%\ /%\%%%%%/%\ | | /%%%\%%%/%%%\ /%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\ /%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o%%%%%%%o%%%%%%%o | | |\%%%%%/ \%%%%%/%\%%%%%/ \%%%%%/| | | | \%%%/ \%%%/%%%\%%%/ \%%%/ | | | | \%/ \%/%%%%%\%/ \%/ | | | | o o%%%%%%%o o | | | | |\ /%\%%%%%/%\ /| | | | | | \ /%%%\%%%/%%%\ / | | | | | u | \ /%%%%%\%/%%%%%\ / | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 1.2. Ef = ((u + du)(v + dv)) 

Figure 1.3 expands ${\displaystyle \mathrm {D} f=f+\mathrm {E} f}$ over ${\displaystyle [u,v]}$ to produce:

 ${\displaystyle {\begin{matrix}\mathrm {D} {\texttt {((}}u{\texttt {)(}}v{\texttt {))}}&=&uv\cdot \mathrm {d} u~\mathrm {d} v&+&u{\texttt {(}}v{\texttt {)}}\cdot \mathrm {d} u{\texttt {(}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {(}}\mathrm {d} u{\texttt {)}}\mathrm {d} v&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {((}}\mathrm {d} u{\texttt {)(}}\mathrm {d} v{\texttt {))}}\end{matrix}}}$
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | / \ / \ | | / \ / \ | | / \ / \ | | o o o | | / \ /%\ / \ | | / \ /%%%\ / \ | | / \ /%%%%%\ / \ | | o o%%%%%%%o o | | / \ / \%%%%%/ \ / \ | | / \ / \%%%/ \ / \ | | / \ / \%/ \ / \ | | o o o o o | | |\ /%\ /%\ /%\ /| | | | \ /%%%\ /%%%\ /%%%\ / | | | | \ /%%%%%\ /%%%%%\ /%%%%%\ / | | | | o%%%%%%%o%%%%%%%o%%%%%%%o | | | | |\%%%%%/%\%%%%%/%\%%%%%/| | | | | | \%%%/%%%\%%%/%%%\%%%/ | | | | | u | \%/%%%%%\%/%%%%%\%/ | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 1.3. Df = f + Ef 

I'll break this here in case anyone wants to try and do the work for ${\displaystyle g}$ on their own.

Computation Summary for Logical Equality

The venn diagram in Figure 2.1 shows how the proposition ${\displaystyle g={\texttt {((}}u{\texttt {,~}}v{\texttt {))}}}$ can be expanded over the universe of discourse ${\displaystyle [u,v]}$ to produce a logically equivalent exclusive disjunction, namely, ${\displaystyle uv+{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}.}$

 o---------------------------------------o | | | o | | /%\ | | /%%%\ | | /%%%%%\ | | o%%%%%%%o | | /%\%%%%%/%\ | | /%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o | | / \%%%%%/%\%%%%%/ \ | | / \%%%/%%%\%%%/ \ | | / \%/%%%%%\%/ \ | | o o%%%%%%%o o | | / \ / \%%%%%/ \ / \ | | / \ / \%%%/ \ / \ | | / \ / \%/ \ / \ | | o o o o o | | |\ / \ /%\ / \ /| | | | \ / \ /%%%\ / \ / | | | | \ / \ /%%%%%\ / \ / | | | | o o%%%%%%%o o | | | | |\ /%\%%%%%/%\ /| | | | | | \ /%%%\%%%/%%%\ / | | | | | u | \ /%%%%%\%/%%%%%\ / | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/%\%%%%%/ | | | | \%%%/%%%\%%%/ | | | | du \%/%%%%%\%/ dv | | | o-------o%%%%%%%o-------o | | \%%%%%/ | | \%%%/ | | \%/ | | o | | | o---------------------------------------o Figure 2.1. g = ((u, v)) 

Figure 2.2 expands ${\displaystyle \mathrm {E} g={\texttt {((}}u+\mathrm {d} u{\texttt {,~}}v+\mathrm {d} v{\texttt {))}}}$ over ${\displaystyle [u,v]}$ to give:

 ${\displaystyle {\begin{matrix}\mathrm {E} {\texttt {((}}u{\texttt {,~}}v{\texttt {))}}&=&uv\cdot {\texttt {((}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {))}}&+&u{\texttt {(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {((}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {))}}\end{matrix}}}$
 o---------------------------------------o | | | o | | /%\ | | /%%%\ | | /%%%%%\ | | o%%%%%%%o | | / \%%%%%/ \ | | / \%%%/ \ | | / \%/ \ | | o o o | | /%\ /%\ /%\ | | /%%%\ /%%%\ /%%%\ | | /%%%%%\ /%%%%%\ /%%%%%\ | | o%%%%%%%o%%%%%%%o%%%%%%%o | | / \%%%%%/ \%%%%%/ \%%%%%/ \ | | / \%%%/ \%%%/ \%%%/ \ | | / \%/ \%/ \%/ \ | | o o o o o | | |\ /%\ /%\ /%\ /| | | | \ /%%%\ /%%%\ /%%%\ / | | | | \ /%%%%%\ /%%%%%\ /%%%%%\ / | | | | o%%%%%%%o%%%%%%%o%%%%%%%o | | | | |\%%%%%/ \%%%%%/ \%%%%%/| | | | | | \%%%/ \%%%/ \%%%/ | | | | | u | \%/ \%/ \%/ | v | | | o---+---o o o---+---o | | | \ /%\ / | | | | \ /%%%\ / | | | | du \ /%%%%%\ / dv | | | o-------o%%%%%%%o-------o | | \%%%%%/ | | \%%%/ | | \%/ | | o | | | o---------------------------------------o Figure 2.2. Eg = ((u + du, v + dv)) 

Figure 2.3 expands ${\displaystyle \mathrm {D} g=g+\mathrm {E} g}$ over ${\displaystyle [u,v]}$ to yield the form:

 ${\displaystyle {\begin{matrix}\mathrm {D} {\texttt {((}}u{\texttt {,~}}v{\texttt {))}}&=&uv\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&u{\texttt {(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}\end{matrix}}}$
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | /%\ /%\ | | /%%%\ /%%%\ | | /%%%%%\ /%%%%%\ | | o%%%%%%%o%%%%%%%o | | /%\%%%%%/ \%%%%%/%\ | | /%%%\%%%/ \%%%/%%%\ | | /%%%%%\%/ \%/%%%%%\ | | o%%%%%%%o o%%%%%%%o | | / \%%%%%/ \ / \%%%%%/ \ | | / \%%%/ \ / \%%%/ \ | | / \%/ \ / \%/ \ | | o o o o o | | |\ /%\ / \ /%\ /| | | | \ /%%%\ / \ /%%%\ / | | | | \ /%%%%%\ / \ /%%%%%\ / | | | | o%%%%%%%o o%%%%%%%o | | | | |\%%%%%/%\ /%\%%%%%/| | | | | | \%%%/%%%\ /%%%\%%%/ | | | | | u | \%/%%%%%\ /%%%%%\%/ | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 2.3. Dg = g + Eg 

Differential : Locally Linear Approximation

 'Tis a derivative from me to mine, And only that I stand for. — Winter's Tale, 3.2.43–44

We've talked about differentials long enough that I think it's way past time we met with some.

When the term is being used with its more exact sense, a differential is a locally linear approximation to a function, in the context of this logical discussion, then, a locally linear approximation to a proposition.

Recall the form of the current example:

 ${\displaystyle {\begin{array}{lllll}F&=&(f,g)&=&(~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~)\end{array}}}$

To speed things along, I will skip a mass of motivating discussion and just exhibit the simplest form of a differential ${\displaystyle \mathrm {d} F}$ for the current example of a logical transformation ${\displaystyle F,}$ after which the majority of the easiest questions will have been answered in visually intuitive terms.

For ${\displaystyle F=(f,g)}$ we have ${\displaystyle \mathrm {d} F=(\mathrm {d} f,\mathrm {d} g),}$ and so we can proceed componentwise, patching the pieces back together at the end.

We have prepared the ground already by computing these terms:

 ${\displaystyle {\begin{array}{lll}\mathrm {E} f&=&{\texttt {((}}u+\mathrm {d} u{\texttt {)(}}v+\mathrm {d} v{\texttt {))}}\\[8pt]\mathrm {E} g&=&{\texttt {((}}u+\mathrm {d} u{\texttt {,~}}v+\mathrm {d} v{\texttt {))}}\\[8pt]\mathrm {D} f&=&{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~+~{\texttt {((}}u+\mathrm {d} u{\texttt {)(}}v+\mathrm {d} v{\texttt {))}}\\[8pt]\mathrm {D} g&=&{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~+~{\texttt {((}}u+\mathrm {d} u{\texttt {,~}}v+\mathrm {d} v{\texttt {))}}\end{array}}}$

As a matter of fact, computing the symmetric differences ${\displaystyle \mathrm {D} f=f+\mathrm {E} f}$ and ${\displaystyle \mathrm {D} g=g+\mathrm {E} g}$ has already taken care of the localizing part of the task by subtracting out the forms of ${\displaystyle f}$ and ${\displaystyle g}$ from the forms of ${\displaystyle \mathrm {E} f}$ and ${\displaystyle \mathrm {E} g,}$ respectively. Thus all we have left to do is to decide what linear propositions best approximate the difference maps ${\displaystyle {\mathrm {D} f}}$ and ${\displaystyle {\mathrm {D} g},}$ respectively.

This raises the question: What is a linear proposition?

The answer that makes the most sense in this context is this: A proposition is just a boolean-valued function, so a linear proposition is a linear function into the boolean space ${\displaystyle \mathbb {B} .}$

In particular, the linear functions that we want will be linear functions in the differential variables ${\displaystyle \mathrm {d} u}$ and ${\displaystyle \mathrm {d} v.}$

As it turns out, there are just four linear propositions in the associated differential universe ${\displaystyle \mathrm {d} U^{\bullet }=[\mathrm {d} u,\mathrm {d} v].}$ These are the propositions that are commonly denoted: ${\displaystyle {0,~\mathrm {d} u,~\mathrm {d} v,~\mathrm {d} u+\mathrm {d} v},}$ in other words: ${\displaystyle {\texttt {(~)}},~\mathrm {d} u,~\mathrm {d} v,~{\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}.}$

Notions of Approximation

 for equalities are so weighed that curiosity in neither can make choice of either's moiety. — King Lear, Sc.1.5–7 (Quarto) for qualities are so weighed that curiosity in neither can make choice of either's moiety. — King Lear, 1.1.5–6 (Folio)

Justifying a notion of approximation is a little more involved in general, and especially in these discrete logical spaces, than it would be expedient for people in a hurry to tangle with right now. I will just say that there are naive or obvious notions and there are sophisticated or subtle notions that we might choose among. The later would engage us in trying to construct proper logical analogues of Lie derivatives, and so let's save that for when we have become subtle or sophisticated or both. Against or toward that day, as you wish, let's begin with an option in plain view.

Figure 1.4 illustrates one way of ranging over the cells of the underlying universe ${\displaystyle U^{\bullet }=[u,v]}$ and selecting at each cell the linear proposition in ${\displaystyle \mathrm {d} U^{\bullet }=[\mathrm {d} u,\mathrm {d} v]}$ that best approximates the patch of the difference map ${\displaystyle {\mathrm {D} f}}$ that is located there, yielding the following formula for the differential ${\displaystyle \mathrm {d} f.}$

 ${\displaystyle {\begin{array}{*{11}{c}}\mathrm {d} f&=&\mathrm {d} {\texttt {((}}u{\texttt {)(}}v{\texttt {))}}&=&uv\cdot 0&+&u{\texttt {(}}v{\texttt {)}}\cdot \mathrm {d} u&+&{\texttt {(}}u{\texttt {)}}v\cdot \mathrm {d} v&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}\end{array}}}$
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | / \ / \ | | / \ / \ | | / \ / \ | | o o o | | / \ / \ / \ | | / \ / \ / \ | | / \ / \ / \ | | o o o o | | / \ /%\ /%\ / \ | | / \ /%%%\ /%%%\ / \ | | / \ /%%%%%\ /%%%%%\ / \ | | o o%%%%%%%o%%%%%%%o o | | |\ /%\%%%%%/ \%%%%%/%\ /| | | | \ /%%%\%%%/ \%%%/%%%\ / | | | | \ /%%%%%\%/ \%/%%%%%\ / | | | | o%%%%%%%o o%%%%%%%o | | | | |\%%%%%/%\ /%\%%%%%/| | | | | | \%%%/%%%\ /%%%\%%%/ | | | | | u | \%/%%%%%\ /%%%%%\%/ | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 1.4. df = linear approx to Df 

Figure 2.4 illustrates one way of ranging over the cells of the underlying universe ${\displaystyle U^{\bullet }=[u,v]}$ and selecting at each cell the linear proposition in ${\displaystyle \mathrm {d} U^{\bullet }=[du,dv]}$ that best approximates the patch of the difference map ${\displaystyle \mathrm {D} g}$ that is located there, yielding the following formula for the differential ${\displaystyle \mathrm {d} g.}$

 ${\displaystyle {\begin{array}{*{11}{c}}\mathrm {d} g&=&\mathrm {d} {\texttt {((}}u{\texttt {,}}v{\texttt {))}}&=&uv\cdot {\texttt {(}}\mathrm {d} u{\texttt {,}}\mathrm {d} v{\texttt {)}}&+&u{\texttt {(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {(}}\mathrm {d} u{\texttt {,}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,}}\mathrm {d} v{\texttt {)}}\end{array}}}$
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | /%\ /%\ | | /%%%\ /%%%\ | | /%%%%%\ /%%%%%\ | | o%%%%%%%o%%%%%%%o | | /%\%%%%%/ \%%%%%/%\ | | /%%%\%%%/ \%%%/%%%\ | | /%%%%%\%/ \%/%%%%%\ | | o%%%%%%%o o%%%%%%%o | | / \%%%%%/ \ / \%%%%%/ \ | | / \%%%/ \ / \%%%/ \ | | / \%/ \ / \%/ \ | | o o o o o | | |\ /%\ / \ /%\ /| | | | \ /%%%\ / \ /%%%\ / | | | | \ /%%%%%\ / \ /%%%%%\ / | | | | o%%%%%%%o o%%%%%%%o | | | | |\%%%%%/%\ /%\%%%%%/| | | | | | \%%%/%%%\ /%%%\%%%/ | | | | | u | \%/%%%%%\ /%%%%%\%/ | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 2.4. dg = linear approx to Dg 

Well, ${\displaystyle g,}$ that was easy, seeing as how ${\displaystyle \mathrm {D} g}$ is already linear at each locus, ${\displaystyle \mathrm {d} g=\mathrm {D} g.}$

Analytic Series

We have been conducting the differential analysis of the logical transformation ${\displaystyle F:[u,v]\mapsto [u,v]}$ defined as ${\displaystyle F:(u,v)\mapsto (~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~),}$ and this means starting with the extended transformation ${\displaystyle \mathrm {E} F:[u,v,\mathrm {d} u,\mathrm {d} v]\to [u,v,\mathrm {d} u,\mathrm {d} v]}$ and breaking it into an analytic series, ${\displaystyle \mathrm {E} F=F+\mathrm {d} F+\mathrm {d} ^{2}F+\ldots ,}$ and so on until there is nothing left to analyze any further.

As a general rule, one proceeds by way of the following stages:

 ${\displaystyle {\begin{array}{*{6}{l}}1.&\mathrm {E} F&=&\mathrm {d} ^{0}F&+&\mathrm {r} ^{0}F\\2.&\mathrm {r} ^{0}F&=&\mathrm {d} ^{1}F&+&\mathrm {r} ^{1}F\\3.&\mathrm {r} ^{1}F&=&\mathrm {d} ^{2}F&+&\mathrm {r} ^{2}F\\4.&\ldots \end{array}}}$

In our analysis of the transformation ${\displaystyle F,}$ we carried out Step 1 in the more familiar form ${\displaystyle \mathrm {E} F=F+\mathrm {D} F}$ and we have just reached Step 2 in the form ${\displaystyle \mathrm {D} F=\mathrm {d} F+\mathrm {r} F,}$ where ${\displaystyle \mathrm {r} F}$ is the residual term that remains for us to examine next.

Note. I'm am trying to give quick overview here, and this forces me to omit many picky details. The picky reader may wish to consult the more detailed presentation of this material at the following locations:

Let's push on with the analysis of the transformation:

 ${\displaystyle {\begin{matrix}F&:&(u,v)&\mapsto &(f(u,v),g(u,v))&=&(~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~)\end{matrix}}}$

For ease of comparison and computation, I will collect the Figures that we need for the remainder of the work together on one page.

Computation Summary for Logical Disjunction

Figure 1.1 shows the expansion of ${\displaystyle f={\texttt {((}}u{\texttt {)(}}v{\texttt {))}}}$ over ${\displaystyle [u,v]}$ to produce the expression:

 ${\displaystyle {\begin{matrix}uv&+&u{\texttt {(}}v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)}}v\end{matrix}}}$

Figure 1.2 shows the expansion of ${\displaystyle \mathrm {E} f={\texttt {((}}u+\mathrm {d} u{\texttt {)(}}v+\mathrm {d} v{\texttt {))}}}$ over ${\displaystyle [u,v]}$ to produce the expression:

 ${\displaystyle {\begin{matrix}uv\cdot {\texttt {(}}\mathrm {d} u~\mathrm {d} v{\texttt {)}}&+&u{\texttt {(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {(}}\mathrm {d} v{\texttt {))}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {((}}\mathrm {d} u{\texttt {)}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {((}}\mathrm {d} u{\texttt {)(}}\mathrm {d} v{\texttt {))}}\end{matrix}}}$

In general, ${\displaystyle \mathrm {E} f}$ tells you what you would have to do, from wherever you are in the universe ${\displaystyle [u,v],}$ if you want to end up in a place where ${\displaystyle f}$ is true. In this case, where the prevailing proposition ${\displaystyle f}$ is ${\displaystyle {\texttt {((}}u{\texttt {)(}}v{\texttt {))}},}$ the indication ${\displaystyle uv\cdot {\texttt {(}}\mathrm {d} u~\mathrm {d} v{\texttt {)}}}$ of ${\displaystyle \mathrm {E} f}$ tells you this: If ${\displaystyle u}$ and ${\displaystyle v}$ are both true where you are, then just don't change both ${\displaystyle u}$ and ${\displaystyle v}$ at once, and you will end up in a place where ${\displaystyle {\texttt {((}}u{\texttt {)(}}v{\texttt {))}}}$ is true.

Figure 1.3 shows the expansion of ${\displaystyle \mathrm {D} f}$ over ${\displaystyle [u,v]}$ to produce the expression:

 ${\displaystyle {\begin{matrix}uv\cdot \mathrm {d} u~\mathrm {d} v&+&u{\texttt {(}}v{\texttt {)}}\cdot \mathrm {d} u{\texttt {(}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {(}}\mathrm {d} u{\texttt {)}}\mathrm {d} v&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {((}}\mathrm {d} u{\texttt {)(}}\mathrm {d} v{\texttt {))}}\end{matrix}}}$

In general, ${\displaystyle {\mathrm {D} f}}$ tells you what you would have to do, from wherever you are in the universe ${\displaystyle [u,v],}$ if you want to bring about a change in the value of ${\displaystyle f,}$ that is, if you want to get to a place where the value of ${\displaystyle f}$ is different from what it is where you are. In the present case, where the reigning proposition ${\displaystyle f}$ is ${\displaystyle {\texttt {((}}u{\texttt {)(}}v{\texttt {))}},}$ the term ${\displaystyle uv\cdot \mathrm {d} u~\mathrm {d} v}$ of ${\displaystyle {\mathrm {D} f}}$ tells you this: If ${\displaystyle u}$ and ${\displaystyle v}$ are both true where you are, then you would have to change both ${\displaystyle u}$ and ${\displaystyle v}$ in order to reach a place where the value of ${\displaystyle f}$ is different from what it is where you are.

Figure 1.4 approximates ${\displaystyle {\mathrm {D} f}}$ by the linear form ${\displaystyle \mathrm {d} f}$ that expands over ${\displaystyle [u,v]}$ as follows:

 ${\displaystyle {\begin{matrix}\mathrm {d} f&=&uv\cdot 0&+&u{\texttt {(}}v{\texttt {)}}\cdot \mathrm {d} u&+&{\texttt {(}}u{\texttt {)}}v\cdot \mathrm {d} v&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}\\[8pt]&=&&&u{\texttt {(}}v{\texttt {)}}\cdot \mathrm {d} u&+&{\texttt {(}}u{\texttt {)}}v\cdot \mathrm {d} v&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}\end{matrix}}}$

Figure 1.5 shows what remains of the difference map ${\displaystyle {\mathrm {D} f}}$ when the first order linear contribution ${\displaystyle \mathrm {d} f}$ is removed, namely:

 ${\displaystyle {\begin{array}{*{9}{l}}\mathrm {r} f&=&uv\cdot \mathrm {d} u~\mathrm {d} v&+&u{\texttt {(}}v{\texttt {)}}\cdot \mathrm {d} u~\mathrm {d} v&+&{\texttt {(}}u{\texttt {)}}v\cdot \mathrm {d} u~\mathrm {d} v&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot \mathrm {d} u~\mathrm {d} v\\[8pt]&=&\mathrm {d} u~\mathrm {d} v\end{array}}}$
 o---------------------------------------o | | | o | | /%\ | | /%%%\ | | /%%%%%\ | | o%%%%%%%o | | /%\%%%%%/%\ | | /%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o | | /%\%%%%%/%\%%%%%/%\ | | /%%%\%%%/%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o%%%%%%%o | | /%\%%%%%/%\%%%%%/%\%%%%%/%\ | | /%%%\%%%/%%%\%%%/%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\%/%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o%%%%%%%o%%%%%%%o | | |\%%%%%/%\%%%%%/ \%%%%%/%\%%%%%/| | | | \%%%/%%%\%%%/ \%%%/%%%\%%%/ | | | | \%/%%%%%\%/ \%/%%%%%\%/ | | | | o%%%%%%%o o%%%%%%%o | | | | |\%%%%%/ \ / \%%%%%/| | | | | | \%%%/ \ / \%%%/ | | | | | u | \%/ \ / \%/ | v | | | o---+---o o o---+---o | | | \ / \ / | | | | \ / \ / | | | | du \ / \ / dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 1.1. f = ((u)(v)) 
 o---------------------------------------o | | | o | | /%\ | | /%%%\ | | /%%%%%\ | | o%%%%%%%o | | /%\%%%%%/%\ | | /%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o | | /%\%%%%%/ \%%%%%/%\ | | /%%%\%%%/ \%%%/%%%\ | | /%%%%%\%/ \%/%%%%%\ | | o%%%%%%%o o%%%%%%%o | | /%\%%%%%/%\ /%\%%%%%/%\ | | /%%%\%%%/%%%\ /%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\ /%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o%%%%%%%o%%%%%%%o | | |\%%%%%/ \%%%%%/%\%%%%%/ \%%%%%/| | | | \%%%/ \%%%/%%%\%%%/ \%%%/ | | | | \%/ \%/%%%%%\%/ \%/ | | | | o o%%%%%%%o o | | | | |\ /%\%%%%%/%\ /| | | | | | \ /%%%\%%%/%%%\ / | | | | | u | \ /%%%%%\%/%%%%%\ / | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 1.2. Ef = ((u + du)(v + dv)) 
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | / \ / \ | | / \ / \ | | / \ / \ | | o o o | | / \ /%\ / \ | | / \ /%%%\ / \ | | / \ /%%%%%\ / \ | | o o%%%%%%%o o | | / \ / \%%%%%/ \ / \ | | / \ / \%%%/ \ / \ | | / \ / \%/ \ / \ | | o o o o o | | |\ /%\ /%\ /%\ /| | | | \ /%%%\ /%%%\ /%%%\ / | | | | \ /%%%%%\ /%%%%%\ /%%%%%\ / | | | | o%%%%%%%o%%%%%%%o%%%%%%%o | | | | |\%%%%%/%\%%%%%/%\%%%%%/| | | | | | \%%%/%%%\%%%/%%%\%%%/ | | | | | u | \%/%%%%%\%/%%%%%\%/ | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 1.3. Difference Map Df = f + Ef 
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | / \ / \ | | / \ / \ | | / \ / \ | | o o o | | / \ / \ / \ | | / \ / \ / \ | | / \ / \ / \ | | o o o o | | / \ /%\ /%\ / \ | | / \ /%%%\ /%%%\ / \ | | / \ /%%%%%\ /%%%%%\ / \ | | o o%%%%%%%o%%%%%%%o o | | |\ /%\%%%%%/ \%%%%%/%\ /| | | | \ /%%%\%%%/ \%%%/%%%\ / | | | | \ /%%%%%\%/ \%/%%%%%\ / | | | | o%%%%%%%o o%%%%%%%o | | | | |\%%%%%/%\ /%\%%%%%/| | | | | | \%%%/%%%\ /%%%\%%%/ | | | | | u | \%/%%%%%\ /%%%%%\%/ | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 1.4. Linear Proxy df for Df 
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | / \ / \ | | / \ / \ | | / \ / \ | | o o o | | / \ /%\ / \ | | / \ /%%%\ / \ | | / \ /%%%%%\ / \ | | o o%%%%%%%o o | | / \ /%\%%%%%/%\ / \ | | / \ /%%%\%%%/%%%\ / \ | | / \ /%%%%%\%/%%%%%\ / \ | | o o%%%%%%%o%%%%%%%o o | | |\ / \%%%%%/%\%%%%%/ \ /| | | | \ / \%%%/%%%\%%%/ \ / | | | | \ / \%/%%%%%\%/ \ / | | | | o o%%%%%%%o o | | | | |\ / \%%%%%/ \ /| | | | | | \ / \%%%/ \ / | | | | | u | \ / \%/ \ / | v | | | o---+---o o o---+---o | | | \ / \ / | | | | \ / \ / | | | | du \ / \ / dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 1.5. Remainder rf = Df + df 

Computation Summary for Logical Equality

Figure 2.1 shows the expansion of ${\displaystyle g={\texttt {((}}u{\texttt {,~}}v{\texttt {))}}}$ over ${\displaystyle [u,v]}$ to produce the expression:

 ${\displaystyle {\begin{matrix}uv&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\end{matrix}}}$

Figure 2.2 shows the expansion of ${\displaystyle \mathrm {E} g={\texttt {((}}u+\mathrm {d} u{\texttt {,~}}v+\mathrm {d} v{\texttt {))}}}$ over ${\displaystyle [u,v]}$ to produce the expression:

 ${\displaystyle {\begin{matrix}uv\cdot {\texttt {((}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {))}}&+&u{\texttt {(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {((}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {))}}\end{matrix}}}$

In general, ${\displaystyle \mathrm {E} g}$ tells you what you would have to do, from wherever you are in the universe ${\displaystyle [u,v],}$ if you want to end up in a place where ${\displaystyle g}$ is true. In this case, where the prevailing proposition ${\displaystyle g}$ is ${\displaystyle {\texttt {((}}u{\texttt {,~}}v{\texttt {))}},}$ the component ${\displaystyle uv\cdot {\texttt {((}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {))}}}$ of ${\displaystyle \mathrm {E} g}$ tells you this: If ${\displaystyle u}$ and ${\displaystyle v}$ are both true where you are, then change either both or neither of ${\displaystyle u}$ and ${\displaystyle v}$ at the same time, and you will attain a place where ${\displaystyle {\texttt {((}}u{\texttt {,~}}v{\texttt {))}}}$ is true.

Figure 2.3 shows the expansion of ${\displaystyle \mathrm {D} g}$ over ${\displaystyle [u,v]}$ to produce the expression:

 ${\displaystyle {\begin{matrix}uv\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&u{\texttt {(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}\end{matrix}}}$

In general, ${\displaystyle \mathrm {D} g}$ tells you what you would have to do, from wherever you are in the universe ${\displaystyle [u,v],}$ if you want to bring about a change in the value of ${\displaystyle g,}$ that is, if you want to get to a place where the value of ${\displaystyle g}$ is different from what it is where you are. In the present case, where the ruling proposition ${\displaystyle g}$ is ${\displaystyle {\texttt {((}}u{\texttt {,~}}v{\texttt {))}},}$ the term ${\displaystyle uv\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}}$ of ${\displaystyle \mathrm {D} g}$ tells you this: If ${\displaystyle u}$ and ${\displaystyle v}$ are both true where you are, then you would have to change one or the other but not both ${\displaystyle u}$ and ${\displaystyle v}$ in order to reach a place where the value of ${\displaystyle g}$ is different from what it is where you are.

Figure 2.4 approximates ${\displaystyle \mathrm {D} g}$ by the linear form ${\displaystyle {\mathrm {d} g}}$ that expands over ${\displaystyle [u,v]}$ as follows:

 ${\displaystyle {\begin{array}{*{9}{l}}\mathrm {d} g&=&uv\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&u{\texttt {(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)}}v\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot {\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}\\[8pt]&=&{\texttt {(}}\mathrm {d} u{\texttt {,~}}\mathrm {d} v{\texttt {)}}\end{array}}}$

Figure 2.5 shows what remains of the difference map ${\displaystyle \mathrm {D} g}$ when the first order linear contribution ${\displaystyle {\mathrm {d} g}}$ is removed, namely:

 ${\displaystyle {\begin{array}{*{9}{l}}\mathrm {r} g&=&uv\cdot 0&+&u{\texttt {(}}v{\texttt {)}}\cdot 0&+&{\texttt {(}}u{\texttt {)}}v\cdot 0&+&{\texttt {(}}u{\texttt {)(}}v{\texttt {)}}\cdot 0\\[8pt]&=&0\end{array}}}$
 o---------------------------------------o | | | o | | /%\ | | /%%%\ | | /%%%%%\ | | o%%%%%%%o | | /%\%%%%%/%\ | | /%%%\%%%/%%%\ | | /%%%%%\%/%%%%%\ | | o%%%%%%%o%%%%%%%o | | / \%%%%%/%\%%%%%/ \ | | / \%%%/%%%\%%%/ \ | | / \%/%%%%%\%/ \ | | o o%%%%%%%o o | | / \ / \%%%%%/ \ / \ | | / \ / \%%%/ \ / \ | | / \ / \%/ \ / \ | | o o o o o | | |\ / \ /%\ / \ /| | | | \ / \ /%%%\ / \ / | | | | \ / \ /%%%%%\ / \ / | | | | o o%%%%%%%o o | | | | |\ /%\%%%%%/%\ /| | | | | | \ /%%%\%%%/%%%\ / | | | | | u | \ /%%%%%\%/%%%%%\ / | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/%\%%%%%/ | | | | \%%%/%%%\%%%/ | | | | du \%/%%%%%\%/ dv | | | o-------o%%%%%%%o-------o | | \%%%%%/ | | \%%%/ | | \%/ | | o | | | o---------------------------------------o Figure 2.1. g = ((u, v)) 
 o---------------------------------------o | | | o | | /%\ | | /%%%\ | | /%%%%%\ | | o%%%%%%%o | | / \%%%%%/ \ | | / \%%%/ \ | | / \%/ \ | | o o o | | /%\ /%\ /%\ | | /%%%\ /%%%\ /%%%\ | | /%%%%%\ /%%%%%\ /%%%%%\ | | o%%%%%%%o%%%%%%%o%%%%%%%o | | / \%%%%%/ \%%%%%/ \%%%%%/ \ | | / \%%%/ \%%%/ \%%%/ \ | | / \%/ \%/ \%/ \ | | o o o o o | | |\ /%\ /%\ /%\ /| | | | \ /%%%\ /%%%\ /%%%\ / | | | | \ /%%%%%\ /%%%%%\ /%%%%%\ / | | | | o%%%%%%%o%%%%%%%o%%%%%%%o | | | | |\%%%%%/ \%%%%%/ \%%%%%/| | | | | | \%%%/ \%%%/ \%%%/ | | | | | u | \%/ \%/ \%/ | v | | | o---+---o o o---+---o | | | \ /%\ / | | | | \ /%%%\ / | | | | du \ /%%%%%\ / dv | | | o-------o%%%%%%%o-------o | | \%%%%%/ | | \%%%/ | | \%/ | | o | | | o---------------------------------------o Figure 2.2. Eg = ((u + du, v + dv)) 
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | /%\ /%\ | | /%%%\ /%%%\ | | /%%%%%\ /%%%%%\ | | o%%%%%%%o%%%%%%%o | | /%\%%%%%/ \%%%%%/%\ | | /%%%\%%%/ \%%%/%%%\ | | /%%%%%\%/ \%/%%%%%\ | | o%%%%%%%o o%%%%%%%o | | / \%%%%%/ \ / \%%%%%/ \ | | / \%%%/ \ / \%%%/ \ | | / \%/ \ / \%/ \ | | o o o o o | | |\ /%\ / \ /%\ /| | | | \ /%%%\ / \ /%%%\ / | | | | \ /%%%%%\ / \ /%%%%%\ / | | | | o%%%%%%%o o%%%%%%%o | | | | |\%%%%%/%\ /%\%%%%%/| | | | | | \%%%/%%%\ /%%%\%%%/ | | | | | u | \%/%%%%%\ /%%%%%\%/ | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 2.3. Difference Map Dg = g + Eg 
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | /%\ /%\ | | /%%%\ /%%%\ | | /%%%%%\ /%%%%%\ | | o%%%%%%%o%%%%%%%o | | /%\%%%%%/ \%%%%%/%\ | | /%%%\%%%/ \%%%/%%%\ | | /%%%%%\%/ \%/%%%%%\ | | o%%%%%%%o o%%%%%%%o | | / \%%%%%/ \ / \%%%%%/ \ | | / \%%%/ \ / \%%%/ \ | | / \%/ \ / \%/ \ | | o o o o o | | |\ /%\ / \ /%\ /| | | | \ /%%%\ / \ /%%%\ / | | | | \ /%%%%%\ / \ /%%%%%\ / | | | | o%%%%%%%o o%%%%%%%o | | | | |\%%%%%/%\ /%\%%%%%/| | | | | | \%%%/%%%\ /%%%\%%%/ | | | | | u | \%/%%%%%\ /%%%%%\%/ | v | | | o---+---o%%%%%%%o%%%%%%%o---+---o | | | \%%%%%/ \%%%%%/ | | | | \%%%/ \%%%/ | | | | du \%/ \%/ dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 2.4. Linear Proxy dg for Dg 
 o---------------------------------------o | | | o | | / \ | | / \ | | / \ | | o o | | / \ / \ | | / \ / \ | | / \ / \ | | o o o | | / \ / \ / \ | | / \ / \ / \ | | / \ / \ / \ | | o o o o | | / \ / \ / \ / \ | | / \ / \ / \ / \ | | / \ / \ / \ / \ | | o o o o o | | |\ / \ / \ / \ /| | | | \ / \ / \ / \ / | | | | \ / \ / \ / \ / | | | | o o o o | | | | |\ / \ / \ /| | | | | | \ / \ / \ / | | | | | u | \ / \ / \ / | v | | | o---+---o o o---+---o | | | \ / \ / | | | | \ / \ / | | | | du \ / \ / dv | | | o-------o o-------o | | \ / | | \ / | | \ / | | o | | | o---------------------------------------o Figure 2.5. Remainder rg = Dg + dg 

| Have I carved enough, my lord --
| Child, you are a bone.
|
| Leonard Cohen, "Teachers" (1967)


Visualization

In my work on Differential Logic and Dynamic Systems, I found it useful to develop several different ways of visualizing logical transformations, indeed, I devised four distinct styles of picture for the job. Thus far in our work on the mapping ${\displaystyle F:[u,v]\to [u,v],}$ we've been making use of what I call the areal view of the extended universe of discourse, ${\displaystyle [u,v,\mathrm {d} u,\mathrm {d} v],}$ but as the number of dimensions climbs beyond four, it's time to bid this genre adieu and look for a style that can scale a little better. At any rate, before we proceed any further, let's first assemble the information that we have gathered about ${\displaystyle F}$ from several different angles, and see if it can be fitted into a coherent picture of the transformation ${\displaystyle F:(u,v)\mapsto (~{\texttt {((}}u{\texttt {)(}}v{\texttt {))}}~,~{\texttt {((}}u{\texttt {,~}}v{\texttt {))}}~).}$

In our first crack at the transformation ${\displaystyle F,}$ we simply plotted the state transitions and applied the utterly stock technique of calculating the finite differences.

 ${\displaystyle {\text{Orbit 1}}}$ ${\displaystyle {\begin{array}{c|cc|cc|}t&u&v&\mathrm {d} u&\mathrm {d} v\\[8pt]0&1&1&0&0\\1&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }\end{array}}}$

A quick inspection of the first Table suggests a rule to cover the case when ${\displaystyle u=v=1,}$ namely, ${\displaystyle \mathrm {d} u=\mathrm {d} v=0.}$ To put it another way, the Table characterizes Orbit 1 by means of the data: ${\displaystyle (u,v,\mathrm {d} u,\mathrm {d} v)=(1,1,0,0).}$ Another way to convey the same information is by means of the extended proposition: ${\displaystyle uv{\texttt {(}}\mathrm {d} u{\texttt {)(}}\mathrm {d} v{\texttt {)}}.}$

 ${\displaystyle {\text{Orbit 2}}}$ ${\displaystyle {\begin{array}{c|cc|cc|cc|}t&u&v&\mathrm {d} u&\mathrm {d} v&\mathrm {d} ^{2}u&\mathrm {d} ^{2}v\\[8pt]0&0&0&0&1&1&0\\1&0&1&1&1&1&1\\2&1&0&0&0&0&0\\3&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }&{}^{\shortparallel }\end{array}}}$

A more fine combing of the second Table brings to mind a rule that partly covers the remaining cases, that is, ${\displaystyle \mathrm {d} u=v,~\mathrm {d} v={\texttt {(}}u{\texttt {)}}.}$ This much information about Orbit 2 is also encapsulated by the extended proposition ${\displaystyle {\texttt {(}}uv{\texttt {)((}}\mathrm {d} u{\texttt {,}}v{\texttt {))(}}\mathrm {d} v,u{\texttt {)}},}$ which says that ${\displaystyle u}$ and ${\displaystyle v}$ are not both true at the same time, while ${\displaystyle \mathrm {d} u}$ is equal in value to ${\displaystyle v}$ and ${\displaystyle \mathrm {d} v}$ is opposite in value to ${\displaystyle u.}$

Turing Machine Example

See Theme One Program for documentation of the cactus graph syntax and the propositional modeling program used below.

By way of providing a simple illustration of Cook's Theorem, namely, that “Propositional Satisfiability is NP-Complete”, I will describe one way to translate finite approximations of turing machines into propositional expressions, using the cactus language syntax for propositional calculus that I will describe in more detail as we proceed.

${\displaystyle \mathrm {Stilt} (k)=}$
Space and time limited turing machine,
with ${\displaystyle k}$ units of space and ${\displaystyle k}$ units of time.
${\displaystyle \mathrm {Stunt} (k)=}$
Space and time limited turing machine,
for computing the parity of a bit string, with number of tape cells of input equal to ${\displaystyle k.}$

I will follow the pattern of discussion in Herbert Wilf (1986), Algorithms and Complexity, pp. 188–201, but translate his logical formalism into cactus language, which is more efficient in regard to the number of propositional clauses that are required.

A turing machine for computing the parity of a bit string is described by means of the following Figure and Table.

 400px ${\displaystyle {\text{Figure 3.}}~~{\text{Parity Machine}}}$

 Table 4. Parity Machine o-------o--------o-------------o---------o------------o | State | Symbol | Next Symbol | Ratchet | Next State | | Q | S | S' | dR | Q' | o-------o--------o-------------o---------o------------o | 0 | 0 | 0 | +1 | 0 | | 0 | 1 | 1 | +1 | 1 | | 0 | # | # | -1 | # | | 1 | 0 | 0 | +1 | 1 | | 1 | 1 | 1 | +1 | 0 | | 1 | # | # | -1 | * | o-------o--------o-------------o---------o------------o 

The TM has a finite automaton (FA) as one component. Let us refer to this particular FA by the name of ${\displaystyle \mathrm {M} .}$

The tape head (that is, the read unit) will be called ${\displaystyle \mathrm {H} .}$ The registers are also called tape cells or tape squares.

Finite Approximations

To see how each finite approximation to a given turing machine can be given a purely propositional description, one fixes the parameter ${\displaystyle k}$ and limits the rest of the discussion to describing ${\displaystyle \mathrm {Stilt} (k),}$ which is not really a full-fledged TM anymore but just a finite automaton in disguise.

In this example, for the sake of a minimal illustration, we choose ${\displaystyle k=2,}$ and discuss ${\displaystyle \mathrm {Stunt} (2).}$ Since the zeroth tape cell and the last tape cell are both occupied by the character ${\displaystyle ^{\backprime \backprime }{\texttt {\#}}^{\prime \prime }}$ that is used for both the beginning of file ${\displaystyle (\mathrm {bof} )}$ and the end of file ${\displaystyle (\mathrm {eof} )}$ markers, this allows for only one digit of significant computation.

To translate ${\displaystyle \mathrm {Stunt} (2)}$ into propositional form we use the following collection of basic propositions, boolean variables, or logical features, depending on what one prefers to call them:

The basic propositions for describing the present state function ${\displaystyle \mathrm {QF} :P\to Q}$ are these:

 ${\displaystyle {\begin{matrix}{\texttt {p0\_q\#}},&{\texttt {p0\_q*}},&{\texttt {p0\_q0}},&{\texttt {p0\_q1}},\\[6pt]{\texttt {p1\_q\#}},&{\texttt {p1\_q*}},&{\texttt {p1\_q0}},&{\texttt {p1\_q1}},\\[6pt]{\texttt {p2\_q\#}},&{\texttt {p2\_q*}},&{\texttt {p2\_q0}},&{\texttt {p2\_q1}},\\[6pt]{\texttt {p3\_q\#}},&{\texttt {p3\_q*}},&{\texttt {p3\_q0}},&{\texttt {p3\_q1}}.\end{matrix}}}$

The proposition of the form ${\displaystyle {\texttt {pi\_qj}}}$ says:

 At the point-in-time ${\displaystyle p_{i},}$ the finite state machine ${\displaystyle \mathrm {M} }$ is in the state ${\displaystyle q_{j}.}$

The basic propositions for describing the present register function ${\displaystyle \mathrm {RF} :P\to R}$ are these:

 ${\displaystyle {\begin{matrix}{\texttt {p0\_r0}},&{\texttt {p0\_r1}},&{\texttt {p0\_r2}},&{\texttt {p0\_r3}},\\[6pt]{\texttt {p1\_r0}},&{\texttt {p1\_r1}},&{\texttt {p1\_r2}},&{\texttt {p1\_r3}},\\[6pt]{\texttt {p2\_r0}},&{\texttt {p2\_r1}},&{\texttt {p2\_r2}},&{\texttt {p2\_r3}},\\[6pt]{\texttt {p3\_r0}},&{\texttt {p3\_r1}},&{\texttt {p3\_r2}},&{\texttt {p3\_r3}}.\end{matrix}}}$

The proposition of the form ${\displaystyle {\texttt {pi\_rj}}}$ says:

 At the point-in-time ${\displaystyle p_{i},}$ the tape head ${\displaystyle \mathrm {H} }$ is on the tape cell ${\displaystyle r_{j}.}$

The basic propositions for describing the present symbol function ${\displaystyle \mathrm {SF} :P\to (R\to S)}$ are these:

 ${\displaystyle {\begin{matrix}{\texttt {p0\_r0\_s\#}},&{\texttt {p0\_r0\_s*}},&{\texttt {p0\_r0\_s0}},&{\texttt {p0\_r0\_s1}},\\[4pt]{\texttt {p0\_r1\_s\#}},&{\texttt {p0\_r1\_s*}},&{\texttt {p0\_r1\_s0}},&{\texttt {p0\_r1\_s1}},\\[4pt]{\texttt {p0\_r2\_s\#}},&{\texttt {p0\_r2\_s*}},&{\texttt {p0\_r2\_s0}},&{\texttt {p0\_r2\_s1}},\\[4pt]{\texttt {p0\_r3\_s\#}},&{\texttt {p0\_r3\_s*}},&{\texttt {p0\_r3\_s0}},&{\texttt {p0\_r3\_s1}},\\[12pt]{\texttt {p1\_r0\_s\#}},&{\texttt {p1\_r0\_s*}},&{\texttt {p1\_r0\_s0}},&{\texttt {p1\_r0\_s1}},\\[4pt]{\texttt {p1\_r1\_s\#}},&{\texttt {p1\_r1\_s*}},&{\texttt {p1\_r1\_s0}},&{\texttt {p1\_r1\_s1}},\\[4pt]{\texttt {p1\_r2\_s\#}},&{\texttt {p1\_r2\_s*}},&{\texttt {p1\_r2\_s0}},&{\texttt {p1\_r2\_s1}},\\[4pt]{\texttt {p1\_r3\_s\#}},&{\texttt {p1\_r3\_s*}},&{\texttt {p1\_r3\_s0}},&{\texttt {p1\_r3\_s1}},\\[12pt]{\texttt {p2\_r0\_s\#}},&{\texttt {p2\_r0\_s*}},&{\texttt {p2\_r0\_s0}},&{\texttt {p2\_r0\_s1}},\\[4pt]{\texttt {p2\_r1\_s\#}},&{\texttt {p2\_r1\_s*}},&{\texttt {p2\_r1\_s0}},&{\texttt {p2\_r1\_s1}},\\[4pt]{\texttt {p2\_r2\_s\#}},&{\texttt {p2\_r2\_s*}},&{\texttt {p2\_r2\_s0}},&{\texttt {p2\_r2\_s1}},\\[4pt]{\texttt {p2\_r3\_s\#}},&{\texttt {p2\_r3\_s*}},&{\texttt {p2\_r3\_s0}},&{\texttt {p2\_r3\_s1}},\\[12pt]{\texttt {p3\_r0\_s\#}},&{\texttt {p3\_r0\_s*}},&{\texttt {p3\_r0\_s0}},&{\texttt {p3\_r0\_s1}},\\[4pt]{\texttt {p3\_r1\_s\#}},&{\texttt {p3\_r1\_s*}},&{\texttt {p3\_r1\_s0}},&{\texttt {p3\_r1\_s1}},\\[4pt]{\texttt {p3\_r2\_s\#}},&{\texttt {p3\_r2\_s*}},&{\texttt {p3\_r2\_s0}},&{\texttt {p3\_r2\_s1}},\\[4pt]{\texttt {p3\_r3\_s\#}},&{\texttt {p3\_r3\_s*}},&{\texttt {p3\_r3\_s0}},&{\texttt {p3\_r3\_s1}}.\end{matrix}}}$

The proposition of the form ${\displaystyle {\texttt {pi\_rj\_sk}}}$ says:

 At the point-in-time ${\displaystyle p_{i},}$ the tape cell ${\displaystyle r_{j}}$ bears the mark ${\displaystyle s_{k}.}$

Initial Conditions

Given but a single free square on the tape, there are just two different sets of initial conditions for ${\displaystyle \mathrm {Stunt} (2),}$ the finite approximation to the parity turing machine that we are presently considering.

Initial Conditions for Tape Input "0"

The following conjunction of 5 basic propositions describes the initial conditions when ${\displaystyle \mathrm {Stunt} (2)}$ is started with an input of "0" in its free square:

 ${\displaystyle {\begin{array}{l}{\texttt {p0\_q0}}\\\\{\texttt {p0\_r1}}\\\\{\texttt {p0\_r0\_s\#}}\\{\texttt {p0\_r1\_s0}}\\{\texttt {p0\_r2\_s\#}}\end{array}}}$

This conjunction of basic propositions may be read as follows:

 At time ${\displaystyle p_{0},}$ machine ${\displaystyle \mathrm {M} }$ is in the state ${\displaystyle q_{0},}$ At time ${\displaystyle p_{0},}$ scanner ${\displaystyle \mathrm {H} }$ is reading cell ${\displaystyle r_{1},}$ At time ${\displaystyle p_{0},}$ cell ${\displaystyle r_{0}}$ contains the symbol ${\displaystyle {\texttt {\#}},}$ At time ${\displaystyle p_{0},}$ cell ${\displaystyle r_{1}}$ contains the symbol ${\displaystyle {\texttt {0}},}$ At time ${\displaystyle p_{0},}$ cell ${\displaystyle r_{2}}$ contains the symbol ${\displaystyle {\texttt {\#}}.}$

Initial Conditions for Tape Input "1"

The following conjunction of 5 basic propositions describes the initial conditions when ${\displaystyle \mathrm {Stunt} (2)}$ is started with an input of "1" in its free square:

 ${\displaystyle {\begin{array}{l}{\texttt {p0\_q0}}\\\\{\texttt {p0\_r1}}\\\\{\texttt {p0\_r0\_s\#}}\\{\texttt {p0\_r1\_s1}}\\{\texttt {p0\_r2\_s\#}}\end{array}}}$

This conjunction of basic propositions may be read as follows:

 At time ${\displaystyle p_{0},}$ machine ${\displaystyle \mathrm {M} }$ is in the state ${\displaystyle q_{0},}$ At time ${\displaystyle p_{0},}$ scanner ${\displaystyle \mathrm {H} }$ is reading cell ${\displaystyle r_{1},}$ At time ${\displaystyle p_{0},}$ cell ${\displaystyle r_{0}}$ contains the symbol ${\displaystyle {\texttt {\#}},}$ At time ${\displaystyle p_{0},}$ cell ${\displaystyle r_{1}}$ contains the symbol ${\displaystyle {\texttt {1}},}$ At time ${\displaystyle p_{0},}$ cell ${\displaystyle r_{2}}$ contains the symbol ${\displaystyle {\texttt {\#}}.}$

Propositional Program

A complete description of ${\displaystyle \mathrm {Stunt} (2)}$ in propositional form is obtained by conjoining one of the above choices for initial conditions with all of the following sets of propositions, that serve in effect as a simple type of declarative program, telling us all that we need to know about the anatomy and behavior of the truncated TM in question.

Mediate Conditions

 ${\displaystyle {\begin{array}{l}{\texttt {(~p0\_q\#~(~p1\_q\#~))}}\\{\texttt {(~p0\_q*~(~p1\_q*~))}}\\\\{\texttt {(~p1\_q\#~(~p2\_q\#~))}}\\{\texttt {(~p1\_q*~(~p2\_q*~))}}\end{array}}}$

Terminal Conditions

 ${\displaystyle {\begin{array}{l}{\texttt {((~p2\_q\#~)(~p2\_q*~))}}\end{array}}}$

State Partition

 ${\displaystyle {\begin{array}{l}{\texttt {((~p0\_q0~),(~p0\_q1~),(~p0\_q\#~),(~p0\_q*~))}}\\{\texttt {((~p1\_q0~),(~p1\_q1~),(~p1\_q\#~),(~p1\_q*~))}}\\{\texttt {((~p2\_q0~),(~p2\_q1~),(~p2\_q\#~),(~p2\_q*~))}}\end{array}}}$

Register Partition

 ${\displaystyle {\begin{array}{l}{\texttt {((~p0\_r0~),(~p0\_r1~),(~p0\_r2~))}}\\{\texttt {((~p1\_r0~),(~p1\_r1~),(~p1\_r2~))}}\\{\texttt {((~p2\_r0~),(~p2\_r1~),(~p2\_r2~))}}\end{array}}}$

Symbol Partition

 ${\displaystyle {\begin{array}{l}{\texttt {((~p0\_r0\_s0~),(~p0\_r0\_s1~),(~p0\_r0\_s\#~))}}\\{\texttt {((~p0\_r1\_s0~),(~p0\_r1\_s1~),(~p0\_r1\_s\#~))}}\\{\texttt {((~p0\_r2\_s0~),(~p0\_r2\_s1~),(~p0\_r2\_s\#~))}}\\\\{\texttt {((~p1\_r0\_s0~),(~p1\_r0\_s1~),(~p1\_r0\_s\#~))}}\\{\texttt {((~p1\_r1\_s0~),(~p1\_r1\_s1~),(~p1\_r1\_s\#~))}}\\{\texttt {((~p1\_r2\_s0~),(~p1\_r2\_s1~),(~p1\_r2\_s\#~))}}\\\\{\texttt {((~p2\_r0\_s0~),(~p2\_r0\_s1~),(~p2\_r0\_s\#~))}}\\{\texttt {((~p2\_r1\_s0~),(~p2\_r1\_s1~),(~p2\_r1\_s\#~))}}\\{\texttt {((~p2\_r2\_s0~),(~p2\_r2\_s1~),(~p2\_r2\_s\#~))}}\end{array}}}$

Interaction Conditions

 ${\displaystyle {\begin{array}{l}{\texttt {((~p0\_r0~)~p0\_r0\_s0~(~p1\_r0\_s0~))}}\\{\texttt {((~p0\_r0~)~p0\_r0\_s1~(~p1\_r0\_s1~))}}\\{\texttt {((~p0\_r0~)~p0\_r0\_s\#~(~p1\_r0\_s\#~))}}\\\\{\texttt {((~p0\_r1~)~p0\_r1\_s0~(~p1\_r1\_s0~))}}\\{\texttt {((~p0\_r1~)~p0\_r1\_s1~(~p1\_r1\_s1~))}}\\{\texttt {((~p0\_r1~)~p0\_r1\_s\#~(~p1\_r1\_s\#~))}}\\\\{\texttt {((~p0\_r2~)~p0\_r2\_s0~(~p1\_r2\_s0~))}}\\{\texttt {((~p0\_r2~)~p0\_r2\_s1~(~p1\_r2\_s1~))}}\\{\texttt {((~p0\_r2~)~p0\_r2\_s\#~(~p1\_r2\_s\#~))}}\\\\{\texttt {((~p1\_r0~)~p1\_r0\_s0~(~p2\_r0\_s0~))}}\\{\texttt {((~p1\_r0~)~p1\_r0\_s1~(~p2\_r0\_s1~))}}\\{\texttt {((~p1\_r0~)~p1\_r0\_s\#~(~p2\_r0\_s\#~))}}\\\\{\texttt {((~p1\_r1~)~p1\_r1\_s0~(~p2\_r1\_s0~))}}\\{\texttt {((~p1\_r1~)~p1\_r1\_s1~(~p2\_r1\_s1~))}}\\{\texttt {((~p1\_r1~)~p1\_r1\_s\#~(~p2\_r1\_s\#~))}}\\\\{\texttt {((~p1\_r2~)~p1\_r2\_s0~(~p2\_r2\_s0~))}}\\{\texttt {((~p1\_r2~)~p1\_r2\_s1~(~p2\_r2\_s1~))}}\\{\texttt {((~p1\_r2~)~p1\_r2\_s\#~(~p2\_r2\_s\#~))}}\end{array}}}$

Transition Relations

 ${\displaystyle {\begin{array}{l}{\texttt {(~p0\_q0~~p0\_r1~~p0\_r1\_s0~~(~p1\_q0~~p1\_r2~~p1\_r1\_s0~))}}\\{\texttt {(~p0\_q0~~p0\_r1~~p0\_r1\_s1~~(~p1\_q1~~p1\_r2~~p1\_r1\_s1~))}}\\{\texttt {(~p0\_q0~~p0\_r1~~p0\_r1\_s\#~~(~p1\_q\#~~p1\_r0~~p1\_r1\_s\#~))}}\\{\texttt {(~p0\_q0~~p0\_r2~~p0\_r2\_s\#~~(~p1\_q\#~~p1\_r1~~p1\_r2\_s\#~))}}\\\\{\texttt {(~p0\_q1~~p0\_r1~~p0\_r1\_s0~~(~p1\_q1~~p1\_r2~~p1\_r1\_s0~))}}\\{\texttt {(~p0\_q1~~p0\_r1~~p0\_r1\_s1~~(~p1\_q0~~p1\_r2~~p1\_r1\_s1~))}}\\{\texttt {(~p0\_q1~~p0\_r1~~p0\_r1\_s\#~~(~p1\_q*~~p1\_r0~~p1\_r1\_s\#~))}}\\{\texttt {(~p0\_q1~~p0\_r2~~p0\_r2\_s\#~~(~p1\_q*~~p1\_r1~~p1\_r2\_s\#~))}}\\\\{\texttt {(~p1\_q0~~p1\_r1~~p1\_r1\_s0~~(~p2\_q0~~p2\_r2~~p2\_r1\_s0~))}}\\{\texttt {(~p1\_q0~~p1\_r1~~p1\_r1\_s1~~(~p2\_q1~~p2\_r2~~p2\_r1\_s1~))}}\\{\texttt {(~p1\_q0~~p1\_r1~~p1\_r1\_s\#~~(~p2\_q\#~~p2\_r0~~p2\_r1\_s\#~))}}\\{\texttt {(~p1\_q0~~p1\_r2~~p1\_r2\_s\#~~(~p2\_q\#~~p2\_r1~~p2\_r2\_s\#~))}}\\\\{\texttt {(~p1\_q1~~p1\_r1~~p1\_r1\_s0~~(~p2\_q1~~p2\_r2~~p2\_r1\_s0~))}}\\{\texttt {(~p1\_q1~~p1\_r1~~p1\_r1\_s1~~(~p2\_q0~~p2\_r2~~p2\_r1\_s1~))}}\\{\texttt {(~p1\_q1~~p1\_r1~~p1\_r1\_s\#~~(~p2\_q*~~p2\_r0~~p2\_r1\_s\#~))}}\\{\texttt {(~p1\_q1~~p1\_r2~~p1\_r2\_s\#~~(~p2\_q*~~p2\_r1~~p2\_r2\_s\#~))}}\end{array}}}$

Interpretation of the Propositional Program

Let us now run through the propositional specification of ${\displaystyle \mathrm {Stunt} (2),}$ our truncated TM, and paraphrase what it says in ordinary language.

Mediate Conditions

 ${\displaystyle {\begin{array}{l}{\texttt {(~p0\_q\#~(~p1\_q\#~))}}\\{\texttt {(~p0\_q*~(~p1\_q*~))}}\\\\{\texttt {(~p1\_q\#~(~p2\_q\#~))}}\\{\texttt {(~p1\_q*~(~p2\_q*~))}}\end{array}}}$

In the interpretation of the cactus language for propositional logic that we are using here, an expression of the form ${\displaystyle {\texttt {(p(q))}}}$ expresses a conditional, an implication, or an if-then proposition, commonly read in one of the following ways:

 ${\displaystyle {\begin{array}{l}\mathrm {not} ~p~\mathrm {without} ~q\\[4pt]p~\mathrm {implies} ~q\\[4pt]\mathrm {if} ~p~\mathrm {then} ~q\\[4pt]p\Rightarrow q\end{array}}}$

A text string expression of the form ${\displaystyle {\texttt {(p(q))}}}$ corresponds to a graph-theoretic data-structure of the following form:

 o---------------------------------------o | | | p q | | o---o | | | | | @ | | | o---------------------------------------o | ( p ( q )) | o---------------------------------------o 

Taken together, the Mediate Conditions state the following:

 If ${\displaystyle \mathrm {M} }$ at ${\displaystyle p_{0}}$ is in state ${\displaystyle q_{\#},}$ then ${\displaystyle \mathrm {M} }$ at ${\displaystyle p_{1}}$ is in state ${\displaystyle q_{\#},}$ and If ${\displaystyle \mathrm {M} }$ at ${\displaystyle p_{0}}$ is in state ${\displaystyle q_{*},}$ then ${\displaystyle \mathrm {M} }$ at ${\displaystyle p_{1}}$ is in state ${\displaystyle q_{*},}$ and If ${\displaystyle \mathrm {M} }$ at ${\displaystyle p_{1}}$ is in state ${\displaystyle q_{\#},}$ then ${\displaystyle \mathrm {M} }$ at ${\displaystyle p_{2}}$ is in state ${\displaystyle q_{\#},}$ and If ${\displaystyle \mathrm {M} }$ at ${\displaystyle p_{1}}$ is in state ${\displaystyle q_{*},}$ then ${\displaystyle \mathrm {M} }$ at ${\displaystyle p_{2}}$ is in state ${\displaystyle q_{*}.}$

Terminal Conditions

 ${\displaystyle {\begin{array}{l}{\texttt {((~p2\_q\#~)(~p2\_q*~))}}\end{array}}}$

In cactus syntax, an expression of the form ${\displaystyle {\texttt {((p)(q))}}}$ expresses the disjunction ${\displaystyle p~\mathrm {or} ~q.}$ The corresponding cactus graph, here just a tree, has the following shape:

 o---------------------------------------o | | | p q | | o o | | \ / | | o | | | | | @ | | | o---------------------------------------o | ((p) (q)) | o---------------------------------------o 

In effect, the Terminal Conditions state the following:

 At time ${\displaystyle p_{2}}$ machine ${\displaystyle \mathrm {M} }$ is in state ${\displaystyle q_{\#},}$ or At time ${\displaystyle p_{2}}$ machine ${\displaystyle \mathrm {M} }$ is in state ${\displaystyle q_{*}.}$

State Partition

 ${\displaystyle {\begin{array}{l}{\texttt {((~p0\_q0~),(~p0\_q1~),(~p0\_q\#~),(~p0\_q*~))}}\\{\texttt {((~p1\_q0~),(~p1\_q1~),(~p1\_q\#~),(~p1\_q*~))}}\\{\texttt {((~p2\_q0~),(~p2\_q1~),(~p2\_q\#~),(~p2\_q*~))}}\end{array}}}$

In cactus syntax, an expression of the form ${\displaystyle {\texttt {((}}e_{1}{\texttt {),(}}e_{2}{\texttt {),(}}\ldots {\texttt {),(}}e_{k}{\texttt {))}}}$ expresses a statement to the effect that exactly one of the expressions ${\displaystyle e_{j}}$ is true, for ${\displaystyle j=1~{\mathit {to}}~k.}$ Expressions of this form are called universal partition expressions, and the corresponding painted and rooted cactus (PARC) has the following shape:

 o---------------------------------------o | | | e_1 e_2 ... e_k | | o o o | | | | | | | o-----o--- ... ---o | | \ / | | \ / | | \ / | | \ / | | \ / | | \ / | | \ / | | \ / | | @ | | | o---------------------------------------o | ((e_1),(e_2),(...),(e_k)) | o---------------------------------------o 

The State Partition segment of the propositional program consists of three universal partition expressions, taken in conjunction expressing the condition that ${\displaystyle \mathrm {M} }$ has to be in one and only one of its states at each point in time under consideration. In short, we have the constraint:

 At each of the points in time ${\displaystyle p_{i},}$ for ${\displaystyle i}$ in the set ${\displaystyle \{0,1,2\},}$ ${\displaystyle \mathrm {M} }$ can be in exactly one state ${\displaystyle q_{j},}$ for ${\displaystyle j}$ in the set ${\displaystyle \{0,1,\#,*\}.}$

Register Partition

 ${\displaystyle {\begin{array}{l}{\texttt {((~p0\_r0~),(~p0\_r1~),(~p0\_r2~))}}\\{\texttt {((~p1\_r0~),(~p1\_r1~),(~p1\_r2~))}}\\{\texttt {((~p2\_r0~),(~p2\_r1~),(~p2\_r2~))}}\end{array}}}$

The Register Partition segment of the propositional program consists of three universal partition expressions, taken in conjunction saying that the read head ${\displaystyle \mathrm {H} }$ must be reading one and only one of the registers or tape cells available to it at each of the points in time under consideration. In sum:

 At each of the points in time ${\displaystyle p_{i},}$ for ${\displaystyle i=0,1,2,}$ ${\displaystyle \mathrm {H} }$ is reading exactly one cell ${\displaystyle r_{j},}$ for ${\displaystyle j=0,1,2.}$

Symbol Partition

 ${\displaystyle {\begin{array}{l}{\texttt {((~p0\_r0\_s0~),(~p0\_r0\_s1~),(~p0\_r0\_s\#~))}}\\{\texttt {((~p0\_r1\_s0~),(~p0\_r1\_s1~),(~p0\_r1\_s\#~))}}\\{\texttt {((~p0\_r2\_s0~),(~p0\_r2\_s1~),(~p0\_r2\_s\#~))}}\\\\{\texttt {((~p1\_r0\_s0~),(~p1\_r0\_s1~),(~p1\_r0\_s\#~))}}\\{\texttt {((~p1\_r1\_s0~),(~p1\_r1\_s1~),(~p1\_r1\_s\#~))}}\\{\texttt {((~p1\_r2\_s0~),(~p1\_r2\_s1~),(~p1\_r2\_s\#~))}}\\\\{\texttt {((~p2\_r0\_s0~),(~p2\_r0\_s1~),(~p2\_r0\_s\#~))}}\\{\texttt {((~p2\_r1\_s0~),(~p2\_r1\_s1~),(~p2\_r1\_s\#~))}}\\{\texttt {((~p2\_r2\_s0~),(~p2\_r2\_s1~),(~p2\_r2\_s\#~))}}\end{array}}}$

The Symbol Partition segment of the propositional program for ${\displaystyle \mathrm {Stunt} (2)}$ consists of nine universal partition expressions, taken in conjunction stipulating that there has to be one and only one symbol in each of the registers at each point in time under consideration. In short, we have:



At each of the points in time ${\displaystyle p_{i},}$ for ${\displaystyle i}$ in ${\displaystyle \{0,1,2\},}$ in each of the tape registers ${\displaystyle r_{j},}$ for ${\displaystyle j}$ in ${\displaystyle \{0,1,2\},}$ there can be exactly one sign ${\displaystyle s_{k},}$ for ${\displaystyle k}$ in ${\displaystyle \{0,1,\#\}.}$

Interaction Conditions

 ${\displaystyle {\begin{array}{l}{\texttt {((~p0\_r0~)~p0\_r0\_s0~(~p1\_r0\_s0~))}}\\{\texttt {((~p0\_r0~)~p0\_r0\_s1~(~p1\_r0\_s1~))}}\\{\texttt {((~p0\_r0~)~p0\_r0\_s\#~(~p1\_r0\_s\#~))}}\\\\{\texttt {((~p0\_r1~)~p0\_r1\_s0~(~p1\_r1\_s0~))}}\\{\texttt {((~p0\_r1~)~p0\_r1\_s1~(~p1\_r1\_s1~))}}\\{\texttt {((~p0\_r1~)~p0\_r1\_s\#~(~p1\_r1\_s\#~))}}\\\\{\texttt {((~p0\_r2~)~p0\_r2\_s0~(~p1\_r2\_s0~))}}\\{\texttt {((~p0\_r2~)~p0\_r2\_s1~(~p1\_r2\_s1~))}}\\{\texttt {((~p0\_r2~)~p0\_r2\_s\#~(~p1\_r2\_s\#~))}}\\\\{\texttt {((~p1\_r0~)~p1\_r0\_s0~(~p2\_r0\_s0~))}}\\{\texttt {((~p1\_r0~)~p1\_r0\_s1~(~p2\_r0\_s1~))}}\\{\texttt {((~p1\_r0~)~p1\_r0\_s\#~(~p2\_r0\_s\#~))}}\\\\{\texttt {((~p1\_r1~)~p1\_r1\_s0~(~p2\_r1\_s0~))}}\\{\texttt {((~p1\_r1~)~p1\_r1\_s1~(~p2\_r1\_s1~))}}\\{\texttt {((~p1\_r1~)~p1\_r1\_s\#~(~p2\_r1\_s\#~))}}\\\\{\texttt {((~p1\_r2~)~p1\_r2\_s0~(~p2\_r2\_s0~))}}\\{\texttt {((~p1\_r2~)~p1\_r2\_s1~(~p2\_r2\_s1~))}}\\{\texttt {((~p1\_r2~)~p1\_r2\_s\#~(~p2\_r2\_s\#~))}}\end{array}}}$

In briefest terms, the Interaction Conditions simply express the circumstance that the mark on a tape cell cannot change between two points in time unless the tape head is over the cell in question at the initial one of those points in time. All that we have to do is to see how they manage to say this.

Consider a cactus expression of the following form:

 ${\displaystyle {\begin{array}{l}{\texttt {((}}~p_{i}\_r_{j}~{\texttt {)}}~p_{i}\_r_{j}\_s_{k}~{\texttt {(}}~p_{i+1}\_r_{j}\_s_{k}~{\texttt {))}}\end{array}}}$

This expression has the corresponding cactus graph:

 o---------------------------------------o | | | p_r p_r_s | | o o | | \ / | | p_r_s o | | | | | @ | | | o---------------------------------------o 

A propositional expression of this form can be read as follows:

 ${\displaystyle \mathrm {If} }$ At the time ${\displaystyle p_{i},}$ the tape cell ${\displaystyle r_{j}}$ bears the mark ${\displaystyle s_{k},}$ ${\displaystyle \mathrm {But} }$ it is not the case that: At the time ${\displaystyle p_{i},}$ the tape head is on the tape cell ${\displaystyle r_{j},}$ ${\displaystyle \mathrm {Then} }$ At the time ${\displaystyle p_{i+1},}$ the tape cell ${\displaystyle r_{j}}$ bears the mark ${\displaystyle s_{k}.}$

The eighteen clauses of the Interaction Conditions simply impose one such constraint on symbol changes for each combination of the times ${\displaystyle p_{0},p_{1},}$ registers ${\displaystyle r_{0},r_{1},r_{2},}$ and symbols ${\displaystyle s_{0},s_{1},s_{\#}.}$

Transition Relations

 ${\displaystyle {\begin{array}{l}{\texttt {(~p0\_q0~~p0\_r1~~p0\_r1\_s0~~(~p1\_q0~~p1\_r2~~p1\_r1\_s0~))}}\\{\texttt {(~p0\_q0~~p0\_r1~~p0\_r1\_s1~~(~p1\_q1~~p1\_r2~~p1\_r1\_s1~))}}\\{\texttt {(~p0\_q0~~p0\_r1~~p0\_r1\_s\#~~(~p1\_q\#~~p1\_r0~~p1\_r1\_s\#~))}}\\{\texttt {(~p0\_q0~~p0\_r2~~p0\_r2\_s\#~~(~p1\_q\#~~p1\_r1~~p1\_r2\_s\#~))}}\\\\{\texttt {(~p0\_q1~~p0\_r1~~p0\_r1\_s0~~(~p1\_q1~~p1\_r2~~p1\_r1\_s0~))}}\\{\texttt {(~p0\_q1~~p0\_r1~~p0\_r1\_s1~~(~p1\_q0~~p1\_r2~~p1\_r1\_s1~))}}\\{\texttt {(~p0\_q1~~p0\_r1~~p0\_r1\_s\#~~(~p1\_q*~~p1\_r0~~p1\_r1\_s\#~))}}\\{\texttt {(~p0\_q1~~p0\_r2~~p0\_r2\_s\#~~(~p1\_q*~~p1\_r1~~p1\_r2\_s\#~))}}\\\\{\texttt {(~p1\_q0~~p1\_r1~~p1\_r1\_s0~~(~p2\_q0~~p2\_r2~~p2\_r1\_s0~))}}\\{\texttt {(~p1\_q0~~p1\_r1~~p1\_r1\_s1~~(~p2\_q1~~p2\_r2~~p2\_r1\_s1~))}}\\{\texttt {(~p1\_q0~~p1\_r1~~p1\_r1\_s\#~~(~p2\_q\#~~p2\_r0~~p2\_r1\_s\#~))}}\\{\texttt {(~p1\_q0~~p1\_r2~~p1\_r2\_s\#~~(~p2\_q\#~~p2\_r1~~p2\_r2\_s\#~))}}\\\\{\texttt {(~p1\_q1~~p1\_r1~~p1\_r1\_s0~~(~p2\_q1~~p2\_r2~~p2\_r1\_s0~))}}\\{\texttt {(~p1\_q1~~p1\_r1~~p1\_r1\_s1~~(~p2\_q0~~p2\_r2~~p2\_r1\_s1~))}}\\{\texttt {(~p1\_q1~~p1\_r1~~p1\_r1\_s\#~~(~p2\_q*~~p2\_r0~~p2\_r1\_s\#~))}}\\{\texttt {(~p1\_q1~~p1\_r2~~p1\_r2\_s\#~~(~p2\_q*~~p2\_r1~~p2\_r2\_s\#~))}}\end{array}}}$

The Transition Relation segment of the propositional program for ${\displaystyle \mathrm {Stunt} (2)}$ consists of sixteen implication statements with complex antecedents and consequents. Taken together, these give propositional expression to the TM Figure and Table that were given at the outset.

Just by way of a single example, consider the clause:

 ${\displaystyle {\texttt {(~p0\_q0~~p0\_r1~~p0\_r1\_s1~~(~p1\_q1~~p1\_r2~~p1\_r1\_s1~))}}}$