COORDINATES — which coordinate system reads which operation

The object: the integers written in coordinate systems, each writing a number as a tuple of coordinates by a bijection, above all the three classical ones: residues at a set of primes, each a channel, indices (a discrete logarithm in each channel) and positional digits, defined on Z/M for residues (M a product of distinct primes), on the units U(M) for indices and on Z/b^j for j digits in base b. The exponent vector, the logarithm the integers themselves carry, stands beside them in the table, uncounted: on a finite prime set it is no bijection. Each system reads some operations cheaply, and an operation it does not read cheaply is one of its walls. This page says which pair of operations each system reads, proves that on Z/M no system with two coordinates or more reads addition coordinate by coordinate with the sign a function of one coordinate, names three kinds of wall, names, for each wall in the bearers' table here and in SIZE, the hypothesis it needs or uses, and reads the Internet checksum, where digits and residues meet, one prime at a time, and a shifted modular checksum's reach by the order of 2 up to sign, with a parity bit and without.

SYSTEM             +                  ×              POWERING       SIZE
residues mod M     channel-local      channel-local  exponent read  walled
 (M squarefree)                                      mod λ, y ≥ 1
indices on U(M)    one table per      addition       scaling        walled
                    channel,
                    compatible with
                    no proper
                    quotient but Z/1
exponent vectors   walled             addition       scaling        walled
digits in base b   one carry bit,     not automatic  —              compared
                    no bounded set                                   top first

λ = lcm(p − 1) over the channels, Carmichael's exponent of a squarefree M, and the table's y ≥ 1 is the exponent of a power x^y. At a prime M the one channel reads size, and under indices so does the channel p of U(2p), every unit odd (Size under indices). Powering under digits is not settled here (—): it has no cheap probe. The exponent vector is read on a finite prime set, as a residue system is read at a finite set of channels, and there size is walled outright: 1 and every prime outside the set share the zero vector.

Past those outright walls three kinds appear. Size at two channels or more is an information wall under residues, and under indices except on U(2p): no read of one channel determines it (SIZE: The size wall, Size under indices). Addition under indices is a structure wall: the data sits in one channel, but as a table compatible with no proper quotient but Z/1 (proved below, p ≥ 5). Powering under residues is a type wall unless λ | M: the exponent is read only mod λ, so through y mod M only when λ | M (proved below).

The two-readings criterion

Tier: criterion.
Verifier: proof; coordinates.py::section_b.

Greedy numeration on a scale 1 = T₀ < T₁ < T₂ < ⋯ writes n with digits d_i, taking at each step from the top the largest multiple of T_i that fits. The low prefix Σ_{i<j} d_i T_i equals n mod T_j for every n and j iff the scale is a divisibility chain, T_j | T_i for i ≥ j. On every scale, chain or not, digit strings compared from the top are compared as numbers; that half is known (Shallit, Numeration systems, linear recurrences, and regular sets, Waterloo report 1991, sec. 2; ICALP 1992): the greedy representation is order-preserving.

Proof. Greedy leaves the part of n below position i under T_i. On a chain the prefix is under T_j and n minus it is a sum of multiples of T_i, i ≥ j, each 0 mod T_j. Conversely n = T_i is the single digit 1 at i, prefix 0, which forces T_j | T_i. For order, at the first differing position d_i < d′_i, and what is left of the smaller number is below T_i.

The scales on which both readings hold are exactly the divisibility chains: a positional base, and every mixed radix. Zeckendorf keeps only the order half.

The carry wall

Tier: theorem.
Verifier: proof; coordinates.py::section_a.

In base b, no bounded set of digit positions, fixed relative to j as j grows and joined by a fixed block of low digits, reads digit j of x + y once j is large. One carry bit, read from the least significant digit up, computes the whole sum.

Proof. Given the set, pick a position ℓ < j outside it and above the low block, which exists once j is large. Let x = Σ_{i=ℓ}^{j−1} (b − 1)bⁱ and compare y = b^ℓ with y′ = 0. The inputs differ only at ℓ, and x + y = b^j has digit j equal to 1 while x + y′ < b^j has digit j equal to 0.

No synchronous automaton recognizes the graph x·y = z in any base. Addition is recognized by one, the carry bit its state, so a second for x·y = z would make (N, +, ×), N the natural numbers, an automatic structure; an automatic structure has a decidable first-order theory (B. R. Hodgson, Décidabilité par automate fini, Ann. Sci. Math. Québec 7 (1983) 39–57; B. Khoussainov and A. Nerode, Automatic presentations of structures, Lecture Notes in Comput. Sci. 960 (1995) 367–392), and (N, +, ×) does not (A. Tarski, A. Mostowski and R. M. Robinson, Undecidable theories, North-Holland, 1953).

