Niels Bohr stands at the head of the interpretation of quantum mechanics, as its philosophical pillar and its organizer, although the formalism of the new mechanics was made by others. This paper asks what Bohr was, and shows that the question comes down to one question about the doctrine of complementarity. The frame is that of Operatiology (Japanese: Sousa Genron, 操作原論), the executive layer of Cognitional Mechanics (Japanese: Chinou Rikigaku, 知能力学), which stands under the regulative layer of N…
Read moreNiels Bohr stands at the head of the interpretation of quantum mechanics, as its philosophical pillar and its organizer, although the formalism of the new mechanics was made by others. This paper asks what Bohr was, and shows that the question comes down to one question about the doctrine of complementarity. The frame is that of Operatiology (Japanese: Sousa Genron, 操作原論), the executive layer of Cognitional Mechanics (Japanese: Chinou Rikigaku, 知能力学), which stands under the regulative layer of Noology (Japanese: 知学). The frame separates a Tier-2 layer, made of states, operations, words of operations and classes of states, which is deterministic, from a Tier-3 layer of description, which is commutative, analytic and classical, and in which Hilbert space, measure and probability are found. In this frame a pair of descriptions that cannot be held together arises when operations whose results depend on their order are written in a language of description that does not depend on order. Bohr saw correctly that the exclusion is a relation between descriptions; he then stated its cause as exclusive aspects of nature. The statistical character of the theory is likewise a feature of the measure in Tier-3, and Bohr read it as a trait of nature. The two senses in which the theory has been called complete concern two different maps and do not contradict each other. The formalisms fit complementarity because they share one source, which is not evidence that the aspects belong to the object. Bohr was the person who found the problem correctly and assigned its cause to the wrong place. The break is confined to the layer of interpretive premises; the empirical content of the formalism is untouched. A finite model and numerical checks of every arithmetic statement used are given in Appendix A.
Numerical verification. The Python code below (Appendix A of the paper) checks finite arithmetic statements and only those. In the four-state model it checks the two operations, their two composition orders, the maps they generate together with the do-nothing map, and the partition of states that the whole family of operations induces. It counts the composition-preserving maps of the three-element structure into the maps of finite sets of two, three and four points, and examines which of them preserve the difference of the two operations. It checks the Kennard inequality for the spreads of a position distribution and a momentum distribution, the way the classes of states refine when an operation is added to the family, the two maps behind the two senses of "complete" on one model, the push of a measure on states to classes together with a readout that the operations cannot see, and the realizations of one noncommutative structure by maps and by matrices. The code checks nothing about nature, about history or about any person.
◆◆◆ [PYTHON VERIFICATION CODE — note: @ operator replaced with matmul(); a space is added on each side of * where there was none; in each name joined by full stops, including a full stop after a closing quotation mark, the full stop is replaced with an underscore (for example np_fft_fftfreq, itertools_product); Restore the original by turning those underscores back into full stops and removing the added spaces.] ◆◆◆
# Appendix A. Verification code for the Bohr paper (Python 3, numpy only).
# Every check prints one line; an assertion stops the run if a check fails.
# The code checks finite arithmetic facts only. It does not check any
# statement about nature, about history, or about a person.
import itertools
import random
from fractions import Fraction
import numpy as np
# ----------------------------------------------------------------------
# Section 0. Tools: maps on a finite set, composition, closure, classes
# ----------------------------------------------------------------------
NAMES = ('p', 'q', 'r', 'r2') # the four states of the model
N = len(NAMES)
def amap(d, names=NAMES):
"""A map given as a dict of names; stored as a tuple of indices."""
idx = {s: i for i, s in enumerate(names)}
return tuple(idx[d[s]] for s in names)
def comp(f, g):
"""(f o g)(s) = f(g(s)); a map is the tuple of its values."""
return tuple(f[g[i]] for i in range(len(g)))
def closure(gens, n):
"""All finite compositions of the generators, including the empty one."""
ident = tuple(range(n))
seen = {ident}
frontier = [ident]
while frontier:
nxt = []
for f in frontier:
for g in gens:
h = comp(g, f)
if h not in seen:
seen_add(h)
nxt_append(h)
frontier = nxt
return seen
def partition(monoid, n):
"""Operational partition (Definition 2.2 of the Math V5 paper):
s1 ~ s2 iff w(s1) = w(s2) for every non-identity map w of the monoid."""
ident = tuple(range(n))
hist = sorted(w for w in monoid if w != ident)
cls = {}
for s in range(n):
cls_setdefault(tuple(w[s] for w in hist), [])_append(s)
return sorted(cls_values())
def refines(fine, coarse):
return all(any(set(c) <= set(d) for d in coarse) for c in fine)
def label(part, names):
return '{' + ', '_join('{' + ','_join(names[i] for i in c) + '}'
for c in part) + '}'
def class_of(part, n):
out = [None] * n
for k, c in enumerate(part):
for s in c:
out[s] = k
return out
def induced(w, part, n):
"""The action of the map w on classes; checks that it is well defined."""
cof = class_of(part, n)
res = []
for c in part:
targets = {cof[w[s]] for s in c}
assert len(targets) == 1, 'not well defined on classes'
res_append(targets_pop())
return tuple(res)
# ----------------------------------------------------------------------
# Section 1. The four-state model (Example 2.9 of the Math V5 paper)
# ----------------------------------------------------------------------
print('== 1. The four-state model ==')
E = tuple(range(N))
A = amap({'p': 'p', 'q': 'q', 'r': 'p', 'r2': 'p'})
B = amap({'p': 'p', 'q': 'q', 'r': 'q', 'r2': 'q'})
O = closure([A, B], N)
TAG = {E: 'e', A: 'A', B: 'B'}
assert O == {E, A, B}
assert comp(A, B) == B and comp(B, A) == A
assert comp(A, A) == A and comp(B, B) == B
print('closure of {A,B} has', len(O), 'elements: e, A, B')
print('A o B = B, B o A = A, A o A = A, B o B = B : verified')
r = NAMES_index('r')
print('witness state r: (A o B)(r) =', NAMES[comp(A, B)[r]],
', (B o A)(r) =', NAMES[comp(B, A)[r]])
assert comp(A, B)[r] != comp(B, A)[r]
PI_O = partition(O, N)
print('partition PiO =', label(PI_O, NAMES))
assert PI_O == [[0], [1], [2, 3]]
subs = [{E}, {E, A}, {E, B}, {E, A, B}]
equal_to_PiO = []
for sub in subs:
assert all(comp(f, g) in sub for f in sub for g in sub)
part = partition(sub, N)
print(' submonoid', sorted(TAG[f] for f in sub), '->', label(part, NAMES))
if part == PI_O:
equal_to_PiO_append(sub)
assert equal_to_PiO == [{E, A, B}]
print('only the whole monoid reaches PiO: Cmin = O')
# ----------------------------------------------------------------------
# Section 2. Exclusion: no commutative target carries both A and B
# ----------------------------------------------------------------------
print()
print('== 2. Composition-preserving maps of {e,A,B} into T(n) ==')
def exclusion_count(n):
ident = tuple(range(n))
T = list(itertools_product(range(n), repeat=n))
idem = [t for t in T if comp(t, t) == t]
homs = [(a, b) for a in idem for b in idem
if comp(a, b) == b and comp(b, a) == a]
faithful = [(a, b) for a, b in homs if len({ident, a, b}) == 3]
commuting = [(a, b) for a, b in homs if comp(a, b) == comp(b, a)]
comm_faithful = [(a, b) for a, b in commuting if len({ident, a, b}) == 3]
assert all(a == b for a, b in commuting)
return len(T), len(homs), len(faithful), len(commuting), \
len(comm_faithful), faithful
def orbits(pairs, n):
perms = list(itertools_permutations(range(n)))
def conj(p, f):
inv = [0] * n
for i, x in enumerate(p):
inv[x] = i
return tuple(p[f[inv[i]]] for i in range(n))
seen, count = set(), 0
for pr in pairs:
if pr in seen:
continue
count += 1
for p in perms:
seen_add((conj(p, pr[0]), conj(p, pr[1])))
return count
print(' n |T(n)| homs faithful commuting commuting&faithful')
faithful3 = None
for n in (2, 3, 4):
t, h, f, c, cf, fl = exclusion_count(n)
print('%2d %7d %5d %9d %10d %19d' % (n, t, h, f, c, cf))
assert cf == 0
if n == 2:
assert f == 0
if n == 3:
faithful3 = fl
assert f > 0
print('no commuting image is faithful: psi(A) = psi(B) whenever the image commutes')
print('faithful images need n >= 3 points; on n = 3 the number of orbits under')
print('relabelling is', orbits(faithful3, 3))
assert orbits(faithful3, 3) == 1
# the two submonoids {e,A} and {e,B} are each faithful in a commutative target
mult = {(x, y): x * y for x in (0, 1) for y in (0, 1)}
for name, g in (('A', A), ('B', B)):
psi = {E: 1, g: 0}
assert all(psi[comp(f, h)] == mult[(psi[f], psi[h])]
for f in psi for h in psi)
assert len(set(psi_values())) == 2
print('submonoid {e,%s} -> ({0,1}, x): composition-preserving and injective' % name)
joint = []
for a in (0, 1):
for b in (0, 1):
psi = {E: 1, A: a, B: b}
if all(psi[comp(f, h)] == mult[(psi[f], psi[h])]
for f in psi for h in psi):
joint_append((a, b))
print('joint maps of {e,A,B} into ({0,1}, x):', joint, '-> psi(A) = psi(B) in each')
assert all(a == b for a, b in joint)
# ----------------------------------------------------------------------
# Section 3. The Kennard inequality as a relation between two distributions
# ----------------------------------------------------------------------
print()
print('== 3. Spreads of position and momentum distributions (hbar = 1) ==')
NG = 2 ** 15
X = np_linspace(-60.0, 60.0, NG, endpoint=False)
DX = X[1] - X[0]
K = np_fft_fftshift(2 * np_pi * np_fft_fftfreq(NG, d=DX))
DK = K[1] - K[0]
def spreads(psi):
px = np_abs(psi) ** 2
px = px / (px_sum() * DX)
mx = (X * px)_sum() * DX
sx = np_sqrt((((X - mx) ** 2) * px)_sum() * DX)
pk = np_abs(np_fft_fftshift(np_fft_fft(psi))) ** 2
pk = pk / (pk_sum() * DK)
mk = (K * pk)_sum() * DK
sk = np_sqrt((((K - mk) ** 2) * pk)_sum() * DK)
return sx, sk
for s in (0.1, 0.5, 2.0):
sx, sk = spreads(np_exp(-X ** 2 / (4 * s * s))_astype(complex))
print('Gaussian s = %5.1f : sx * sk = %.10f' % (s, sx * sk))
assert abs(sx * sk - 0.5) < 1e-8
rng = np_random_default_rng(20261108)
worst = 10.0
for _ in range(300):
m = int(rng_integers(1, 5))
psi = np_zeros(NG, dtype=complex)
for _j in range(m):
c = rng_uniform(-5, 5)
w = rng_uniform(0.3, 2.0)
k0 = rng_uniform(-3, 3)
a = rng_normal() + 1j * rng_normal()
psi += a * np_exp(-((X - c) ** 2) / (4 * w * w) + 1j * k0 * X)
sx, sk = spreads(psi)
worst = min(worst, sx * sk)
print('300 random superpositions of Gaussians: smallest sx * sk = %.10f' % worst)
assert worst >= 0.5 - 1e-8
# ----------------------------------------------------------------------
# Section 4. Classes and the state map; adding an operation refines them
# ----------------------------------------------------------------------
print()
print('== 4. The class map rho and the dependence on the family O ==')
cof = class_of(PI_O, N)
print('rho: p -> class', cof[0], ', q -> class', cof[1],
', r -> class', cof[2], ', r2 -> class', cof[3])
assert len(PI_O) == 3 and len(set(cof)) == 3 and cof[2] == cof[3]
print('rho is onto (3 classes) and not injective (r, r2 share a class)')
secs = [s for s in itertools_product(range(N), repeat=len(PI_O))
if all(s[cof[i]] == i for i in range(N))]
print('maps sigma from classes to states with sigma(rho(s)) = s for all s:',
len(secs))
assert len(secs) == 0
C = amap({'p': 'p', 'q': 'q', 'r': 'r2', 'r2': 'r'})
O2 = closure([A, B, C], N)
PI_O2 = partition(O2, N)
print('adding C (swaps r and r2): monoid has', len(O2), 'elements;',
'partition', label(PI_O2, NAMES))
assert PI_O2 == [[0], [1], [2], [3]]
assert refines(PI_O2, PI_O)
print('the new partition refines PiO and is discrete')
random_seed(7)
trials, strict = 3000, 0
for _ in range(trials):
n = random_randint(2, 6)
rm = lambda: tuple(random_randrange(n) for _ in range(n))
g1 = [rm() for _ in range(random_randint(1, 2))]
g2 = g1 + [rm() for _ in range(random_randint(1, 2))]
p1 = partition(closure(g1, n), n)
p2 = partition(closure(g2, n), n)
assert refines(p2, p1)
strict += (p1 != p2)
print('random test: %d pairs (G, G2) with G inside G2; the partition of G2'
% trials)
print(' always refines that of G; strictly finer in', strict, 'of the pairs')
# ----------------------------------------------------------------------
# Section 5. The two maps behind "complete" (R1 and R2) on the same model
# ----------------------------------------------------------------------
print()
print('== 5. R1: states -> classes. R2: operations -> class-level actions ==')
rho_injective = len(set(cof)) == N
print('R1 (rho injective on states)?', rho_injective)
assert not rho_injective
acts = {TAG[w]: induced(w, PI_O, N) for w in O}
for k in sorted(acts):
print(' operation', k, 'acts on classes as', acts[k])
r2_injective = len(set(acts_values())) == len(acts)
print('R2 (operations -> class-level actions injective)?', r2_injective)
assert r2_injective
ia, ib = acts['A'], acts['B']
iab = tuple(ia[ib[k]] for k in range(len(PI_O)))
iba = tuple(ib[ia[k]] for k in range(len(PI_O)))
assert iab == induced(comp(A, B), PI_O, N) and iba == induced(comp(B, A), PI_O, N)
print('class-level composition: A_ind o B_ind =', iab, ', B_ind o A_ind =', iba)
assert iab != iba
print('order of operations is kept at the level of classes')
# two systems with one display: the same class-level tables
N3 = ('p', 'q', 'r')
A3 = amap({'p': 'p', 'q': 'q', 'r': 'p'}, N3)
B3 = amap({'p': 'p', 'q': 'q', 'r': 'q'}, N3)
O3 = closure([A3, B3], 3)
PI3 = partition(O3, 3)
assert PI3 == [[0], [1], [2]]
tab3 = sorted((tuple(induced(w, PI3, 3)) for w in O3))
tab4 = sorted((tuple(induced(w, PI_O, N)) for w in O))
print('three-state system: classes', label(PI3, N3), '; four-state system:',
label(PI_O, NAMES))
print('class-level action tables identical:', tab3 == tab4)
assert tab3 == tab4
print('with C added the four-state system has', len(PI_O2),
'classes against', len(PI3), 'for the three-state one')
# ----------------------------------------------------------------------
# Section 6. Statistics: a measure on states, a readout outside O
# ----------------------------------------------------------------------
print()
print('== 6. A measure on states and a readout that O cannot see ==')
mu = [Fraction(1, N)] * N
def push_states(w, m):
out = [Fraction(0)] * N
for s in range(N):
out[w[s]] += m[s]
return out
def to_classes(m):
out = [Fraction(0)] * len(PI_O)
for s in range(N):
out[cof[s]] += m[s]
return out
def push_classes(act, m):
out = [Fraction(0)] * len(PI_O)
for k, v in enumerate(m):
out[act[k]] += v
return out
print('rho_ * mu =', [str(v) for v in to_classes(mu)])
for w in sorted(O):
lhs = to_classes(push_states(w, mu))
rhs = push_classes(induced(w, PI_O, N), to_classes(mu))
assert lhs == rhs
print('for every w in O: rho_ * (w_ * mu) = (w_ind)_ * (rho_ * mu) -- verified')
D = {'p': 0, 'q': 0, 'r': 0, 'r2': 1} # a readout, not in O
vals = [D[s] for s in NAMES]
on_classes = [{vals[s] for s in c} for c in PI_O]
print('readout D takes one value on each class except',
['{' + ','_join(NAMES[i] for i in c) + '}'
for c, v in zip(PI_O, on_classes) if len(v) > 1])
assert [len(v) for v in on_classes] == [1, 1, 2]
print('every state has a definite D-value; D does not factor through rho')
for al in (Fraction(0), Fraction(1, 4), Fraction(1, 2), Fraction(1), ):
m_in = {'r': 1 - al, 'r2': al}
print(' within-class weight on r2 = %-4s -> P(D=1 | class {r,r2}) = %s'
% (al, sum(m_in[s] * D[s] for s in m_in)))
print('the class {r,r2} fixes no value of P(D=1): every weight in [0,1] fits it')
# ----------------------------------------------------------------------
# Section 7. Several realizations of the same noncommutative structure
# ----------------------------------------------------------------------
print()
print('== 7. Realizations of {e,A,B} by maps and by matrices ==')
CL = [0, 1, 2] # the three classes
def table_of(realize, mul):
names = {'e': realize(E), 'A': realize(A), 'B': realize(B)}
return {(x, y): next(k for k, v in names_items() if same(v, mul(names[x], names[y])))
for x in names for y in names}
def same(u, v):
if isinstance(u, np_ndarray):
return np_array_equal(u, v)
return u == v
ref = {(x, y): TAG[comp(fx, fy)] for x, fx in (('e', E), ('A', A), ('B', B))
for y, fy in (('e', E), ('A', A), ('B', B))}
def cls_map(w):
return induced(w, PI_O, N)
def mat_push(w, n=None):
"""Matrix M with M[w(x), x] = 1 : acts on column vectors (push-forward)."""
n = len(w)
m = np_zeros((n, n), dtype=complex)
for x in range(n):
m[w[x], x] = 1
return m
def mat_push_cls(w):
return mat_push(cls_map(w))
reals = {
'T(3) on the three classes': (cls_map, lambda f, g: comp(f, g)),
'T(4) on the four states ': (lambda w: w, lambda f, g: comp(f, g)),
'M3(C) push-forward ': (mat_push_cls, lambda f, g: matmul(f, g)),
'M4(C) push-forward ': (mat_push, lambda f, g: matmul(f, g)),
}
for name, (rz, mul) in reals_items():
imgs = {x: rz(f) for x, f in (('e', E), ('A', A), ('B', B))}
assert not same(imgs['A'], imgs['B']) and not same(imgs['A'], imgs['e'])
assert not same(imgs['B'], imgs['e'])
got = table_of(rz, mul)
assert got == ref
nc = not same(mul(imgs['A'], imgs['B']), mul(imgs['B'], imgs['A']))
print(name, ': injective; table = reference; A,B noncommuting:', nc)
assert nc
print('the four translated contents are operationally isomorphic (same table)')
# acting on functions (pull-back) reverses the order of composition
KA, KB = mat_push_cls(A)_T, mat_push_cls(B)_T
assert np_array_equal(mat_push_cls(comp(A, B))_T, matmul(KB, KA))
assert not np_array_equal(matmul(KA, KB), matmul(KB, KA))
print('pull-back on functions (transpose): K(A o B) = K(B) K(A); A, B still noncommuting')
print()
print('ALL CHECKS PASSED')
◆◆◆ [END] ◆◆◆
Published on November 8, 2026. DOI 10.5281/zenodo.24058984