Category Theory
Zulip Server
Archive

You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.


Stream: deprecated: logic

Topic: differential logic


view this post on Zulip Jon Awbrey (Jul 07 2021 at 00:30):

Cf: Differential Logic • Comment 6

The topic on logical graphs introduced a style of graph-theoretic syntax for propositional logic stemming from the work of Charles S. Peirce and G. Spencer Brown and touched on a generalization of Peirce's and Spencer Brown's tree-like forms to what graph theorists know as cactus graphs or cacti.

Somewhat serendipitously, as it turns out, this cactus syntax is just the thing we need to develop differential propositional calculus, which augments ordinary propositional calculus in the same way the differential calculus of Leibniz and Newton augments the analytic geometry of Descartes.

Resources

view this post on Zulip Jon Awbrey (Jul 07 2021 at 14:32):

Cf: Differential Logic • 1

Introduction

Differential logic is the component of logic whose object is the description of variation — for example, the aspects of change, difference, distribution, and diversity — in universes of discourse subject to logical description.  A definition that broad naturally incorporates any study of variation by way of mathematical models, but differential logic is especially charged with the qualitative aspects of variation pervading or preceding quantitative models.  To the extent a logical inquiry makes use of a formal system, its differential component treats the principles governing the use of a differential logical calculus, that is, a formal system with the expressive capacity to describe change and diversity in logical universes of discourse.

Simple examples of differential logical calculi are furnished by differential propositional calculi.  A differential propositional calculus is a propositional calculus extended by a set of terms for describing aspects of change and difference, for example, processes taking place in a universe of discourse or transformations mapping a source universe to a target universe.  Such a calculus augments ordinary propositional calculus in the same way the differential calculus of Leibniz and Newton augments the analytic geometry of Descartes.

view this post on Zulip Jon Awbrey (Jul 07 2021 at 19:24):

Cf: Differential Logic • 2

Cactus Language for Propositional Logic

The development of differential logic is facilitated by having a moderately efficient calculus in place at the level of boolean-valued functions and elementary logical propositions.  One very efficient calculus on both conceptual and computational grounds is based on just two types of logical connectives, both of variable kk-ary scope.  The syntactic formulas of this calculus map into a family of graph-theoretic structures called “painted and rooted cacti” which lend visual representation to the functional structures of propositions and smooth the path to efficient computation.

The first kind of connective takes the form of a parenthesized sequence of propositional expressions, written (e1,e2,,ek1,ek)\texttt{(} e_1 \texttt{,} e_2 \texttt{,} \ldots \texttt{,} e_{k-1} \texttt{,} e_k \texttt{)} and meaning exactly one of the propositions e1,e2,,ek1,eke_1, e_2, \ldots, e_{k-1}, e_k is false, in short, their minimal negation is true.  An expression of this form maps into a cactus structure called a lobe, in this case, “painted” with the colors e1,e2,,ek1,eke_1, e_2, \ldots, e_{k-1}, e_k as shown below.

The second kind of connective is a concatenated sequence of propositional expressions, written e1 e2  ek1 eke_1 ~ e_2 ~ \ldots ~ e_{k-1} ~ e_k and meaning all the propositions e1,e2,,ek1,eke_1, e_2, \ldots, e_{k-1}, e_k are true, in short, their logical conjunction is true.  An expression of this form maps into a cactus structure called a node, in this case, “painted” with the colors e1,e2,,ek1,eke_1, e_2, \ldots, e_{k-1}, e_k as shown below.

All other propositional connectives can be obtained through combinations of these two forms.  As it happens, the parenthesized form is sufficient to define the concatenated form, making the latter formally dispensable, but it's convenient to maintain it as a concise way of expressing more complicated combinations of parenthesized forms.  While working with expressions solely in propositional calculus, it's easiest to use plain parentheses for logical connectives.  In contexts where ordinary parentheses are needed for other purposes an alternate typeface ()\texttt{(} \ldots \texttt{)} may be used for the logical operators.

view this post on Zulip Jon Awbrey (Jul 08 2021 at 13:04):

Cf: Differential Logic • 3

Cactus Language for Propositional Logic (cont.)

Table 1 shows the cactus graphs, the corresponding cactus expressions, their logical meanings under the so-called existential interpretation, and their translations into conventional notations for a sample of basic propositional forms.

The simplest expression for logical truth is the empty word, typically denoted by ε\boldsymbol\varepsilon or λ\lambda in formal languages, where it is the identity element for concatenation.  To make it visible in context, it may be denoted by the equivalent expression (( )),{}^{\backprime\backprime} \texttt{((}~\texttt{))} {}^{\prime\prime}, or, especially if operating in an algebraic context, by a simple 1.{}^{\backprime\backprime} 1 {}^{\prime\prime}.  Also when working in an algebraic mode, the plus sign +{}^{\backprime\backprime} + {}^{\prime\prime} may be used for exclusive disjunction.  Thus we have the following translations of algebraic expressions into cactus expressions.