Addition and multiplication each decide

Tier: known.
Source: Presburger 1929; Mostowski 1952; Putnam 1957; Villemaire 1992; Korec 1993 and 1995; Bès 1997; all as given in Bès, A survey of arithmetical definability (Proposition 5, Theorems 23 and 36, the notes on Pascal triangles); J. Robinson, J. Symbolic Logic 14 (1949) 98.

(N, +) has a decidable theory (Presburger), and so does (N∖{0}, ×). Through the exponent vector, (N∖{0}, ×) is the weak direct power of (N, +): one copy at every prime, all but finitely many coordinates zero. A weak power of a decidable structure is decidable (Mostowski). So the valuations at every prime, joined only by coordinatewise addition, cost no decidability, and on the additive side neither does reading size, since < is definable in (N, +); beside × it does, since < defines the successor and × with the successor defines + (J. Robinson, 1949): z = x + y iff (xz + 1)(yz + 1) = z²(xy + 1) + 1 with z ≠ 0, or x = y = z = 0, as the identity reduces to (x + y)z = z². (N, +, ×) is undecidable though neither half is. The undecidable expansions of (N, +) that the survey charts add a trace of multiplication (a noncomputable set needs none): the squares define × (Putnam), and so do the predicates V_k(x), the largest power of k dividing x, at two multiplicatively independent bases (Villemaire). Pascal's triangle mod n, B_n(x, y) = C(x + y, x) mod n, reads at each p dividing n whether adding x and y in base p carries (Lucas), and is decidable beside + at a prime power but defines + and × by itself once n has two primes, as at 6 (Korec). Residues at finitely many primes add only periodic sets, which (N, +) already defines, so even joined with size they decide.

The suffix and floor reads

Tier: criterion.
Verifier: proof; coordinates.py::section_s.

For m ≥ 2, in base b [m | n] is a function of the last j digits iff m | b^j, so some suffix reads it iff rad(m) | rad(b). On a chain of moduli 1 = M₀ | M₁ | M₂ | ⋯, at depth t with M_t ≥ 2 and lookahead c ≥ 0, ⌊n/m⌋ mod M_t is a function of n mod M_(t+c) iff m·M_t | M_(t+c).

Proof. n and n + b^j share the suffix, and at n = 0 they disagree unless m | b^j; conversely, if m | b^j the suffix n mod b^j fixes n mod m. For the floor, write M′ = M_(t+c). The step ⌊(n + M′)/m⌋ − ⌊n/m⌋ is the constant M′/m when m | M′, which is 0 mod M_t iff m·M_t | M′. Otherwise it takes both values ⌊M′/m⌋ and ⌊M′/m⌋ + 1 as n runs over the residues mod m, and two consecutive integers are never both 0 mod M_t.

On the primorial chain M_t = p₁⋯p_t this reads ⌊n/m⌋ at depth t iff m is squarefree with every prime factor above p_t, and the least lookahead is exactly π(P(m)) − t, P(m) the largest prime factor of m. So division by m is read only at the depths t with p_t below m's least prime, and at no depth from that prime's on. Divisibility behaves the other way: every squarefree m divides the primorials from some depth on. At a fixed base the two reads coincide, both holding iff rad(m) | rad(b); on the primorial chain they part.

The Internet checksum

Tier: theorem.
Verifier: proof; checksum.py::section_r; checksum.py::section_c; checksum.py::section_b; checksum.py::section_u; checksum.py::section_w.

Where digits and residues meet: at M = b − 1 a base-b numeral is congruent to its digit sum, since b ≡ 1. The Internet checksum is that meeting at b = 2¹⁶. RFC 1071 sums a message's 16-bit words in ones' complement and sends the complement; its appendix (IEN 45) reads the sum as the remainder mod 2¹⁶ − 1, the end-around carry as the reduction, and the complement is negation. The ones' complement +0 and −0, 0x0000 and 0xFFFF, are the two representatives of the class 0. The modulus is 65535 = 3 · 5 · 17 · 257, the Fermat primes F₀ to F₃, so the checksum is four checksums, one per prime.

Each prime reads a bit by its position alone. At the Fermat prime F_j = 2^(2^j) + 1, 2^(2^j) ≡ −1, so a bit at position a of any word counts at F_j as ±2^(a mod 2^j), with sign (−1)^⌊a/2^j⌋: the four primes read the position mod 2, 4, 8 and 16, and none reads which word holds it.

