BINDING — what multiplication keeps of a code, and what a sum costs

The object: a finite product of finite fields R = K_1 × ⋯ × K_k (a squarefree Z/M, or F_q[x]/f over the field F_q of q elements, with f squarefree and q a power of the prime p) holding symbols as words, the distance between two words being the number of channels where they differ. Multiplication by a unit is binding, by its inverse unbinding; bundling is the addition of bound items in the carrier, the ring that holds them; a dictionary is a set of words. This page says which dictionaries each operation keeps closed, proves that the distance which lets a dictionary holding 0 correct errors forbids reading a two-item bundle back by unbinding and decoding within that distance, then asks what a store that bundles anyway, a bipolar vector-symbolic store of D coordinates read back by any readout, spends to survive the sum. There the carrier may be any ring, Z/3^P and F_3[x]/x^P for P ≥ 1 among them. The bundle's noise is a walk on the prime subring Z/c of the carrier's characteristic c, so at c > 0 the capacity of a bipolar store whose other items are uniform, independent of the candidates, is capped by a bound of order c² log(Dc): Z's quotients reach every c, and F_q[x]'s stay at p.

OPERATION          EFFECT                          OVER F_q[x] INSTEAD
binding            the unit dictionaries closed    the same
                    under products: every group
                    code of the index ring, its
                    distance
addition over Z/M  only the ideals ≠ 0: distance 1 the F_p-linear codes,
                                                    Reed–Solomon (f split)
                                                    at n − ℓ + 1 among them
two-item bundle    no decoder of radius < d        the same
 (C ∋ 0, items ≠ 0) returns an item unbound
                    by its own role
bipolar bundle,    at most ~c² log(Dc) items at     ~p² log(Dp) items
 m items, the       characteristic c; read as Z's    or fewer, at every
 others uniform,    once c > 2m                      precision
 independent of
 the candidates

A letter not defined above is defined where its row is answered: n and ℓ in The additive twin, the dictionary C and its distance d in The superposition wall.

The dictionary criterion

Tier: criterion.
Verifier: proof; binding.py::section_d.

A nonempty set of units of R is closed under multiplication by its own members iff it is a subgroup of the unit group U(R). Through a primitive root per channel, U(R) is isomorphic to the additive group of the index ring ∏ Z/(|K_i| − 1), and two units differ at a channel iff their indices differ there. So a dictionary of units closed under its own products is a group code, a subgroup of the index ring's additive group, at the same distance, every group code there is one, and the distance is the least weight of its nonzero index vectors. Binding by a unit preserves every distance, a ↦ ua + w for a unit u and any w in R is an isometry, and a product is wrong, different from the product of the intended words, only at channels where some factor is wrong.

Proof. A finite set of units closed under multiplication is a subgroup, since a has finite order and so a⁻¹ = a^(ord a − 1). The index map is a group isomorphism channel by channel. Multiplication by a unit is a bijection within each channel, so ua and ub differ at exactly the channels where a and b do. For the last clause, if a and b are right at a channel then so is ab.

The sign hypercube: over the seven primes 3 to 19 the words ±1 per channel make a binary index at every channel, so a binary linear code is a dictionary, and Hamming [7, 4, 3] gives 16 words at distance 3, each corrected from any single wrong channel. The octave: over the seven primes 17, 41, 73, 89, 97, 113, 137, each ≡ 1 mod 8, an element h of order 8 in every channel gives {h^j} with all 28 pairs at distance 7. A cyclic group of units need not have distance above 1: at Z/510510, the primes 2 to 17, a unit z that is a primitive root at every odd channel has order 240 and its group has distance 1: z⁶⁰ is 1 at every channel but 17's, whose order 16 does not divide 60.

The additive twin

Tier: theorem.
Verifier: proof; binding.py::section_d.

Over Z/M every dictionary closed under addition, other than {0}, has distance 1. Over F_q[x]/f they are the F_p-linear codes, and with f a product of n distinct linear factors (so n ≤ q), the residues of the polynomials of degree below ℓ, 1 ≤ ℓ ≤ n, form an additively closed dictionary at distance n − ℓ + 1, the Reed–Solomon code (Reed and Solomon, 1960).

Proof. A nonempty additively closed subset of a finite group is a subgroup, as in the criterion. The additive group of Z/M is cyclic, so such a subgroup is eZ/M for some e | M; that of F_q[x]/f is a vector space over F_p, whose subgroups are its subspaces. When e < M take a prime t dividing M/e, so e | M/t and eZ/M holds M/t, which is 0 at every channel but t's. Over F_q[x] the residues of a at the n roots are its values there, and degree obeys deg(a + b) ≤ max(deg a, deg b); a nonzero a of degree below ℓ has fewer than ℓ roots, so it is nonzero at n − ℓ + 1 or more of the n; the product of x − α over ℓ − 1 of the roots α attains it.

The inequality is the ultrametric one at the place at infinity. The integers below a bound B, which the residue code of TOWER: The residue code's distance holds, are not closed under the sum, (B − 1) + 1 = B: the triangle inequality bounds a sum of two of them only by 2B.

