A Question of Logic

Introducing Extended Additive Logic: 1-bit Case

For pedagogical reasons, I shall begin with the simplest case of Extended Additive Logic (EAL). We will start with the 1-bit case, which will not reveal any departures from the classical paradigm, but will at least help us get used to the notation and terminology.

1-bit EAL

Truth Values

The truth values of EAL are binary vectors. In the 1-bit case they are 1-dimensional binary vectors 0 and 1. The truth values are ordered lexicographically, with 1 being the maximal element, and 0 being the minimal element.

0<1

We will call 1 the unit of this system. The unit is always the maximal element, and it is always an idempotent. On the other hand, 0 is an absorbing nilpotent. These terms will seem somewhat useless in the 1-dimensional case but we will see how significant they are even in 2-bit EAL. I will discuss nilpotents and idempotents in more detail later.

Addition

The first logical connective we will consider is addition. Two binary vectors can be added by adding up their components modulo two, and in our 1-dimensional case it is very simple:

01001110

This operation is identical to the exclusive OR (XOR) operation, regardless of dimension.

Multiplication

Recall that 1 is an idempotent. This implies 11=1. Since 0 is absorbing, 01=0 and 10=0 hold. Of course, 00 is also equal to 0. This way, we have inferred the entire multiplication table:

01000101

Somewhat disappointingly, it turns out that is the ordinary boolean AND. However, this is only true of the 1-bit model. Things get more interesting when the truth values have two or more dimensions.

Max and Min

Since the truth values are ordered lexicographically, we can take the maximum (denoted ) and minimum (denoted ) of any two truth values. This is fairly self-explanatory.

0100111101000101

Implication

The strong implication is notated as ab and is defined as the greatest truth value v such that avb.

01011101

The weak implication is notated as ab and is defined similarly: it is the greatest truth value u such that uab.

01011101

In the general case, these can be very different operations, but in our 1-dimensional example they turn out to be identical, because multiplication here obeys the commutative law.

Properties

Observe that multiplication () distributes over

In the 1-dimensional case, these seem somewhat trivial. But we will see later how they become powerful when working in 2 or more dimensions. In particular, distributivity over minimum and maximum is always retained, while distributivity over addition can break!

Conclusion and Parting Remarks

It should be clear that this case of EAL is identical to ordinary boolean logic. Indeed, boolean logic is, as we will see, simply a 1-dimensional shadow of EAL.

I highly recommend the following resources to gain some intuition for the general family of logical structures to which EAL belongs:

  1. https://en.wikipedia.org/wiki/Residuated_lattice
  2. https://math.chapman.edu/~jipsen/talks/Cagliari2024/Jipsen2024Intro2RL.pdf
  3. https://ramics20.lis-lab.fr/slides/slidesArman.pdf
  4. https://ncatlab.org/nlab/show/residuated+lattice

Big thanks to Sophie for editing and formatting advice.