The shifted checksum

Tier: criterion.
Verifier: proof; shiftsum.py::brute; shiftsum.py::law; shiftsum.py::crit_y; shiftsum.py::fails_next.

A modular checksum that shifts in k zero bits before its last reduction (arXiv:2304.13496, Figure 1 and Appendix A) sends, beside L data bits read as one integer X, the k-bit check C = X·2^k mod M, M ≤ 2^k, and the receiver recomputes C from the data it receives; a seed XORed into the first block only relabels the data words, so it changes no length. Write M = 2^a m′ with m′ odd and m′ > 1 (so a ≤ k − 2), D the least d ≥ 1 with 2^d ≡ ±1 mod m′, s = 2^D mod m′, which is 1 or −1, and L* = D − k + a. Every error of one or two bits is caught at L ≤ L*. At L* ≥ 0, L = L* + 1 misses an error of two bits exactly when s = 1 or some y < 2^(L*) has y·2^(k−a) mod m′ odd: so whenever 2^(L*) ≥ m′ and, at L* ≥ 1, whenever M > 2^(k−1). The least y ≥ 1 with y·2^(k−a) mod m′ odd is 1 where u = 2^(k−a) mod m′ is odd and ⌈m′/u⌉ where u is even, so the criterion is one comparison. Every longer word keeps that miss, its new top bits 0. As at the Fermat primes above, the place m′ reads a bit by its position alone: bit i of X counts there as 2^(i+k), so, up to sign, it reads i mod D. The paper names the two mechanisms in words, a data pair that cancels and a data flip that moves the check by one bit; the first alone is the classical bound of arithmetic codes, the least multiple of an odd A of arithmetic weight 2 being 2^e − s at e = D(A) (Brown 1960, Peterson 1961, as Liu 1972 restates them, Theorem 2.4.3).

Proof. Flips in the check alone leave X and move C, and one data flip at bit i moves X·2^k by ±2^(i+k), never 0 mod m′. Two data flips at i < j are missed only if m′ | 2^(j−i) ± 1, so only if j − i ≥ D, and j − i ≤ L − 1 < D at L ≤ L*. A data flip at i with a check flip at j is missed only if ±2^j ≡ ±2^(i+k) mod M: mod 2^a, j ≥ a; mod m′, 2^(i+k−j) ≡ ±1, so i + k − j ≥ D and i ≥ L* + (j − a) ≥ L*. So no error is missed at L ≤ L*, and at L* + 1, where j − i ≤ L* < D still bars a data pair, only the pair i = L*, j = a can be. Write C = 2^a c′, c′ = X·2^(k−a) mod m′. A flip of data bit L* of sign e₁ (+1 for 0 → 1) moves c′ to (c′ + e₁s) mod m′, one of check bit a of sign e₂ moves it to c′ + e₂, and m′ ≥ 3, so the pair is missed iff e₂ = e₁s and c′ + e₂ lies in [0, m′). At s = 1, X = 0 is missed. At s = −1 put X = e·2^(L*) + y, y < 2^(L*): at e = 0 the pair asks c′(y) odd; at e = 1, c′ = c′(y) − 1 mod m′, even and at most m′ − 2, again c′(y) odd. When 2^(L*) ≥ m′, y meets every residue; at M > 2^(k−1), m′ > 2^(k−a−1) makes c′(1) = 2^(k−a) − m′ odd. At u odd, c′(1) = u; at u even, yu is even and below m′ while y < m′/u, and at y = ⌈m′/u⌉ it lies between m′ and m′ + u, so c′(y) = yu − m′ is odd.

The script breaks Figure 1's kernel as printed, every data word and every one- and two-bit error, at k = 2..8 with words to 14 bits, blocks of 1 and k bits (16 bits and k-bit blocks alone at k = 8), and reads the first failing length (in blocks, at b = k) equal to the law's at all 94 rows read where 2^(L*) ≥ m′ (165 more lie past the caps), all at k = 5..8; else at all 104 read at s = 1, L* ≥ 0, and all 87 read at M > 2^(k−1), L* ≥ 1, families that overlap; and at all 40 read at s = −1, b = 1, L* ≥ 0 without it, the criterion decides L* + 1, 30 failing. The one comparison equals the criterion read y by y at all 7496 pairs (k, M), M ≤ 2^k, k = 2..12, with L* ≥ 0. Where L* < 0 the law says nothing.