a+b = (a,b)a+b+c = (a,(b,c)) = ((a,b),c)\begin{matrix} a + b ~ = ~ \texttt{(} a \texttt{,} b \texttt{)} \\[8pt] a + b + c ~ = ~ \texttt{(} a \texttt{,(} b \texttt{,} c \texttt{))} ~ = ~ \texttt{((} a \texttt{,} b \texttt{),} c \texttt{)} \end{matrix}

It is important to note the last expressions are not equivalent to the 3-place form (a,b,c).\texttt{(} a \texttt{,} b \texttt{,} c \texttt{)}.

view this post on Zulip Jon Awbrey (Jul 09 2021 at 16:34):

Cf: Differential Logic • 4 ← Please see this blog post for a more readable text.

Differential Expansions of Propositions

Bird's Eye View

An efficient calculus for the realm of logic represented by boolean functions and elementary propositions makes it feasible to compute the finite differences and the differentials of those functions and propositions.

For example, consider a proposition of the form p and q{}^{\backprime\backprime} \, p ~\mathrm{and}~ q \, {}^{\prime\prime} graphed as two letters attached to a root node, as shown below.

Written as a string, this is just the concatenation p q.p~q.

The proposition pqpq may be taken as a boolean function f(p,q)f(p, q) having the abstract type f:B×BB,f : \mathbb{B} \times \mathbb{B} \to \mathbb{B}, where B={0,1}\mathbb{B} = \{ 0, 1 \} is read in such a way that 00 means false\mathrm{false} and 11 means true.\mathrm{true}.

Imagine yourself standing in a fixed cell of the corresponding venn diagram, say, the cell where the proposition pqpq is true, as shown in the following Figure.

Now ask yourself:  What is the value of the proposition pqpq at a distance of dp\mathrm{d}p and dq\mathrm{d}q from the cell pqpq where you are standing?

Don't think about it — just compute:

The cactus formula (p,dp)(q,dq)\texttt{(} p \texttt{,} \mathrm{d}p \texttt{)(} q \texttt{,} \mathrm{d}q \texttt{)} and its corresponding graph arise by replacing pp with p+dpp + \mathrm{d}p and qq with q+dqq + \mathrm{d}q in the boolean product or logical conjunction pqpq and writing the result in the two dialects of cactus syntax.  This follows because the boolean sum p+dpp + \mathrm{d}p is equivalent to the logical operation of exclusive disjunction, which parses to a cactus graph of the following form.

Next question:  What is the difference between the value of the proposition pqpq over there, at a distance of dp\mathrm{d}p and dq\mathrm{d}q from where you are standing, and the value of the proposition pqpq where you are, all expressed in the form of a general formula, of course?  The answer takes the following form.

There is one thing I ought to mention at this point:  Computed over B,\mathbb{B}, plus and minus are identical operations.  This will make the relation between the differential and the integral parts of the appropriate calculus slightly stranger than usual, but we will get into that later.

Last question, for now:  What is the value of this expression from your current standpoint, that is, evaluated at the point where pqpq is true?  Well, replacing pp with 11 and qq with 11 in the cactus graph amounts to erasing the labels pp and q,q, as shown below.

And this is equivalent to the following graph:

We have just met with the fact that the differential of the and is the or of the differentials.

p and qDiffdp or dq\begin{matrix} p ~\mathrm{and}~ q & \xrightarrow{\quad\mathrm{Diff}\quad} & \mathrm{d}p ~\mathrm{or}~ \mathrm{d}q \end{matrix}

It will be necessary to develop a more refined analysis of that statement directly, but that is roughly the nub of it.

If the form of the above statement reminds you of De Morgan's rule, it is no accident, as differentiation and negation turn out to be closely related operations.  Indeed, one can find discussions of logical difference calculus in the Boole–De Morgan correspondence and Peirce also made use of differential operators in a logical context, but the exploration of these ideas has been hampered by a number of factors, not the least of which has been the lack of a syntax adequate to handle the complexity of expressions evolving in the process.

view this post on Zulip Jon Awbrey (Jul 09 2021 at 21:36):

Cf: Differential Logic • 5 ← Please see this blog post for a more readable text.

Differential Expansions of Propositions (cont.)

Worm's Eye View

Let's run through the initial example again, keeping an eye on the meanings of the formulas which develop along the way.  We begin with a proposition or a boolean function f(p,q)=pqf(p, q) = pq whose venn diagram and cactus graph are shown below.

