Matter As Machine

Mutually exclusive events in cyclic lists of instructions

In this article, I’ll explore two examples of how the mutual exclusivity discussed earlier can work in cyclic lists of instructions:

  1. Fixed lists.
  2. Growing lists with changing event frequencies.

Both examples lead to similar constructions with squared relationships resembling the Pythagorean identity. These constructions may also help us understand some of the mathematical relationships used in modern physics. Squared relationships appear throughout fundamental physics, but their underlying origin is not always obvious. Why, for example, does the Born rule give probabilities as squared amplitudes?

Imagine a repeating list containing two kinds of events, A and B. Execute exactly one event per step, in stored order. A step can be A or B, never both.

As a reminder, the earlier article explores how mutually exclusive events can be treated as if they were independent. Starting with complementary probabilities p and 1 − p, we pair their records “independently” and normalize the matching-pair weights. This gives normalized weights a and b, where a² + b² = 1.

So our task is to show examples of these p and 1 − p events that can be represented with “independent” squares.

1. Fixed lists

With a fixed list of N events, increasing the number of B events means reducing the number of A events. If their counts are K and M:

p = M/N, q = K/N, p + q = 1.

For example, a fixed list of 120 instructions can contain 80 A events and 40 B events. Then p = 1/3 and q = 2/3. Increasing B to 60 leaves 60 A events; the total remains 120.

Pair the records and watch the squares

As in the switch example, form every ordered pair from two independently chosen records. The four pair weights are:

AA: q², AB: qp, BA: pq, BB: p².

They add to (p + q)² = 1. Keeping only matching pairs leaves D² = p² + q². This is a new pairing operation, not a change to the original single-step frequencies.

Change the number of B events within the fixed total below. Both sides of each matching square change together, so its area changes quadratically. The grey regions are mixed pairs; they do not represent a step in which both exclusive events occur.

Two event records form a square divided into q squared, p squared and two mixed regions. The matching weights follow quadratic curves.

Support on Patreon to explore the interactive simulations.

2. Growing lists compensated by a lower event frequency

There is another construction. Keep N₀ original A events and add n new B events. Do not replace or remove the original events:

N = N₀ + n, p = n/N, q = N₀/N = 1 − p.

Both constructions reduce to the same normalized pair, p and 1 − p. The counts change differently, but their shares have the same form.

One complete cycle now takes N steps instead of N₀. Measured in original-cycle units, its duration grows by:

T = N/N₀ = 1/q.

Meanwhile, the original events occur less frequently: their share of all steps falls to q. These changes compensate over a complete cycle:

qT = (N₀/N)(N/N₀) = 1.

For example, start with 12 A events and add 12 B events. The cycle takes twice as many steps, but A occurs on half of them. Each complete cycle still contains the original 12 A events. Adding events changes their frequency, not their count per cycle.

Build the same relationship geometrically

Use the same shares in a construction. During an interval T, move a centre K upward by pT and draw a circle around it with radius qT. Start both from O. Select the point P directly to the right of K.

The vertical and horizontal lengths are pT and qT. The diagonal OP has length DT, where:

D² = p² + q².

This construction uses perpendicular axes explicitly. In the first demonstration, the squares come from counting pairs; here, the same expression is represented by geometric lengths and areas.

Compare the fixed-interval view with the full-cycle view. In the latter, the interval grows to T = 1/q. The radius qT stays at 1 while the centre’s displacement grows to p/q = n/N₀. The longer list and lower A frequency compensate.

A circle has radius qT and its centre moves by pT. Over a complete growing cycle, qT remains one. Rearranging four triangles leaves the diagonal square.

Normalize the two coordinates

Divide p and q by the same D:

a = p/D, b = q/D.

Then a² + b² = 1, or equivalently b = √(1 − a²). The conversion is reversible for nonnegative shares:

p = a/(a + b), q = b/(a + b).

For a growing list, we also recover n/N₀ = p/q = a/b. Thus we can move between complementary event shares and normalized squared coordinates without losing the ratio of their counts.

The normalized coordinate b and the original frequency q are different quantities. Normalizing the diagram does not change which events the list executes.

Support on Patreon
Not followed