The law ships as shiftsum.py's reach(M, k, block), the length every error of one or two bits is caught through and, where the criterion holds, the first at which one is missed, in blocks of a reader's size, and checksum(data, M, k), the check itself on a reader's bytes. Both refuse outside M ≤ 2^k with m′ > 1 and past 64 bits, and reach where L* < 0.

The best shifted moduli

Tier: rule (verified at k = 8, 16, 32 and 64).
Verifier: shiftsum.py::best; shiftsum.py::best_far.

The longest reach at k bits, each modulus the only one at its L*:

k    M          D              L* (bits)        BYTES
8    239        119            111              13
16   65519      32759          32743            4092
32   2^32 − 5   2^31 − 3       2,147,483,613    268,435,451
64   2^64 − 59  2^63 − 30      2^63 − 94        2^60 − 12

In whole bytes 227 ties 239 (L* = 105). The 8- and 16-bit rows read L* at every M, and the paper's screens of every modulus found the same two lengths, and 12 bytes at its 253 (L* = 102). Past 16 bits a bound decides. D(m) ≤ φ(m)/2 ≤ (m − 1)/2 at odd m > 1: an odd order divides λ(m)/2, an even one at a prime power p^e halves to the group's one involution, −1, and at two or more primes λ(m) ≤ φ(m)/2; so D = (m − 1)/2 only at a prime. The winner is the largest prime p ≤ 2^k with D(p) = (p − 1)/2, every odd m in (p, 2^k] bounded by φ(m)/2 (2 of them at 32 bits, 29 at 64), and an even M has L* ≤ (2^(k−a) − 1)/2 − k + a, below p's. Each winner meets the criterion (s = 1 at 239 and 65519, the top bit used at the other two), and a modulus whose L* + 1 is clean has 2^(L*) < m′, so reads at most D(m′) < 2k bits, the data pair D apart then missed. The paper's 32-bit length for 2^32 − 5, 134,217,720 bytes, which its own trials could not confirm, is about half the law's. shiftsum.py's best_modulus(k) returns a row's M and L* at the table's four widths.

The parity variant

Tier: criterion.
Verifier: proof; shiftpar.py::firsts; shiftpar.py::ddr_first.

The same paper's section V sends one parity bit p beside an r-bit shifted residue R = X·2^t mod M, M ≤ 2^r ≤ 2^t, and reads p two ways: its text puts the residue in the parity, p = par(X) ⊕ par(R) (the reading T), and its code takes the data alone, p = par(X) (the reading C). Write L*_t for the shifted checksum's L* with t in place of k. Under T no error of odd weight is missed, and one of weight 2 is missed exactly where the shifted checksum with t for k misses it: so every error of weight at most 3 is caught at L ≤ L*_t, and at L*_t ≥ 0, L*_t + 1 misses one of weight 2 exactly when that checksum's criterion holds with t for k. Under C the errors of weight at most 3 that can be missed are a data pair, missed where T misses it; a data flip, a residue flip and the parity bit, missed exactly where T misses the data flip and residue flip alone; and data flips at i < j with a residue flip at l, of signs e_i, e_j, e_l (+1 for 0 → 1), missed at a word X < 2^L iff (e_i 2^i + e_j 2^j)·2^t ≡ e_l 2^l mod M, X's bits at i, j and R's bit at l hold the values those signs flip, and R + e_l 2^l < M. So C's first failing length is the lesser of T's and the first L at which that congruence meets its range.

Proof. The receiver recomputes R and p from the data it receives. Under T the sent word X, R, p has even weight, so an error of odd weight leaves the recomputed parity off. An error of weight 2 with one flip at p leaves X and moves R, or moves X by ±2^i and leaves R while the recomputed residue moves by ±2^(i+t), never 0 mod m′: caught either way. Within X and R it keeps the parity, and the residue alone decides, which is the shifted checksum with an r-bit check, r ≥ a + 2, and t for k. Under C the parity catches an error exactly when its count of data flips and its count of parity flips differ in parity, and an error with no data flip leaves X, so it is caught unless it leaves R and p. At weight at most 3 this leaves a data pair; a data flip with the parity bit, which moves the residue and is caught; a data flip, a residue flip and the parity bit, whose residue condition is T's at the same word; and the data pair with a residue flip, missed iff the new residue, X·2^t + (e_i 2^i + e_j 2^j)·2^t mod M, is R + e_l 2^l, the congruence with its range. ∎