A function like this has an abstract type and a concrete type.  The abstract type is what we invoke when we write things like f:B×BBf : \mathbb{B} \times \mathbb{B} \to \mathbb{B} or f:B2B.f : \mathbb{B}^2 \to \mathbb{B}.  The concrete type takes into account the qualitative dimensions or “units” of the case, which can be explained as follows.

Then interpret the usual propositions about p,qp, q as functions of the concrete type f:P×QB.f : P \times Q \to \mathbb{B}.

We are going to consider various operators on these functions.  An operator F\mathrm{F} is a function which takes one function ff into another function Ff.\mathrm{F}f.

The first couple of operators we need to consider are logical analogues of two which play a founding role in the classical finite difference calculus, namely:

These days, E\mathrm{E} is more often called the shift operator.

In order to describe the universe in which these operators operate, it is necessary to enlarge the original universe of discourse.  Starting from the initial space X=P×Q,X = P \times Q, its (first order) differential extension EX\mathrm{E}X is constructed according to the following specifications.

EX=X×dX\begin{array}{rcc}\mathrm{E}X & = & X \times \mathrm{d}X\end{array}

where:

X=P×QdX=dP×dQdP={(dp), dp}dQ={(dq), dq}\begin{array}{rcc} X & = & P \times Q \\[4pt] \mathrm{d}X & = & \mathrm{d}P \times \mathrm{d}Q \\[4pt] \mathrm{d}P & = & \{ \texttt{(} \mathrm{d}p \texttt{)}, ~ \mathrm{d}p \} \\[4pt] \mathrm{d}Q & = & \{ \texttt{(} \mathrm{d}q \texttt{)}, ~ \mathrm{d}q \} \end{array}

The interpretations of these new symbols can be diverse, but the easiest option for now is just to say dp\mathrm{d}p means “change pp” and dq\mathrm{d}q means “change qq”.

Drawing a venn diagram for the differential extension EX=X×dX\mathrm{E}X = X \times \mathrm{d}X requires four logical dimensions, P,Q,dP,dQ,P, Q, \mathrm{d}P, \mathrm{d}Q, but it is possible to project a suggestion of what the differential features dp\mathrm{d}p and dq\mathrm{d}q are about on the 2-dimensional base space X=P×QX = P \times Q by drawing arrows crossing the boundaries of the basic circles in the venn diagram for X,X, reading an arrow as dp\mathrm{d}p if it crosses the boundary between pp and (p)\texttt{(} p \texttt{)} in either direction and reading an arrow as dq\mathrm{d}q if it crosses the boundary between qq and (q)\texttt{(} q \texttt{)} in either direction, as indicated in the following figure.

Propositions are formed on differential variables, or any combination of ordinary logical variables and differential logical variables, in the same ways propositions are formed on ordinary logical variables alone.  For example, the proposition (dp(dq))\texttt{(} \mathrm{d}p \texttt{(} \mathrm{d}q \texttt{))} says the same thing as dpdq,\mathrm{d}p \Rightarrow \mathrm{d}q, in other words, there is no change in pp without a change in q.q.

Given the proposition f(p,q)f(p, q) over the space X=P×Q,X = P \times Q, the (first order) enlargement of ff is the proposition Ef\mathrm{E}f over the differential extension EX\mathrm{E}X defined by the following formula.

Ef(p,q,dp,dq)=f(p+dp, q+dq)=f((p,dp), (q,dq))\begin{matrix} \mathrm{E}f(p, q, \mathrm{d}p, \mathrm{d}q) & = & f(p + \mathrm{d}p,~ q + \mathrm{d}q) & = & f( \texttt{(} p, \mathrm{d}p \texttt{)},~ \texttt{(} q, \mathrm{d}q \texttt{)} ) \end{matrix}

In the example f(p,q)=pq,f(p, q) = pq, the enlargement Ef\mathrm{E}f is computed as follows.

Ef(p,q,dp,dq)=(p+dp)(q+dq)=(p,dp)(q,dq)\begin{matrix} \mathrm{E}f(p, q, \mathrm{d}p, \mathrm{d}q) & = & (p + \mathrm{d}p)(q + \mathrm{d}q) & = & \texttt{(} p, \mathrm{d}p \texttt{)(} q, \mathrm{d}q \texttt{)} \end{matrix}

Given the proposition f(p,q)f(p, q) over X=P×Q,X = P \times Q, the (first order) difference of ff is the proposition Df\mathrm{D}f over EX\mathrm{E}X defined by the formula Df=Eff,\mathrm{D}f = \mathrm{E}f - f, or, written out in full:

Df(p,q,dp,dq)=f(p+dp, q+dq)f(p,q)=(f((p,dp), (q,dq)), f(p,q))\mathrm{D}f(p, q, \mathrm{d}p, \mathrm{d}q) = f(p + \mathrm{d}p,~ q + \mathrm{d}q) - f(p, q) = \texttt{(} f( \texttt{(} p, \mathrm{d}p \texttt{)},~ \texttt{(} q, \mathrm{d}q \texttt{)} ),~ f(p, q) \texttt{)}

In the example f(p,q)=pq,f(p, q) = pq, the difference Df\mathrm{D}f is computed as follows.

Df(p,q,dp,dq)=(p+dp)(q+dq)pq=((p,dp)(q,dq),pq)\begin{matrix} \mathrm{D}f(p, q, \mathrm{d}p, \mathrm{d}q) & = & (p + \mathrm{d}p)(q + \mathrm{d}q) - pq & = & \texttt{((} p, \mathrm{d}p \texttt{)(} q, \mathrm{d}q \texttt{)}, pq \texttt{)} \end{matrix}

view this post on Zulip Jon Awbrey (Jul 10 2021 at 13:36):

Cf: Differential Logic • 5 ← Please see this blog post for a more readable text.

Differential Expansions of Propositions (cont.)

Worm's Eye View (cont.)

At the end of the previous section we evaluated this first order difference of conjunction Df\mathrm{D}f at a single location in the universe of discourse, namely, at the point picked out by the singular proposition pq,pq, in terms of coordinates, at the place where p=1p = 1 and q=1.q = 1.  This evaluation is written in the form Dfpq\mathrm{D}f|_{pq} or Df(1,1),\mathrm{D}f|_{(1, 1)}, and we arrived at the locally applicable law which may be stated and illustrated as follows.

f(p,q) = pq = p and qDfpq = ((dp)(dq)) = dp or dqf(p, q) ~=~ pq ~=~ p ~\mathrm{and}~ q \\ \Downarrow \\ \mathrm{D}f|_{pq} ~=~ \texttt{((} \mathrm{dp} \texttt{)(} \mathrm{d}q \texttt{))} ~=~ \mathrm{d}p ~\mathrm{or}~ \mathrm{d}q

The venn diagram shows the analysis of the inclusive disjunction ((dp)(dq))\texttt{((} \mathrm{d}p \texttt{)(} \mathrm{d}q \texttt{))} into the following exclusive disjunction.

dp (dq) + (dp) dq + dp dq\mathrm{d}p ~\texttt{(} \mathrm{d}q \texttt{)} ~ + ~ \texttt{(} \mathrm{d}p \texttt{)}~ \mathrm{d}q ~ + ~ \mathrm{d}p ~\mathrm{d}q

The differential proposition ((dp)(dq))\texttt{((} \mathrm{d}p \texttt{)(} \mathrm{d}q \texttt{))} may be read as saying “change pp or change qq or both”.  And this can be recognized as just what you need to do if you happen to find yourself in the center cell and require a complete and detailed description of ways to escape it.

view this post on Zulip Jon Awbrey (Jul 10 2021 at 18:12):

Cf: Differential Logic • 6 ← Please see this blog post for a more readable text.

Differential Expansions of Propositions (cont.)

Panoptic View • Difference Maps

In the previous section we computed what is variously described as the difference map, the difference proposition, or the local proposition Dfx\mathrm{D}f_x of the proposition f(p,q)=pqf(p, q) = pq at the point xx where p=1p = 1 and q=1.q = 1.

In the universe of discourse X=P×Q,X = P \times Q, the four propositions pq,p(q),(p)q,(p)(q)pq, \, p \texttt{(} q \texttt{)}, \, \texttt{(} p \texttt{)} q, \, \texttt{(} p \texttt{)(} q \texttt{)} indicating the “cells”, or the smallest distinguished regions of the universe, are called singular propositions.  These serve as an alternative notation for naming the points (1,1), (1,0), (0,1), (0,0),(1, 1), ~ (1, 0), ~ (0, 1), ~ (0, 0), respectively.

Thus we can write Dfx=Dfx=Df(1,1)=Dfpq,\mathrm{D}f_x = \mathrm{D}f|_x = \mathrm{D}f|_{(1, 1)} = \mathrm{D}f|_{pq}, so long as we know the frame of reference in force.

In the example f(p,q)=pq,f(p, q) = pq, the value of the difference proposition Dfx\mathrm{D}f_x at each of the four points xXx \in X may be computed in graphical fashion as shown below.

The easy way to visualize the values of these graphical expressions is just to notice the following equivalents.

Laying out the arrows on the augmented venn diagram, one gets a picture of a differential vector field.

The Figure shows the points of the extended universe EX=P×Q×dP×dQ\mathrm{E}X = P \times Q \times \mathrm{d}P \times \mathrm{d}Q indicated by the difference map Df:EXB,\mathrm{D}f : \mathrm{E}X \to \mathbb{B}, namely, the following six points or singular propositions.