The superposition wall

Tier: theorem.
Verifier: proof; binding.py::section_w.

Let a dictionary C contain 0, with distance d, let a_1 and a_2 lie in C, and let ρ_1 and ρ_2 be units. A decoder of radius r returns the codewords within r channels of its input. Unbinding the bundle ρ_1 a_1 + ρ_2 a_2 by ρ_1 never returns a_1 under a decoder of radius r < d when a_2 ≠ 0. The direct sum avoids it at a price in channels: items multiplied by the idempotents e_S of disjoint channel sets keep their residues exactly on their own set, which name the item where the dictionary's restriction to that set is injective, and are guaranteed nowhere else.

Proof. The unbound word is a_1 + u a_2 with u = ρ_2 ρ_1⁻¹ a unit, and it differs from a_1 exactly on the support of a_2. Since a_2 and 0 are both in C, that support has at least d channels (for units 0 is not needed: a unit is nonzero at every channel, and there are at least d channels), so the word lies outside a_1's ball of radius r. For the cure, e_S is 1 on S and 0 elsewhere, so the bundle Σ_j e_{S_j} a_j agrees with a_j on S_j.

The proof counts only channels, never an absolute value.

The mixing bound

Tier: theorem; observation (its tightness, g = 3, 5, 7, 9, 27, 81).
Verifier: proof; binding.py::section_m, binding.py::section_c.

A bipolar store holds D coordinates. Each item is a ±1 vector bound by a ±1 role, and m items are added in a carrier, its additive group G. On unbinding the true role, each coordinate holds the true item's value plus the m − 1 step ±1 walk. The model: the other m − 1 items and their roles are uniform ±1 vectors, independent of each other and of the N candidates, and the candidates are equally likely. A readout guesses the item from the unbound word. If G is a finite abelian group, any readout then succeeds with probability at most

1/N + (D/2) · sqrt(|G| − 1) · λ^(m − 1),

where λ is the largest |μ̂(χ)| = |Σ_x μ(x)χ(x)| over nontrivial characters χ of G, μ the step law and ‖·‖ below total variation; the bound is empty, λ = 1, when a nontrivial character is constant on the steps' support, as on ±1 over Z/g with g even. For ±1 on a cyclic carrier, G = Z/g with g odd, λ = cos(π/g). With g even the bound holds with |G| − 1 replaced by g − 2 and λ by cos(2π/g), since every hypothesis then puts each coordinate on the same parity coset. The capacity, the most items a store retrieves at a fixed success rate above 1/N, is at most of order g² log(Dg): log(1/cos x) ≥ x²/2, so success s > 1/N needs m − 1 ≤ (2g²/π²) log(D√g / (2(s − 1/N))).

Proof. Write η for the uniform law and let the walk take m − 1 steps. The upper bound lemma of Diaconis and Shahshahani (1981) gives

4‖μ^(*(m−1)) − η‖² ≤ Σ_{χ ≠ 1} |μ̂(χ)|^(2(m−1)) ≤ (|G| − 1) λ^(2(m−1)).

Under each hypothesis the unbound word's law is a product over the D coordinates, of factors each within ‖μ^(*(m−1)) − η‖ of uniform. Total variation is subadditive over products, so every hypothesis's law lies within D · ‖μ^(*(m−1)) − η‖ of η^D. That law does not depend on the hypothesis, so the N decision regions share at most mass 1 under it. With g even, a coordinate is an odd item value plus m − 1 odd steps, so under every hypothesis it lies on the coset of parity m, and the reference law is uniform there. The walk and the uniform law η′ on its own coset, of parity m − 1, have equal transforms at j = 0 and j = g/2, so Cauchy–Schwarz over that coset's g/2 points and Plancherel give

4‖μ^(*(m−1)) − η′‖² ≤ ½ Σ_{j ∉ {0, g/2}} cos(2πj/g)^(2(m−1))
                   ≤ ½ (g − 2) cos(2π/g)^(2(m−1)),

within the stated bound. A store whose other items are drawn from the N candidates is outside the model.

The bound is nearly tight at g = 3: with the walk's law counted exactly at g = 3, 5, 7, 9, 27, 81 to 60 steps, the largest log ratio of total variation to its bound is −0.059, at g = 3 and at every step alike (from g = 5 the largest sits at one step, and from g = 7 the bound there passes 1).

The characteristic cap

Tier: theorem.
Verifier: proof; binding.py::section_c.

Let the carrier have finite characteristic c > 0, the additive order of 1. A ±1 bundle lives in the prime subring Z/c, so the mixing bound holds with g = c whatever the carrier's size, and when c > 2m the carrier reads a bundle of m items exactly as Z does; when c is odd, c > m already gives every candidate Z's likelihood. Every nonzero quotient of F_q[x], read to any number of digits at any place, has c = p (at p = 2 the two signs coincide and a bipolar store holds nothing); Z's quotients reach every c.