The script breaks both readings exhaustively at r = 3..6, every M ≤ 2^r with m′ > 1 and t = r, r + 1, r + 2, 294 rows, every word to 12 bits and every error of weight at most 3: T misses no odd weight at any row and fails first at L*_t + 1 exactly where the criterion says, at all 104 rows with L*_t ≥ 0 and L*_t + 1 ≤ 12; below D + 1 bits, where no data pair is missed, C misses no kind but the other two, its first failing length the lesser of T's and the congruence's at every row, and the congruence's first, its range read on X, is the engine's. Toy scale: residues of at most 6 bits.

The parity variant's reach

Tier: rule (verified at M = 125, 32749 and 2^31 − 19; the least j by trinomials, proved); pattern (the trinomial model's fit, primes of 12 to 20 bits); observation (the paper's three as its draws).
Verifier: shiftpar.py::witness; shiftpar.py::koopman; shiftsum.py::law; parcount.py::main.

At the paper's three moduli, 8-bit blocks, t = 8, 16, 32 and r = t − 1, in bytes:

M           L*_t (bits)      TEXT (T)       PAPER          CODE (C)
125         42               5              5              0
32749       16358            2044           2044           11
2^31 − 19   1,073,741,782    134,217,722    134,217,720    3693

The text's column is ⌊L*_t/8⌋, failing at the next byte since 2^(L*_t) ≥ m′ at each, the paper's its HD = 4 length (its fourth version, 2024, section V), and the code's the longest message at which C keeps HD = 4. That version's 16- and 32-bit code (Appendices C and E) computes C; its second and third versions' code, on 16-bit blocks, computes T, so the gap came with the rewrite to bytes. The 8-bit row reads that code at 8 bits, which the paper does not print.

Under C the first miss is the data pair with a residue flip. Divided by 2^l (M odd), its congruence says M | 2^v ± 2^u ± 1, u = i + t − l < v = j + t − l: each such trinomial with u ≥ t − r + 1 is a cluster of solutions, l = max(0, t − u) .. r − 1, and the least j is the least v − min(t, u) (proved), here 5, 94 and 29,546. They read as draws (the fit a pattern at toy scale): with each trinomial an independent event of rate 1/M, the expected count to the least j, read midway, has mean 1.010, as Exp(1) has (sd of the mean 0.019; its tail unread), over 2895 primes of 12 to 20 bits at t = r + 1, and 13.8 with each solution counted apart; the paper's three sit at chances 0.36 (rate 3/400 at 125, whose targets must be units), 0.50 and 0.44 of a least j at least as large. So no such error exists in the code's column, the other two kinds wait past L*_t, and at these three moduli a word one byte longer meets the range: a transcription of the code misses its error at 32749 in 12 bytes, data bits 65 and 94 flipped and bit 1 of the sent check, the residue's bit 0 (the parity sits in bit 0), and at 2^31 − 19 in 3694 bytes, data bits 9802 and 29,546 and the same check bit. The transcription with the residue in the parity catches both, and the code's catches every one-bit data error of each word. The fix is the paper's own text: the final residue enters the parity. shiftpar.py's koopman(data, M, t, reading) is the check under either reading on a reader's bytes, and least_miss(M, t, r, cap) the congruence's least j below a cap with, where its draw builds one, a data word the code misses the error at. Read against the paper's four versions; a later one, or its author's book on checksums, may differ.

The valuation row

Tier: theorem.
Verifier: proof; coordinates.py::section_v.

Write n by its exponent vector (v_p(n))_p. Multiplication is the coordinatewise sum. Addition is walled: for every finite prime set W, no function of the W-coordinates of x and y gives any W-coordinate of x + y.

Proof. Fix p ∈ W. By the CRT there is y_u with y_u ≡ p^u − 1 mod p^(u+1) and y_u ≡ 1 mod the other primes of W. Then y_u and 1 both have the zero vector on W, while v_p(1 + y_u) = u takes every value u ≥ 1.

The index coordinates

Tier: property.
Verifier: coordinates.py::section_i.

For squarefree M, U(Z/M) is the product of the cyclic (Z/p)^*. A primitive root per channel gives the bijection U(Z/M) → ∏ Z/(p − 1) onto the index ring, under which multiplication is addition and powering is scaling. x is an e-th power iff gcd(e, p − 1) divides its index at every p, with ∏ gcd(e, p − 1) roots, and x is a square mod p iff its index there is even. The exponent of the index ring is λ = lcm(p − 1), below ∏(p − 1) once two odd primes are present, so no rung Z/(p₁⋯p_k) from Z/30 on (TOWER) has a primitive root: an index is a tuple, one coordinate per cyclic factor.