1.pqdpdq2.pqdp(dq)3.pq(dp)dq4.p(q)(dp)dq5.(p)qdp(dq)6.(p)(q)dpdq\begin{array}{rcccc} 1. & p & q & \mathrm{d}p & \mathrm{d}q \\ 2. & p & q & \mathrm{d}p & \texttt{(} \mathrm{d}q \texttt{)} \\ 3. & p & q & \texttt{(} \mathrm{d}p \texttt{)} & \mathrm{d}q \\ 4. & p & \texttt{(} q \texttt{)} & \texttt{(} \mathrm{d}p \texttt{)} & \mathrm{d}q \\ 5. & \texttt{(} p \texttt{)} & q & \mathrm{d}p & \texttt{(} \mathrm{d}q \texttt{)} \\ 6. & \texttt{(} p \texttt{)} & \texttt{(} q \texttt{)} & \mathrm{d}p & \mathrm{d}q \end{array}

The information borne by Df\mathrm{D}f should be clear enough from a survey of these six points — they tell you what you have to do from each point of XX in order to change the value borne by f(p,q),f(p, q), that is, the move you have to make in order to reach a point where the value of the proposition f(p,q)f(p, q) is different from what it is where you started.

We have been studying the action of the difference operator D\mathrm{D} on propositions of the form f:P×QB,f : P \times Q \to \mathbb{B}, as illustrated by the example f(p,q)=pqf(p, q) = pq which is known in logic as the conjunction of pp and q.q.  The resulting difference map Df\mathrm{D}f is a (first order) differential proposition, that is, a proposition of the form Df:P×Q×dP×dQB.\mathrm{D}f : P \times Q \times \mathrm{d}P \times \mathrm{d}Q \to \mathbb{B}.

The augmented venn diagram shows how the models or satisfying interpretations of Df\mathrm{D}f distribute over the extended universe of discourse EX=P×Q×dP×dQ.\mathrm{E}X = P \times Q \times \mathrm{d}P \times \mathrm{d}Q.  Abstracting from that picture, the difference map Df\mathrm{D}f can be represented in the form of a digraph or directed graph, one whose points are labeled with the elements of X=P×QX = P \times Q and whose arrows are labeled with the elements of dX=dP×dQ,\mathrm{d}X = \mathrm{d}P \times \mathrm{d}Q, as shown in the following Figure.

f=pqDf=pq((dp)(dq))+p(q) (dp) dq  +(p)q  dp (dq) +(p)(q)  dp  dq  \begin{array}{rcccccc} f & = & p & \cdot & q \\[4pt] \mathrm{D}f & = & p & \cdot & q & \cdot & \texttt{((} \mathrm{d}p \texttt{)(} \mathrm{d}q \texttt{))} \\[4pt] & + & p & \cdot & \texttt{(} q \texttt{)} & \cdot & \texttt{~(} \mathrm{d}p \texttt{)~} \mathrm{d}q \texttt{~~} \\[4pt] & + & \texttt{(} p \texttt{)} & \cdot & q & \cdot & \texttt{~~} \mathrm{d}p \texttt{~(} \mathrm{d}q \texttt{)~} \\[4pt] & + & \texttt{(} p \texttt{)} & \cdot & \texttt{(} q \texttt{)} & \cdot & \texttt{~~} \mathrm{d}p \texttt{~~} \mathrm{d}q \texttt{~~} \end{array}

Any proposition worth its salt can be analyzed from many different points of view, any one of which has the potential to reveal previously unsuspected aspects of the proposition's meaning.  We will encounter more and more of these alternative readings as we go.

view this post on Zulip Jon Awbrey (Jul 11 2021 at 12:32):

Cf: Differential Logic • 7

Differential Expansions of Propositions (cont.)

Panoptic View • Enlargement Maps

The enlargement or shift operator E\mathrm{E} exhibits a wealth of interesting and useful properties in its own right, so it pays to examine a few of the more salient features playing out on the surface of our initial example, f(p,q)=pq.f(p, q) = pq.

A suitably generic definition of the extended universe of discourse is afforded by the following set-up.

LetX=X1××Xk.LetdX=dX1××dXk.ThenEX=X×dX=X1××Xk × dX1××dXk\begin{array}{cccl} \text{Let} & X & = & X_1 \times \ldots \times X_k. \\[6pt] \text{Let} & \mathrm{d}X & = & \mathrm{d}X_1 \times \ldots \times \mathrm{d}X_k. \\[6pt] \text{Then} & \mathrm{E}X & = & X \times \mathrm{d}X \\[6pt] & & = & X_1 \times \ldots \times X_k ~\times~ \mathrm{d}X_1 \times \ldots \times \mathrm{d}X_k \end{array}