Proof. A sum of ±1's is an element of the prime subring, and every readout's law is a law on it. A quotient of F_q[x] has F_q's characteristic p. Over Z the unbound coordinate lies in [−m, m], and 2m + 1 consecutive integers stay distinct mod c once c > 2m, so every candidate's likelihood, and every readout, agrees with Z's. A likelihood reads the m − 1 step walk at an unbound value less a candidate; that value and every point of the walk's support share a parity and lie within 2m of each other, so they differ by 2j with |j| ≤ m, and an odd c divides 2j only when it divides j. So for odd c > m no two of them meet mod c, though the centred representative that the correlation readout reads still wraps once m passes c/2.

The capacity sweep

Tier: pattern (toy scale: D = 1,000, N = 100, 200 trials per m).
Verifier: binding.py::section_c; colnormal.py::main; colnormal.py::refrozen; colnormal.py::stat.

The grid capacity m* of a carrier, a row of the table below, is the largest m on the grid 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 64, 96, 128 that retrieves at 90% or more; success need not be monotone in m. The maximum a posteriori (MAP) readout scores each candidate v by Σ log ν(b − v), b the unbound word, under the carrier's own walk law ν = μ^(*(m−1)): up to a term common to all candidates, Σ_i w(b_i) v_i, with MAP weight w(t) = ½ (log ν(t − 1) − log ν(t + 1)). The carrier at its MAP m* is its edge. The correlation readout scores each candidate by its dot product with the unbound word, read on Z as it stands and on Z/c in the centred representatives, in (−c/2, c/2]. The F_3[x]/x^P row is F_3's by the characteristic cap, and no arm runs it. The table is the recorded run's: another stream of draws may move an entry the bar crosses, as correlation's F_13 at 16 (0.90) and MAP's F_7 at 16 (0.91), each within three spreads of 0.9:

CARRIER                       c         MAP m*          CORRELATION m*
Z                             0         64              64
Z/3^P,       P = 1, 2, 3, 4   3^P       4, 16, 64, 64   3, 8, 32, 64
F_3[x]/x^P,  P ≥ 1            3         4               3
F_p,  p = 3, 5, 7, 11, 13     p         4, 8, 16, 24, 32   3, 6, 3, 8, 16

The MAP m* grows with c alike on Z/3^P, whose addition carries between its P base-3 digits, until it meets Z's 64, and on F_p, one digit with no carry, though the two families share a c only at 3; every finite carrier's MAP m* here lies past the wrap at c/2. The mixing bound (The mixing bound) permits retrieval of m items once c exceeds the order of √(m / log(Dc)); it does not explain the capacities seen: solved for 90%, it permits m up to 10, 34, 70, 181 and 257 on F_p for p = 3, 5, 7, 11, 13, against the MAP column's 4 to 32. On Z the walk has ν(t − 1)/ν(t + 1) = (m + t)/(m − t) at |t| < m, so the MAP weight at t is ½ log of that ratio: monotone, near t/m for |t| well below m, and Z's two readouts' rows agree to two decimals. Where the characteristic cap gives every likelihood Z's, the residue fixes the coordinate's value and the MAP readout makes Z's choices: Z/81's MAP weights equal Z's at every value at m = 48 and 64, as Z/130's do at m = 64, an even c > 2m. Every other finite carrier's edge here has c odd and m even, and then a residue names one even value t in (−c, c), its lift. A positive factor on the weights leaves the MAP choice unchanged, so each edge's weights are scaled to meet Z's at t = 2, and only the lifts past it test anything. Within 1%, the weight keeps Z's shape one lift further, to |t| ≤ 4, on Z/9 at m = 16, F_11 at m = 24 and F_13 at m = 32, parting at t = 6, and to 20 on Z/27 at m = 64, the factor within 0.01 of 1 at all four; a coordinate's sum over Z lies past that radius with probability 0.210, 0.307, 0.377 and 0.008. On F_5 at m = 8 and F_7 at m = 16 it parts at t = 4 (factors 0.91 and 0.93), and on F_3 at m = 4, whose only nonzero lifts are ±2, any odd weight is a multiple of Z's, so nothing is decided. A wrap can reverse the correlation readout's sign: on F_3 at m = 2 the true item's expected correlation per coordinate is −½, so it retrieves at rate 0 where MAP retrieves at 1, yet retrieves at m = 3. On F_7 that expectation is 1/8 at m = 4, where retrieval falls short of 90%, and negative at every grid m from 6 on, all even (−3/32 at m = 6, where F_5's is 7/32; 9/16 and 11/32 at the odd m = 5 and 7, off the grid): the correlation column's dip at 7. That expectation κ and the second moment τ of the same coordinate carry the column at the eight finite carriers read: the true score read as normal with mean Dκ and variance D(τ − κ²), each of the N − 1 wrong ones, given the bundle, as an independent normal of mean 0 and variance near Dτ, the success s = ∫ φ(z) Φ((Dκ + √(D(τ − κ²)) z)/√(Dτ))^(N−1) dz lies within 0.015 of the observed rate at each of the eight finite carriers' 14 grid m at D = 2,000, 2,000 trials a cell, and within 2.85 standard errors at the sweep's own D = 1,000 (colnormal.py); κ with Z's τ = m is off there by up to 0.537.