Size under indices

Tier: criterion.
Verifier: proof; unitsign.py::criterion, unitsign.py::family, unitsign.py::rungs.

Read a unit x of U(M), M squarefree, as its least residue, its sign [2x ≥ M]. An index at a channel is a bijection of the residue there, so the indices at the channels of a divisor P > 1 of M read x mod P. With N = M/P and r, 0 < r < P, a unit mod P, the units x ≡ r mod P carry one sign iff N ≤ 2, or N = 3 and either 2r ≥ P with 3 ∣ r or 2r < P with r ≡ P mod 3, or N = 6 and r ≡ −P or 2P mod 6. So the sign is a function of the indices at P iff N ≤ 2, that is iff they fix the unit, as on Z/M no proper window fixes the sign (SIZE: The hiding lemma). One channel p does so only on U(p) and U(2p); on the rungs a class of one channel holds one sign only at Z/2, at Z/6 by channel 3 ({1}, sign 0; {5}, sign 1) and at Z/30 by channel 5 ({1, 11}, sign 0; {19, 29}, sign 1; the classes 2 and 3 hold both), and at no rung from Z/210 on.

Proof. The class is x = r + Pt, 0 ≤ t < N, and x is a unit iff t − a is prime to N, a ≡ −rP⁻¹ mod N: its units are a translate of the integers prime to N. The sign is 1 iff t ≥ N/2 − r/P, and as 0 < r/P < 1 each sign gets a run of at least ⌊N/2⌋ consecutive t. So both signs occur once Jacobsthal's j(N), the least J such that every J consecutive integers hold one prime to N, is at most ⌊N/2⌋. By Legendre, L consecutive integers hold more than Lφ(N)/N − 2^ω(N) integers prime to N, ω(N) the number of primes of N, so with F(N) = ∏_(q∣N) (q − 1)/2, j(N) ≤ ⌊N/2⌋ once F(N)(1 − 1/N) ≥ 2: at every N with a prime q ≥ 11, and over {2, 3, 5, 7} at all but N = 1, 2, 3, 5, 6, 10, 14, 15, 30 and 42. There j is 2, 4, 4, 3, 6, 6 at 5, 10, 14, 15, 30, 42, at most ⌊N/2⌋, and 1, 2, 2, 4 at 1, 2, 3, 6, above it. At N ≤ 2 a class holds one unit. At N = 3 the units are {0, 1, 2} less a, split at t = 1 when 2r ≥ P and at t = 2 when 2r < P, so one sign iff a = 0, that is 3 ∣ r, or a = 2, that is r ≡ P mod 3, in turn. At N = 6 the split is at t = 3 and the units are a ± 1 mod 6, one sign iff a = 1 (r ≡ −P) or a = 4 (r ≡ 2P mod 6). For the function: at N = 6, P is prime to 6, so r = 3 is a unit mod P, and 3 is neither −P (1 or 5 mod 6) nor 2P (even). At N = 3 a unit failing both clauses is r = 1 when P ≡ 2 mod 3, r = 2 when P ≡ 1 mod 3 is odd (so P ≥ 7), r = 3 when it is even (P ≥ 10).

The Zech wall

Tier: theorem.
Verifier: proof; coordinates.py::section_z.

At a channel p with primitive root g, addition in index coordinates is the unary table ζ(i) = ind(1 + gⁱ), defined off the one i with gⁱ = −1. For every p ≥ 5, ζ is compatible with no quotient Z/(p − 1) → Z/q, q | p − 1, 2 ≤ q ≤ (p − 1)/2, so it agrees with no polynomial on Z/(p − 1) where it is defined. At p = 2 and 3 it is defined at one i at most: a constant agrees.

Proof. Indices mod q sort (Z/p)^* into the cosets of the subgroup H of index q, of order h = (p − 1)/q ≥ 2. Compatibility says (1 + wx)/(1 + x) lies in H for every w ∈ H and every x ∈ (Z/p)^* outside {−1, −1/w}, which is p − 3 values when w ≠ 1. Fix w ≠ 1. For z ∈ H, 1 + wx = z(1 + x) reads x(w − z) = z − 1: z = w has no solution, z = 1 gives x = 0, and every other z gives one admissible x. So exactly h − 2 < p − 3 of the required x comply, and each other x gives two indices equal mod q whose Zech values are not. A polynomial over Z/(p − 1) respects every quotient.