For a proposition of the form f:X1××XkB,f : X_1 \times \ldots \times X_k \to \mathbb{B}, the (first order) enlargement of ff is the proposition Ef:EXB\mathrm{E}f : \mathrm{E}X \to \mathbb{B} defined by the following equation.

Ef(x1,,xk,dx1,,dxk) = f(x1+dx1,,xk+dxk) = f((x1,dx1),,(xk,dxk))\mathrm{E}f(x_1, \ldots, x_k, \mathrm{d}x_1, \ldots, \mathrm{d}x_k) ~=~ f(x_1 + \mathrm{d}x_1, \ldots, x_k + \mathrm{d}x_k) ~=~ f(\texttt{(} x_1 \texttt{,} \mathrm{d}x_1 \texttt{)}, \ldots, \texttt{(} x_k \texttt{,} \mathrm{d}x_k \texttt{)})

The differential variables dxj\mathrm{d}x_j are boolean variables of the same type as the ordinary variables xj.x_j.  Although it is conventional to distinguish the (first order) differential variables with the operational prefix d{}^{\backprime\backprime} \mathrm{d} {}^{\prime\prime} this way of notating differential variables is entirely optional.  It is their existence in particular relations to the initial variables, not their names, which defines them as differential variables.

In the example of logical conjunction, f(p,q)=pq,f(p, q) = pq, the enlargement Ef\mathrm{E}f is formulated as follows.

Ef(p,q,dp,dq)=(p+dp)(q+dq)=(p,dp)(q,dq)\begin{matrix} \mathrm{E}f(p, q, \mathrm{d}p, \mathrm{d}q) & = & (p + \mathrm{d}p)(q + \mathrm{d}q) & = & \texttt{(} p \texttt{,} \mathrm{d}p \texttt{)(} q \texttt{,} \mathrm{d}q \texttt{)} \end{matrix}

Given that this expression uses nothing more than the boolean ring operations of addition and multiplication, it is permissible to “multiply things out” in the usual manner to arrive at the following result.

Ef(p,q,dp,dq)=p q+p dq+q dp+dp dq\begin{matrix} \mathrm{E}f(p, q, \mathrm{d}p, \mathrm{d}q) & = & p~q & + & p~\mathrm{d}q & + & q~\mathrm{d}p & + & \mathrm{d}p~\mathrm{d}q \end{matrix}

To understand what the enlarged or shifted proposition means in logical terms, it serves to go back and analyze the above expression for Ef\mathrm{E}f in the same way we did for Df.\mathrm{D}f.  To that end, the value of Efx\mathrm{E}f_x at each xXx \in X may be computed in graphical fashion as shown below.

Collating the data of this analysis yields a boolean expansion or disjunctive normal form (DNF) equivalent to the enlarged proposition Ef.\mathrm{E}f.

Ef=pqEfpq+p(q)Efp(q)+(p)qEf(p)q+(p)(q)Ef(p)(q)\begin{matrix} \mathrm{E}f & = & pq \cdot \mathrm{E}f_{pq} & + & p(q) \cdot \mathrm{E}f_{p(q)} & + & (p)q \cdot \mathrm{E}f_{(p)q} & + & (p)(q) \cdot \mathrm{E}f_{(p)(q)} \end{matrix}

Here is a summary of the result, illustrated by means of a digraph picture, where the “no change” element (dp)(dq)\texttt{(} \mathrm{d}p \texttt{)(} \mathrm{d}q \texttt{)} is drawn as a loop at the point p q.p~q.

f=pqEf=pq(dp)(dq)+p(q)(dp) dq +(p)q dp (dq)+(p)(q)dp  dq\begin{array}{rcccccc} f & = & p & \cdot & q \\[4pt] \mathrm{E}f & = & p & \cdot & q & \cdot & \texttt{(} \mathrm{d}p \texttt{)(} \mathrm{d}q \texttt{)} \\[4pt] & + & p & \cdot & \texttt{(} q \texttt{)} & \cdot & \texttt{(} \mathrm{d}p \texttt{)} \texttt{~} \mathrm{d}q \texttt{~} \\[4pt] & + & \texttt{(} p \texttt{)} & \cdot & q & \cdot & \texttt{~} \mathrm{d}p \texttt{~} \texttt{(} \mathrm{d}q \texttt{)} \\[4pt] & + & \texttt{(} p \texttt{)} & \cdot & \texttt{(} q \texttt{)} & \cdot & \mathrm{d}p \texttt{~~} \mathrm{d}q \end{array}

We may understand the enlarged proposition Ef\mathrm{E}f as telling us all the ways of reaching a model of the proposition ff from the points of the universe X.X.