The index map is a channel-local bijection, so addition, where the sum is a unit, stays channel-local in index coordinates, and the locality criterion (SIZE: The locality criterion) rates it local: the wall is a price, one table of p − 2 entries per channel.

The support log

Tier: theorem.
Verifier: proof; coordinates.py::section_g.

x^(λ+1) = x for every x in Z/M, λ Carmichael's exponent of M, iff M is squarefree, the meadow criterion (LOGIC: The meadow) in exponent form. Then every x is the pair (supp x, the indices of x on supp x), supp x the set of channels where x ≠ 0. Multiplication intersects supports and adds indices, x^λ is the idempotent of supp x, and for M > 2 the meadow inverse x^(λ−1) negates the indices (at M = 2, λ = 1 and 0⁰ = 1).

Proof. On a squarefree M each channel is a field and p − 1 | λ. When p² | M, M/p is nonzero with square 0, so its (λ + 1)-th power is 0. The rest is the index coordinates applied on each support, where x^λ is 1 at every channel of the support and 0 off it.

So the logarithm reaches the whole ring as a pair, the support and an index, and log 0 = −∞ is a drop to a smaller support. On the whole ring only the zero map f into a group reads × as addition, since f(0) + f(x) = f(0·x) = f(0) forces f = 0.

The exponent wall

Tier: theorem.
Verifier: proof; coordinates.py::section_e.

For a prime p ≥ 3 and y ≥ 1, x^y mod p is not a function of (x mod p, y mod p): at every such y the pairs (y, y + p) disagree exactly at the p − 2 residues x outside {0, 1}. It is a function of x mod p and y mod (p − 1) for positive y only. At p = 2, x^y ≡ x for every y ≥ 1, so no wall stands there, and the only failure of either reading is 0⁰ = 1. On a squarefree M, x^y mod M at y ≥ 1 is a function of (x mod M, y mod M) iff λ | M, exactly at M = 1, 2, 6, 42 and 1806 (known: Jančařík, Kepka and Phillips, Alabama J. Math. 49 (2026) 34–38, Theorem 2.1): each prime p of such an M has p − 1 a product of some of its smaller primes, so they are 2, 3, 7, 43 (15 composite), each needing all before it, and no fifth is: 87, 259, 603 and 1807 are composite. When p² | M it never is.

Proof. x^(y+p) = x^y·x^p = x^(y+1) by Fermat, which differs from x^y iff x^y(x − 1) ≠ 0. For positive y, x^(y+p−1) = x^y at every x, 0 included, while 0⁰ = 1 and 0^(p−1) = 0. On a squarefree M, x^(y+λ) = x^(y−1)·x^(λ+1) = x^y at y ≥ 1 by the support log, so λ | M reads the exponent mod M; when λ ∤ M, a unit g of order λ, which the unit group's exponent supplies, has g^(1+M) ≠ g. When p² | M, x = M/p has x^(1+M) = 0 ≠ x.

The rigidity dichotomy

Tier: theorem.
Verifier: proof; coordinates.py::section_r.

On Z/M a coordinate system is a bijection x ↦ (x_1, … , x_r) onto a product of sets of two elements or more, and it reads an operation coordinate by coordinate when each coordinate of the result is a function of the same coordinate of the arguments. The systems with two coordinates or more that read + coordinate by coordinate are exactly, up to relabelling each coordinate's values and reordering the coordinates, the coprime factorizations of Z/M into two factors or more, each above 1. Each of them reads × coordinate by coordinate as well, and walls size: the sign [x ≥ M/2] is a function of no coordinate. So no coordinate system with two coordinates or more reads + coordinate by coordinate with the sign a function of one coordinate; the one-coordinate system Z/M reads all three and splits nothing. On the unit group alone, multiplication is not rigid: U(M) can have decompositions that cross the channels.

Proof. When + is read coordinate by coordinate, each coordinate, relabelled, is a surjective group homomorphism, so the system is an isomorphism onto a product of quotients, which is an internal direct sum of subgroups of Z/M. A cyclic group has one subgroup per order, and two of them meet in the subgroup whose order is the gcd, so the summands have pairwise coprime orders a_i with product M. Each summand is an ideal, so a product of elements of two different summands is 0, and × splits by summand. For a summand of order a < M, the elements 0 and a⌈M/(2a)⌉ share that coordinate while the sign [x ≥ M/2] reads 0 and 1 (SIZE: The size wall). U(30) ≅ C₂ × C₄ has four direct decompositions, and three cross the channels: two take the C₄ {1, 17, 19, 23}, against {1, 11} or {1, 29}, and the third pairs channel 5's C₄ {1, 7, 13, 19} with the C₂ {1, 29}.