view this post on Zulip Jon Awbrey (Jul 11 2021 at 20:16):

Cf: Differential Logic • Discussion 8

A Reader inquired about the relationship between ordinary and differential boolean variables.  I thought it might help to explain how I first came to think about differential logic as a means of describing qualitative change.  The story goes a bit like this …

I wandered into this differential wonderland by following my nose through a budget of old readings on the calculus of finite differences.  It was a long time ago in a math library not too far away as far as space goes but no longer extant in time.  Boole himself wrote a book on the subject and corresponded with De Morgan about it.  I recall picking up the E\mathrm{E} for enlargement operator somewhere in that mix.  It was a genuine epiphany.  All of which leads me to suspect the most accessible entry point may be the one I happened on first, documented in the “Chapter on Linear Topics” I linked at the end of the following post.

Maybe it will help to go through that …

view this post on Zulip Jon Awbrey (Jul 12 2021 at 12:00):

Cf: Differential Logic • 8

Propositional Forms on Two Variables

To broaden our experience with simple examples, let's examine the sixteen functions of concrete type P×QBP \times Q \to \mathbb{B} and abstract type B×BB.\mathbb{B} \times \mathbb{B} \to \mathbb{B}.  Our inquiry into the differential aspects of logical conjunction will pay dividends as we study the actions of E\mathrm{E} and D\mathrm{D} on this family of forms.

Table A1 arranges the propositional forms on two variables in a convenient order, giving equivalent expressions for each boolean function in several systems of notation.

view this post on Zulip Jon Awbrey (Jul 12 2021 at 14:00):

Cf: Differential Logic • 9

Propositional Forms on Two Variables (cont.)

Table A2 arranges the propositional forms on two variables according to another plan, sorting propositions with similar shapes into seven subclasses.  Thereby hangs many a tale, to be told in time.

view this post on Zulip Jon Awbrey (Jul 12 2021 at 19:30):

Cf: Differential Logic • Discussion 9

Re: Laws of FormLyle Anderson

Standing back for a moment to take in the Big Picture, what we’re doing here is taking all the things we would normally do in a “calculus of many variables” setting with spaces like:

R,Rj,RjR,RjRk,\begin{matrix} \mathbb{R}, & \mathbb{R}^{j}, & \mathbb{R}^{j} \to \mathbb{R}, & \mathbb{R}^{j} \to \mathbb{R}^{k}, & \ldots \end{matrix}

and functoring that whole business over to B,\mathbb{B}, in other words, cranking the analogies as far as we can push them to spaces like:

B,Bj,BjB,BjBk,\begin{matrix} \mathbb{B}, & \mathbb{B}^{j}, & \mathbb{B}^{j} \to \mathbb{B}, & \mathbb{B}^{j} \to \mathbb{B}^{k}, & \ldots \end{matrix}

A few analogies are bound to break in transit through the Real-Bool barrier, once familiar constructions morph into new-fangled configurations, and other distinctions collapse or “condense” as Spencer Brown called it.  Still enough structure gets preserved overall to reckon the result a kindred subject.

To be continued …

view this post on Zulip Jon Awbrey (Jul 14 2021 at 10:12):

Cf: Differential Logic • Discussion 10

Re: Laws of FormLyle Anderson

Let's say we're observing a system at discrete intervals of time and testing whether its state satisfies or falsifies a given predicate or proposition pp at each moment.  Then pp and dp\mathrm{d}p are two state variables describing the time evolution of the system.  In logical conception pp and dp\mathrm{d}p are independent variables, even if empirical discovery finds them bound by law.

What gives the differential variable dp\mathrm{d}p its meaning in relation to the ordinary variable pp is not the conventional notation used here but a class of temporal inference rules, in the present example, the fourfold scheme of inference shown below.

view this post on Zulip Jon Awbrey (Jul 14 2021 at 13:00):

Cf: Differential Logic • 10

It's been a while, so let's review …

Tables A1 and A2 showed two ways of organizing the sixteen boolean functions or propositional forms on two variables, as expressed in several notations.  For ease of reference, here are fresh copies of those Tables.

We took as our first example the boolean function f8(p,q)=pqf_{8}(p, q) = pq corresponding to the logical conjunction pqp \land q and examined how the differential operators E\mathrm{E} and D\mathrm{D} act on f8.f_{8}.  Each differential operator takes a boolean function of two variables f8(p,q)f_{8}(p, q) and gives back a boolean function of four variables, Ef8(p,q,dp,dq)\mathrm{E}f_{8}(p, q, \mathrm{d}p, \mathrm{d}q) and Df8(p,q,dp,dq),\mathrm{D}f_{8}(p, q, \mathrm{d}p, \mathrm{d}q), respectively.

In the next several posts we'll extend our scope to the full set of boolean functions on two variables and examine how the differential operators E\mathrm{E} and D\mathrm{D} act on that set.  There being some advantage to singling out the enlargement or shift operator E\mathrm{E} in its own right, we'll begin by computing Ef\mathrm{E}f for each function ff in the above tables.

view this post on Zulip Jon Awbrey (Jul 16 2021 at 22:08):

Cf: Differential Logic • Discussion 11
Re: Differential Logic • Discussion 9

Let's look more closely at the “functor” from R\mathbb{R} to B\mathbb{B} and the connection it makes between real and boolean hierarchies of types.  There's a detailed discussion of this analogy in the article and section linked below.

Assorted types of mathematical objects which turn up in practice often enough to earn themselves common names, along with their common isomorphisms, are shown in the following Table.

view this post on Zulip Jon Awbrey (Jul 16 2021 at 22:08):

view this post on Zulip Jon Awbrey (Jul 22 2021 at 18:10):

Note. Copying a reply here for continuity's sake.

Cf: Differential Logic • Discussion 12
Re: @John Baez said:

One thing I'm interested in is functorially relating purely qualitative models to quantitative ones, or mixed quantitative-qualitative models where you have some numerical information of the sort you describe, but not all of it. That's a situation we often find ourselves in: having a mixture of quantitative and qualitative information about what's going on in a complicated system.

Re: John Baez said:

When I say "functorially", I mean for starters: there should be a functor from "quantitative models" of system dynamics to "qualitative models". (Both these terms need to be defined, and there's a choice of ways to do it.)

This is something I've been working on. In a turn of phrase I once concocted, it's like passing from the qualitative theory of differential equations to the differential theory of qualitative equations.

view this post on Zulip Jon Awbrey (Jul 22 2021 at 18:28):

Cf: Differential Logic • Discussion 13
Re: FB | Peirce SocietyΧριστο Φόρος

Χριστο Φόρος asked whether the difference between qualitative and quantitative information was really all that much of a problem, especially in view of mixed datasets. As I have encountered it in practice the rub is not so much between different types of data as between the two cultures of quantitative and qualitative research paradigms.

As it happens, my mix of backgrounds often found me employed consulting on statistics at the interface between quantitative and qualitative researchers.  On the qual side back in the 80s and 90s we were just beginning to develop software for ethographic methods, massaging linguistic, narrative, and verbal protocols toward categorical variables and non‑parametric statistics.  I worked a lot on concepts and software bridging the gap between qual and quant paradigms.

The program I spent the 80s developing and eventually submitted toward a Master’s in Psych integrated a Learning module (“Slate”) and a Reasoning module (“Chalk”).  The first viewed its input stream as a two-level formal language (“words” and “phrases”) and sought to induce a grammar for the language its environment was speaking to it.  The second was given propositional expressions describing universes of discourse and had to find all the conjunctions of basic qualitative features (boolean variables) satisfying those descriptions.  There’s a report on this work in the following paper.

view this post on Zulip Jon Awbrey (Jul 23 2021 at 18:56):

Cf: Differential Logic • Discussion 14
Re: FB | Peirce SocietyΧριστο Φόρος

Another bit of work I did toward a Psych M.A. was applying my Theme One Program to a real-live dataset on family dynamics.  A collection of notes on that project is linked below.

view this post on Zulip Jon Awbrey (Jul 24 2021 at 15:54):

Cf: Differential Logic • 11

As promised in Episode 10, in the next several posts we’ll extend our scope to the full set of boolean functions on two variables and examine how the differential operators E\mathrm{E} and D\mathrm{D} act on that set. There being some advantage to singling out the enlargement or shift operator E\mathrm{E} in its own right, we’ll begin by computing Ef\mathrm{E}f for each of the functions f:B×BB.f : \mathbb{B} \times \mathbb{B} \to \mathbb{B}.

We first encountered the shift operator E\mathrm{E} in Episode 4 when we imagined being in a state described by the proposition pqpq and contemplated the value of that proposition in various other states, as determined by the differential propositions dp\mathrm{d}p and dq.\mathrm{d}q. Those thoughts led us from the boolean function of two variables f8(p,q)=pqf_{8}(p, q) = pq to the boolean function of four variables Ef8(p,q,dp,dq)=(p,dp)(q,dq),\mathrm{E}f_{8}(p, q, \mathrm{d}p, \mathrm{d}q) = \texttt{(} p \texttt{,} \mathrm{d}p \texttt{)(} q \texttt{,} \mathrm{d}q \texttt{)}, as shown in the entry for f8f_{8} in the first three columns of Table A3.

(Let’s catch a breath here and discuss what the rest of the Table shows next time.)