Three pairs of operations have homes: (+, ×) the residues, (×, powering) the indices, and (+, size) the digits, where the + read is a scan and not a bounded set of digit positions.

The bearers

Tier: theorem.
Verifier: proof; coordinates.py::section_p; size.py::section_h; size.py::section_l; size.py::section_l1.

A bearer of a wall, or of a law the walls rest on, is a structure on which it holds. Every bearer in the table below lives on a finite ring or a finite abelian group, and none needs the rungs. The carry wall and the addition wall of the valuation row live on the integers themselves, outside the table. Conjunctive and failing maximally are SIZE: The conjunctive split's terms. An exact row names a hypothesis its wall or law needs within the row's family: a member without it fails.

BEARER                      WALL / LAW                            KIND
a proper quotient of a      sign and orientation hidden           exact
 cyclic group                (SIZE, the hiding lemma)
U(M) read mod P, M/P ≥ 3    a unit's sign no function of the      exact
 (M squarefree)              residue mod P (size under indices)
any composite Z/M           quantifying over channels:            exact
                             no polynomial computes [x = 0]
a prime field, p ≥ 5        the Zech wall                         exact
p² | M, or λ ∤ M            the exponent wall                     exact
a proper window             order fails maximally                 exact
two cyclic groups of        the order-divisibility wall:          exact
 non-coprime orders          ord(x) | ord(y) not conjunctive
squarefree                  x^(λ+1) = x; the meadow               exact
squarefree, 2+ variables    channel-local = polynomial            exact
squarefree or 4, 1 variable channel-local = polynomial            exact

Proofs of the rows proved on no other page. The quantifier wall, LOGIC: The pair's wall on quantifying over channels, is read here at the hypothesis it needs, M composite. A polynomial on Z/M is compatible with every quotient, and at a channel p < M it would need [0 = 0] ≡ [p = 0] mod p, that is 1 ≡ 0; at a prime [x = 0] is 1 − x^(p−1), so the wall needs the composite. For order, a window A, the reading x mod A at a proper divisor A of M, suffices, since u = s < A and v = s′ + A ≤ 2A − 1 < M realize every residue pair (s, s′) at A with u ≤ v; no field is used, and neither is coprimality, which only makes two windows whose product is M a coordinate system. With one coordinate, Z/M itself, order is read. On C_n1 × C_n2, n1, n2 ≥ 2, the relation ord(x) | ord(y) is conjunctive iff gcd(n1, n2) = 1, and fails maximally iff n1 = n2. Its first projection is the set of pairs with ord x₁ | lcm(ord y₁, n2), all of them iff n1 | n2, and its second, by symmetry, is full iff n2 | n1. When gcd(n1, n2) = 1, ord x₁ is prime to n2, so the projection is ord x₁ | ord y₁, and since ord x is the product of its coprime parts the conjunction is the relation. At a prime r dividing both, x of order r in the first factor against y = 0 lies in both projections but not in the relation. The least bearer by order where the relation fails without failing maximally is C₂ × C₄ = U(15). On the rungs the order-divisibility wall first appears at Z/30, whose channels 3 and 5 are the first two with unit orders 2 and 4 sharing a prime, and that pair is the bearer U(15) itself.

The locality criterion is exact in two variables or more, the channel at a prime q | M being x mod q for any M: when p² | M, c = M/p is 0 at every prime of M and c² = 0, so F(x, y) = c·[x = y = c] is channel-local, while a polynomial's mixed difference f(c, c) − f(c, 0) − f(0, c) + f(0, 0) sums a_ij·c^(i+j) over i, j ≥ 1, all 0, its other terms cancelling, against F's c ≠ 0 (at Z/4, F = 2·[x = y = 2]). In one variable it holds iff M is squarefree or 4. At p² | M the same c makes f = c·[x = 0] channel-local, and a polynomial P has P(x + c) − P(x) ≡ c·P′(x) mod M, as c² ≡ 0, a function of x mod p; f(x + c) − f(x) is −c at x = 0 and 0 at x = p, both x ≡ 0 mod p, unless p + c = M, which forces M = p²/(p − 1) = 4. On Z/4 the 64 polynomial maps are all the maps whose value mod 2 depends only on the argument mod 2, 2·[x = 0] among them as 2 + 3x + 3x³.