DUAL — the leading end of base b, read against the trailing end

The object: base b read top first. A positive integer n has e + 1 digits, e = e(n) = ⌊log_b n⌋, and its depth-t leading tile is the set of integers with the same digit count and the same t leading digits. Like a window of SIZE, this is a reading at a set of places, here the archimedean place alone: size, read to t digits. So a floating-point number names a leading tile. The trailing end reads the same integer bottom first, and its depth-t tile is n mod b^t. A map f of the positive integers is read at lookahead c when at every depth t the depth-t tile of f(n) is a function of the depth-(t + c) tile of n, over the n with f(n) ≥ 1, since zero has no leading tile; a map of two integers reads the pair of their tiles, and a map valued in {0, 1} or {−1, 0, 1}, as [x = y] or the sign of x − y, is read at lookahead c when at every depth t its value is a function of the inputs' depth-(t + c) tiles.

This page shows that the two ends of base b exchange what they read. The places p | b that the trailing end reads exactly, the leading end hides exactly: every residue mod m has the same count on every tile of b^j integers iff m | b^j. Multiplication reads by every factor at the trailing end and division by every divisor at the leading end, and the difference x − y, which the trailing end reads digit by digit, is read at no finite lookahead at the leading end. At a base β, a root of a monic integer polynomial of constant term ±q, a leading tile is a translate of the sums Σ_(k<j) d_k β^k of j digits, and what it can hide is an ideal of Z[β]: at a quadratic base the exchange runs one way, an ideal hidden by the time the trailing end reads it, sometimes sooner or alone, and at any degree an ideal is hidden when a chain of the powers of β generates its quotient, and only then when its index is q^j. Among the nondecreasing maps within bounded distance of a linear map λn (λ > 0), the page decides which the leading end reads, bounds their least lookahead, exactly in the cases the least-lookahead law names, and shows that it reads maps outside that class. Then it gives the leading end redundant signed digits {−a, …, a}, 2a + 1 > b: the overlapping cover they buy reads every Lipschitz map of their range, or its powers, into that range, and the purchase costs order, a lower bound on size before a division, and, unless p ∣ 2a + 1, the exact hiding of the places p ∣ b, degraded to a bias. Last come the leading end's densities, whose own measure is log-uniform, the Haar measure of the scale circle.

Which end pays for what. Each end reads, by every operand, the operation whose carries run away from it. A product's low digits depend only on the factors' low digits, so the trailing end multiplies at lookahead 0 and divides only where the divisor's primes divide b. Long division emits the quotient from the top with a bounded remainder, so the leading end divides by anything and multiplies only where the multiplier's primes divide b. Where READING reads a leading numeration on R, a scaling y ↦ uy with u > 0 reads iff 1/u ∈ Z[1/b]. On the integers a map is a floor, and a floor adds one condition, that its jumps fall on tile boundaries. Redundant digits blur size inside the archimedean window, and order stays walled (read at no finite lookahead).

                 TRAILING END              LEADING END
tile, j digits  n mod b^j, a coset        b^j consecutive integers
the places p | b read exactly              hidden exactly
ideals of Z[β]   read once β^j ∈ I         hidden by then, sometimes
                                           sooner or alone
x − y            read at 0                 walled at every depth
n ↦ un           read at 0                 read iff rad(u) ∣ rad(b)
⌊n/v⌋            read iff rad(v) ∣ rad(b)  read; at digits_b(v)
                                           when v ≥ 2, b ∤ v
redundant digits buy no overlap            an overlapping cover

rad(u) is the product of the primes dividing u.

The leading-tile lemma

Tier: property.
Verifier: proof; dual.py::section_t.

If e + 1 ≤ t the depth-t leading tile of n is {n}. Otherwise it is [P b^j, (P + 1) b^j) with j = e + 1 − t and P the t-digit prefix: b^j consecutive integers. Its span is j, the digits it leaves unread, and it is deep when j ≥ 1. A tile of span j is therefore a complete residue system mod b^j, and for m ≥ 2, n mod m is constant on no tile of length at least 2. The predicate [m ∣ n] is weaker: a tile shorter than m that holds no multiple of m decides it false, whatever its depth. At base 2 the depth-2 tile of 4 is [4, 6), deep, and decides [7 ∣ n].

Proof. The integers with e + 1 digits and prefix P are exactly those with ⌊n/b^j⌋ = P.

The two-ends law

Tier: criterion.
Verifier: proof; dual.py::section_h.

For m ≥ 2 and j ≥ 0, n mod m is a function of the last j digits iff m ∣ b^j, and every residue mod m has the same count on every leading tile of span j iff m ∣ b^j. So one condition decides both ends: depth j of the trailing end reads m exactly where span j at the leading end hides it exactly. A prime p is read by some trailing depth and hidden on every deep leading tile iff p ∣ b, and for p ∤ b, n mod p is a function of no trailing depth and hidden on no deep leading tile.

Proof. The first half is the suffix read (COORDINATES: The suffix and floor reads). For the second, a span-j tile is b^j consecutive integers. Each residue appears b^j/m times when m ∣ b^j, and otherwise ⌊b^j/m⌋ or ⌊b^j/m⌋ + 1 times, both counts occurring, on every such tile.

When rad(m) ∣ rad(b), m is hidden from span max_p ⌈v_p(m)/v_p(b)⌉ on, v_p the p-adic valuation, the depth at which the trailing end first reads it. Its finite mirror is SIZE: The hiding lemma: a window hides the sign bit exactly iff the ring's size over the window's is even, as a leading tile hides m exactly iff m ∣ b^j.

The two ends of a quadratic base

Tier: criterion.
Verifier: proof; dualquad.py::main, dual2i.py::section_controls, dual2i.py::section_ideals, dual2i_split.py::main, dualdeg.py::section_witness, dualdeg.py::section_cubic.

Let O = Z[x]/(x² + px + q) = Z + Zβ, β the class of x, q ≥ 2, and digits D = {0, …, q − 1}. A leading tile of span j is a translate of T_j = {Σ_(k<j) d_k β^k}, and a depth-j trailing tile is a coset of β^j O; when x² + px + q is irreducible, each element of O is written once exactly when −1 ≤ p ≤ q (Gilbert, J. Math. Anal. Appl. 83 (1981), 264–274, Theorem 1), and the law below does not need it. Depth j reads an ideal I when β^j ∈ I, and span j hides I when every residue mod I has the same count on T_j. Write (I : x) for {y : xy ∈ I}. Then (the colon law) span j ≥ 1 hides I iff

O/(I : β^(j−1)) = Z/m with m ∣ q, generated by 1,

that is iff I ⊇ β^(j−1)(m, β − r) for some m ∣ q and r with r² + pr + q ≡ 0 mod m. Depth j reads I iff β ∈ (I : β^(j−1)), so with s ≥ 1 the least span and β ↦ r in O/(I : β^(s−1)) = Z/m, the least depth is s − 1 + w, w ≤ max_l v_l(q) the least with r^w ≡ 0 mod m, and I is read at no depth when some prime dividing m does not divide r. So read implies hidden, both need the index of I to divide q^j, and the leading end is early by w − 1 digits or alone. At a split prime norm, −2 + i say, (β̄) = (q, β + p) is hidden from span 1 and read at no depth, −p being a unit mod q. The script reads the law at 100 bases, 2 ≤ q ≤ 12 with −1 ≤ p ≤ q and −4 + i, over the 17144 pairs (I, j) with the index of I dividing q^j, 1 ≤ j ≤ J, q^J ≤ 10⁴, 9085 hidden, and the least depth to J at every ideal of least span 1 ≤ s ≤ J, read ones at s plus 0, 1 or 2. The span-1 criterion and the if half of the proof below read no degree; the only if is quadratic, and the law is the chain law's degree-2 face (The chain law). At x³ + x² + x + 2, Q = (2, β² + β + 1), with O/Q = F₄, is hidden from span 2 and read at no depth, while O/(Q : β) = O/Q is not cyclic, and over the chain law's 250 cubic bases the colon law misses 1492 of the 12626 pairs whose index divides q^j.

Base 2i is x² + 4: m ∣ 4 and r ∈ {0, 2}, so read at depth j implies hidden at span j implies read at depth j + 1. Since (2i)² = −4, its even places write x and its odd places y of x + 2yi in base −4, so a span-j tile is a translate of the box [0, A_j) × [0, B_j), A_j = 4^⌈j/2⌉, B_j = 4^⌊j/2⌋, and (2i)^j Z[2i] = A_jZ × B_jZ. At an index 2^k the least span equals the least depth iff I = aZ × dZ, a box ideal, and is one less otherwise; each index 2^k, k ≥ 2, holds three ideals, two of them box ideals when k is even and one when k is odd. No one ideal marks what span 1 hides: (2i) = 4Z × Z, read at depth 1, and (4, β − 2) = {x + 2y ≡ 0 mod 4}, read at depth 2, are both hidden at span 1, their intersection 4Z × 2Z, of index 8 against a box of 4 points, is not, so no H makes span 1 hide exactly the I ⊇ H, as b^jZ does at base b.

Proof. Write a character of O as (χ(1), χ(β)) ∈ (Q/Z)²; β acts by (a, b) ↦ (b, −qa − pb) and β̄ = −p − β by (−pa − b, qa). Call χ dead when χ(1) ≠ 0 and qχ(1) = 0. A character's sum over T_j is ∏_(k<j) Σ_(d∈D) exp(2πi dχ(β^k)), and a factor is 0 iff βᵏχ is dead; so span 1 hides an ideal E iff every χ ≠ 0 of O/E is dead, iff 1 generates O/E with order dividing q. If: T_(j−1) is complete mod β^(j−1)O, so each coset of I + β^(j−1)O gets its share, and inside it β^(j−1)D is equidistributed on (I + β^(j−1)O)/I ≅ O/K, K = (I : β^(j−1)). Only if: hiding passes to every ideal over I, so to each l-primary part I_l, the kernel of O → (O/I)_l, and K is the intersection of the (I_l : β^(j−1)); by the CRT, let I have l-power index, v = v_l(q). β maps the characters of O/L onto those of O/(L : β), with kernel the (t, 0) of O/(L + βO), a quotient Z/g of O/βO. The step: a ψ' ≠ 0, not dead, in the image has a preimage not dead. Else a preimage (a, a') has qa = 0, so ψ' = (a', −pa'), a' ≠ 0 and l^v a' ≠ 0, and β̄(a, a') = (x, 0) with l^v x ≠ 0, whose multiples killed by l^v put l^v elements in the kernel: g = l^v, and a + (1/l^v)Z holds 0. If span 1 does not hide K, a φ ≠ 0 of O/K is not dead, and the step from (I : β^(j−2)) down to I lifts it to a χ with no βᵏχ dead, k < j: a nonzero sum. At some ideals of mixed index the step dead-ends, in the script at q = 6, 10 and 12, its only q of two primes.

The 2i boxes. A character (α, γ) sums over the box to a product of two geometric sums, so span j hides I iff every χ ≠ 0 has α ∉ Z, A_jα ∈ Z or γ ∉ Z, B_jγ ∈ Z. Write I = Z(a, 0) + Z(c, d), 0 ≤ c < a, g = gcd(a, c). The x-coordinates of I are gZ and its y-coordinates dZ, so (α, 0) is trivial on I iff gα ∈ Z and (0, γ) iff dγ ∈ Z, and (α, γ) ↦ (γ, −4α) gives d ∣ g ∣ 4d; (A, 0) ∈ I iff a ∣ A and (0, B) ∈ I iff (ad/g) ∣ B, and 2i(c, d) ∈ I gives d ∣ c and a ∣ 4d + c²/d. At index 2^k the least depth t exists, (2i)^(2k) = ±4^k lying in 2^k Z[2i] ⊆ I, and a, d, g are powers of 2; t = 0 is Z[2i], a box ideal. Let t ≥ 1. At t − 1 one axis is short of t's and the other is read, so span t − 1 hides I iff d ∣ B_(t−1) when t is even, iff g ∣ A_(t−1) when t is odd. When c = 0, g = a and ad/g = d, so this is the read at t − 1, which fails. When c ≠ 0, g < a. If t is even and span t − 1 does not hide I, with R = A_t = B_t, then d ∣ R, d ∤ R/4 and d ∣ g ∣ a ∣ R force d = g = R/2, a = R, c = R/2 (the one c < a with gcd(a, c) = g), where a ∤ 5d. If t is odd, with R = A_(t−1) = B_(t−1), then g ∣ 4R, g ∤ R and g < a ∣ 4R force g = 2R, a = 4R; then 2d = ad/g ∣ R and g ∣ 4d force d = R/2 (no d at t = 1), a = 8d, c = 4d, where a ∤ 20d. The ideals are a = dm, c = du, 0 ≤ u < m, m ∣ u² + 4: d ∣ g, d ∣ c and a ∣ 4d + c²/d give it, and 2i(a, 0) = m(c, d) − u(a, 0), 2i(c, d) = u(c, d) − ((u² + 4)/m)(a, 0) the converse; at index d²m = 2^k, 16 ∤ u² + 4, so m is 1 or 4 at k even and 2 or 8 at k odd, and the roots u = 0 at m = 1 and 2, u = 0, 2 at m = 4 and u = 2, 6 at m = 8 give the three from k = 2 on.

The chain law

Tier: theorem.
Verifier: proof; dualn.py::section_chain.

Let f be monic of degree n with f(0) = ±q, q ≥ 2, O = Z[x]/(f) = Z[β], and D and T_j as at a quadratic base; let I be an ideal of finite index N, G = O/I and g_k the class of β^k. The chain of (I, j) grows a set S ⊆ {0, …, j − 1} from the empty set by any k with q g_k in G_S, the subgroup the g_s, s ∈ S, generate. Then span j hides I if the chain reaches G_S = G, and, when N = q^j, only if. At x² + px + q it reaches G at every pair span j hides, so there it is a criterion at every index, equivalent to the colon law.

Proof. A character χ of G sums over T_j to ∏_(k<j) Σ_(d∈D) exp(2πi dχ(g_k)), a factor being 0 iff χ(g_k) ≠ 0 and qχ(g_k) = 0; that reads no degree. Since q g_k ∈ G_S stays true as S grows, the greedy chain decides whether some chain reaches G. If: a χ ≠ 0 is 0 on G_∅ and not on G, so one step, adding k, is the first after which χ is not 0 on G_S; then χ(g_k) ≠ 0, and q g_k lies in the earlier G_S, where χ is 0, so qχ(g_k) = 0 and the sum is 0. Only if, at N = q^j: the q^j points of T_j put each class of G once, so G = Dg_0 ⊕ ⋯ ⊕ Dg_(j−1) factors G by the cyclic sets {0, g, …, (q − 1)g} of q distinct points. By Hajós's theorem (Math. Z. 47 (1942), 427–467), for cyclic sets of any length (stated so as Theorem 1 of Corrádi and Szabó, Comment. Math. Univ. Carolin. 51 (2010), 1–8), one Dg_k is a subgroup, so q g_k = 0 and k starts the chain. The other Dg_(k′) factor G/⟨g_k⟩ directly, so by induction on the number of cyclic sets, the statement being one of any finite abelian group factored by sets {0, h, …, (q − 1)h}, their chain reaches it, and it lifts, a step q g_(k′) ∈ G_(S′) + ⟨g_k⟩ being one in G. At x² + px + q: if span j hides I, the colon law gives O/K = Z/m generated by 1, m ∣ q, K = (I : β^(j−1)), so q g_(j−1) = 0 and g_(j−1) generates (β^(j−1)O + I)/I; the chain of O/β^(j−1)O, of index q^(j−1) where T_(j−1) is complete, reaches it by the only if and maps onto G/⟨g_(j−1)⟩.

The script runs the chain at the colon law's 100 quadratic bases, 0 off over the 17144 pairs whose index divides q^j, and at 250 cubic bases x³ + ax² + bx ± q, 2 ≤ q ≤ 6, −2 ≤ a, b ≤ 2, q^J ≤ 128. Over all 24966 cubic pairs (I, j), I of index dividing q^J, 1 ≤ j ≤ J, it reaches G at no unhidden pair (testing 2q g_k, 3346 do); over the 12626 whose index divides q^j it is off at none of the 4428 with N = q^j and misses 12 hidden pairs, at x³ ± x² + x ± 2 with Q = (2, β² + β + 1): Q² at j = 6 and 7, 2Q at j = 7. There every g_k has order 4, so no k enters the chain, and T_j covers G 2^j/N times, a multiple factorization, where Hajós's theorem says nothing.

The chain at depth

Tier: theorem at q = l^e where f's l-adic factor has degree ≤ 2 or is x³ + a₀; property at j ≥ t and at squarefree q; rule at a cubic 2-adic factor at q = 4 and 8 (verified wherever O/I has exponent at most 64).
Verifier: proof; dualrs.py::section_l2, dualrs.py::section_w, dualmult.py::report, dualmult.py::main, dualpw.py::section_k, dualpw.py::section_t, dualpw.py::section_r, dualpw.py::section_e64.

Let depth t read I, as at a quadratic base, t the least such: its depth. The chain law's converse, at the tier's scope: at an I read at some depth, span j hides I only if the chain of (I, j) reaches G. Put F_k = β^k G; F_k/F_(k+1) is cyclic on g_k, and q g_k ∈ F_(k+1) since q ∈ βO. So q^t ∈ β^t O ⊆ I, and G is a sum of l-groups, l | q. At j ≥ t, F_j = 0, so each q g_k lies in the subgroup g_(k+1), …, g_(j−1) generate and the chain runs down from j − 1. At squarefree q, q/l is a unit on the l-part, so l kills each of its layers, none of index below its depth t_l trivial (F_k = βF_k forces F_k = 0): it has order l^(t_l), and hiding needs N | q^j, so each t_l ≤ j and t = max t_l ≤ j. The content is the pairs below depth, j < t. The script reads the 250 cubic bases of the chain law at q^J ≤ 256 and 108 quartic x⁴ + ax³ + bx² + cx ± q, q = 2, 3, a, b, c ∈ {−1, 0, 1}, at q^J ≤ 64 and 81: of the 14138 and 4338 hidden pairs, the chain misses 24 and 12, all read at no depth (its reader reads each β^j O, j ≤ J, at depth exactly j), and the 606 hidden pairs below depth, all at q = 4, the one q not squarefree, reach G at every one: 96 at a factor of degree 2, which the theorem below covers, and 510 at degree 3, their O/I of exponent 4, 8, 16 and 32 at 130, 202, 94 and 84, which The witness at q = 2^e covers.

At q = l^e, l prime, the converse at every I read at some depth is a theorem wherever f's factor f₀ over the l-adic integers with f₀ ≡ x^r mod l (Hensel; β is a unit on the other factor) has r ≤ 2, as at x³ + ax² + bx ± 4 wherever a or b is odd, or is x³ + a₀, as at x³ ± q. With T_W the multiset of the Σ_(k∈W) d_k g_k, d_k ∈ D, W a finite window, through G/⟨g_k⟩ by induction on |G| + |W| it is enough that T_W uniform on G ≠ 0 forces q g_k = 0 at some k ∈ W. G is Z_l[β]/L, Z_l[β] = Z_l[x]/(f₀), L a Z_l-lattice (not always an ideal), and the closure reduction (The closure reduction) puts in a least counterexample both invariant factors of G above q and each of its l + 1 subgroups of order l some ⟨q g_k⟩. Both above q put L in l^(e+1)Z_l[β]; with M = l^(−e−1)L, multiplying by l^e carries M/lM onto those subgroups, and ⟨q g_k⟩ is one of them exactly when β^k ∈ M − lM. With i the least such k, every later one lies in N′ = β^(i+1)Z_l[β] ∩ M, whose image in M/lM is proper: else N′ = M by Nakayama, β^i ∈ β^(i+1)Z_l[β], and, β^i cancelling as f₀(0) ≠ 0, β would be a unit, but l | f₀(0). So the ⟨q g_k⟩ after the first are one subgroup of order l, and two are fewer than G's l + 1. The proof reads any window W and no nilpotence; dualrs.py prints the two-subgroup bound at every such f₀ of degree 2, up to β ↦ vβ with v a unit, over every rank-2 l-group to order 256 at q = 2, 4, 8 and (Z/32)² at q = 4, 8, and to 243 at q = 3, 9 and (Z/27)² at q = 9. At f₀ = x³ + a₀ the recurrence gives g_(3m+i) = (−a₀)^m g_i, so every term lies in ⟨g_0⟩, ⟨g_1⟩ or ⟨g_2⟩, and a character χ ≠ 0 that is 0 or one-to-one on each of the three has no zero factor at a k with q g_k ≠ 0: T_W is not uniform. By the count (The closure reduction) take G of rank 2 and χ with kernel ⟨h⟩, h ∉ lG. Every subgroup of order l is some such ⟨h⟩'s, and ⟨h⟩ meets ⟨g_i⟩ trivially unless the two share it, so ⟨h⟩ goes through one no ⟨g_i⟩ holds; failing that, l = 2, the three ⟨g_i⟩ hold the three subgroups of order 2, and an ⟨h⟩ holding g_0 kills ⟨g_0⟩ and meets the other two trivially. The step reads that the terms lie in three cyclic subgroups of a G of rank 2, never G's invariant factors, and a quotient keeps f₀. dualrs.py finds that ⟨h⟩ closed (The closure reduction) at 1014174 sequences over 237 pairs (G, a₀), every rank-2 l-group of exponent above q to order 256 at q = 2, 4, 8 and 243 at q = 3, 9 (--full; every triple to order 32 at q = 2, 4 and 27 at q = 3, 3000 drawn per pair elsewhere), and open at some sequence of x³ + 2x + 2.

The closure reduction

Tier: theorem at q = l^e, and at a cubic factor at q = l where no tree depth holds over l gates.
Verifier: proof; dualrs.py::section_l2, dualrs.py::section_l3, dualrs.py::section_g.

The chain at depth rests, past a factor of degree 2, on a statement about any finite abelian G with g_0, g_1, … generating it, obeying f's recurrence and 0 from some k on: if T_W is uniform on G ≠ 0, some k ∈ W has q g_k = 0. With W* the k ∈ W where q g_k ≠ 0, a witness is a character χ ≠ 0 with χ(g_k) = 0 or qχ(g_k) ≠ 0 at each k ∈ W*: no factor of χ's sum over T_(W*), counted with multiplicity, vanishes, so W* does not hide G, which is all the statement asks. Call S ≤ G closed when q g_k ∈ S puts g_k ∈ S at every k ∈ W*. A witness at G/S lifts to G, vanishing on each g_k ∈ S, so a counterexample of least |G| has no closed S but 0 and G. A nonzero closed S holds a subgroup of prime order and that subgroup's closure (S ← S + ⟨g_k : k ∈ W*, q g_k ∈ S⟩, to a fixed point), so there each subgroup of prime order, a line, has closure G. At q = l^e, G an l-group by the recurrence (q g_k lies in the later terms' span), that puts each line at some ⟨q g_k⟩ with k ∈ W* (a line at none, unhit, is closed), every invariant factor of G above q (else one outside qG is closed) and the g_k, k ∈ W*, generating G.

The count: with f₀ of degree r, a least counterexample has rank 2 to r − 1. A cyclic G has a faithful character, a witness. At rank r the map of The chain at depth carries M/lM onto the (l^r − 1)/(l − 1) subgroups of order l, each some ⟨q g_k⟩, and its Nakayama step, which reads any r, puts the β^k after the first hit in a hyperplane: at most 1 + (l^(r−1) − 1)/(l − 1) lines, l^(r−1) − 1 too few. Below full rank it fails: at x³ + 4 on Z/8 × Z/8, q = 4, some sequences put q g_0, q g_1, q g_2 on all three lines; at r = 3 and full rank the script reads at most 4 lines at l = 2 and 3 at l = 3, on (Z/4)³ and (Z/8)³ at q = 2, (Z/8)³ at q = 4 and (Z/9)³ at q = 3.

At rank 2 a closed ⟨h⟩, h ∉ lG, is a witness outright: G/⟨h⟩ is cyclic, and the character with kernel ⟨h⟩ vanishes at g_k iff g_k ∈ ⟨h⟩ and kills q g_k iff q g_k ∈ ⟨h⟩. At a cubic factor, where the count forces rank 2, G = Z_l[β]/L as in the chain at depth, take p ∈ L primitive in Z_l[β], C = Z_l[β]/Z_l p ≅ Z_l², c_k the image of β^k and L_C that of L, so G = C/L_C; h lifts to a primitive d spanning the kernel of a primitive functional ρ, and n = v(ρ(L_C)) ≥ e + 1 as both invariant factors exceed q, so ⟨h⟩ is closed iff the scalar f₀-sequence ρ(c_k) avoids the valuations n − e, …, n − 1 on W*. On (Z/l^(e+1))² one exists: g_k ∈ lG from k = 3, so W* ⊆ {0, 1, 2}; an unhit line (always one at l ≥ 3) lies in a closed ⟨h⟩, and at l = 2 with all three hit, ⟨g_0⟩ is closed.

At q = l a cubic f₀ is Eisenstein. Root the Bruhat–Tits tree of C at the class of L_C: the cyclic subgroups of G of order l^d are vertices at depth d, and l^j⟨h⟩ is ⟨h⟩'s path to the root. The candidates are the ⟨h⟩, h ∉ lG, of the smaller invariant factor's order, at equal factors those on one side of the edge below. Each k ∈ W* sets a gate, the vertex ⟨l g_k⟩ with its direction ⟨g_k⟩, and ⟨h⟩ is closed iff its path leaves every gate on it through ⟨g_k⟩. The lattices β^k Z_l[β] project onto the two ends of one edge up to scaling, one step in three between them trivial, and dualrs.py reads that of the classes of k mod 3 one sets no gate on a candidate's path, one at most one per depth and the trivial step's class at most one more, unless its term falls to a deeper lattice and its gate lands shallower, a lander. The root has l children toward the candidates, as has every later vertex, a gate removes at most l − 1 of them and none sits at the root or at a candidate (0 ≠ l g_k ∈ lG), so with n_d distinct gates at depth d the vertices A_d that paths from the root reach past no gate left off its direction obey |A_(d+1)| ≥ l|A_d| − (l − 1)n_d: at most l gates per depth leave |A_d| ≥ l at every d ≥ 1, a closed ⟨h⟩. dualrs.py reads the gates at 604952 generating sequences, 14000 of them drawn, of exponent at most 27 at q = 2, 3, 5, a closed ⟨h⟩ at every one; the 3174 with a depth over l gates, all at q = 2, cut the reached vertices to one at some depth at 3123, never to none.

The witness at q = 2^e

Tier: rule (verified at q = 2, 4, 8 on every G of exponent at most 64).
Verifier: dualpw.py::section_k, dualpw.py::section_q1, dualpw.py::section_q2, dualpw.py::section_q3, dualpw.py::section_r, dualpw.py::section_e64.

The statement the chain at depth rests on past a factor of degree 2 (The closure reduction) holds at q = 2, 4 and 8 wherever f's 2-adic factor f₀ has degree 3, on every G of exponent at most 64. At squarefree q the converse does not need it, since there hiding forces j ≥ t (The chain at depth); at q = 4 and 8 it carries the converse there at every I whose O/I has exponent at most 64.

A quotient's exponent is at most G's, so a least counterexample of exponent at most 64 is one among such G, of rank 2 with both invariant factors above q (The closure reduction). With q = 2^e it is enough that on every G = Z/2^N × Z/2^M, e < M ≤ N ≤ 6, at every f₀ = x³ + a₂x² + a₁x + 2^e with a₁, a₂ even (any a₀ = 2^e v, v a unit, comes to 2^e by β ↦ wβ, w³ = v⁻¹, cubing being onto the units of Z₂), every generating sequence has a closed ⟨h⟩, h ∉ 2G, a witness. At e = 1 f₀ is Eisenstein; above, it need not be irreducible nor Z₂[β] maximal, and nothing below asks either. A generating sequence is β^k mod L for one Z₂-lattice L of O₀ = Z₂[β], and two with one L differ by an automorphism of G, so the check runs over (f₀, L). With c₂ the β² coordinate, c₂(yx) is a perfect pairing on O₀/2^N O₀ (its Gram matrix on 1, β, β² has determinant −1 at every monic cubic), the characters of G are the c₂(y·) with y killing L, and the one with kernel ⟨h⟩ shows ⟨h⟩ closed iff no k with qg_k ≠ 0 has c₂(yβ^k) a nonzero multiple of 2^(N−e). At M = N, L is Z₂ν + 2^N O₀ for one point ν of P²(Z/2^N); below, L is read off ν and a direction c in the characters ν^⊥ that kill ν, those killing L being ⟨c⟩ + 2^(N−M)·ν^⊥. As a₁, a₂ are even, β³ lies in 2O₀ and qβ^k in 2^N O₀ from k = 3(N − e), so k < 3N reads every k with qg_k ≠ 0; their window runs to that bound 3(N − e) at every f₀ at e = 1, and above e = 1 only at N = e + 1 among the G read.

dualpw.py finds a closed ⟨h⟩ at every instance, pairs (f₀, ν) at M = N and triples (f₀, ν, c) below: with --full on every such G of exponent at most 32 at each q and on (Z/64)² at q = 2, 4, a lattice below the diagonal met more than once at each (f₀, ν), from 112 instances on (Z/4)² to 22020096 on each Z/32 × Z/2^M read, M < 5; and with --arm on the rest of exponent 64, c read once per lattice at each (f₀, ν), to 176160768 instances on Z/64 × Z/4 at q = 2: L depends on c only through its point of P¹(Z/2^(N−M)), met 2^M times at each (f₀, ν) by the full reading, the closed counts agreeing pointwise at four G of exponent 8 to 32. At N = 2, 3 and a₀ = 2, 4 every instance's sequence generates G with ν in its kernel, and the instances meet every lattice of a generating triple of G, 28, 168 and 112 at (Z/4)², Z/8 × Z/4 and (Z/8)². The closed ⟨h⟩ are those a brute membership reader finds at every instance at N = 2, 3 (q = 2) and on (Z/8)² (q = 4), and at 1000 drawn per G at N = 4, 500 at N = 5 and 200 at N = 6 but on (Z/64)² at q = 2, 4, at each q, where a reader dropping the last k with qβ^k ∉ 2^N O₀ disagrees at some draws, not all; at x³ + 2^e, where the binomial factor's proof holds, every instance has one. The fewest closed ⟨h⟩ at one instance is 2 or 3 on every G of exponent at most 32 but two, where it is 1: Z/32 × Z/16 at q = 2, f₀ = x³ + 2x² + 2x + 2, and (Z/32)² at q = 4, f₀ = x³ + 14x² + 2x + 4; at exponent 64 it is 2 but on Z/64 × Z/32 at q = 4 and (Z/64)² at q = 8, where it is 4, and (Z/64)² at q = 4, where it is 5.

The crown exchange

Tier: property.
Verifier: proof; dual.py::section_z.

The leading end reads sign and exponent natively and a product's exponent to one bit, e(xy) − e(x) − e(y) ∈ {0, 1}. It reads neither equality nor the order of nearby values at any depth: two points of one deep tile of span j differ by any integer in (−b^j, b^j), so on that tile paired with itself [x = y] and the sign of x − y take every value and e(|x − y|) takes 0, …, j − 1, at every depth. The trailing end reads x − y at lookahead 0, hence [x ≡ y mod b^t] at depth t, but equality at no depth either; a residue ring reads x − y = 0 exactly, channel by channel.

Proof. b^(e(x)+e(y)) ≤ xy < b^(e(x)+e(y)+2). The difference set of an interval of b^j integers is (−b^j, b^j).

The coset rigidity

Tier: property.
Verifier: proof; dual.py::section_c.

Let a digit set D write every integer as a finite trailing string, as {−a, …, a} does whenever 2a + 1 ≥ b and a ≥ 1. The completions of a trailing prefix of value V and length t are then exactly the coset V + b^t Z. Two such tiles of one length are equal or disjoint, so the trailing tiles are the b-adic balls however redundant D is. READING's Lipschitz and division criteria hold unchanged, and no such digit set buys the trailing end an overlap: for such digit sets redundancy is a purchase for the leading end only.

Proof. The extension's digits write any integer z, and the completion is V + b^t z. For {−a, …, a}: take d ≡ n mod b in D and n′ = (n − d)/b. Then |n′| ≤ (|n| + a)/b < |n| while |n| > a/(b − 1), and every |n| ≤ a is a digit.

The affine class theorem

Tier: theorem.
Verifier: proof; dual.py::section_a, dual.py::section_0.

Let f be nondecreasing with |f(n) − λn| ≤ C, λ > 0. f is read at some lookahead iff

Three families follow. The numerator criterion: ⌊(u/v)n⌋ with gcd(u, v) = 1 is read iff rad(u) ∣ rad(b), so the denominator is free and every floor division reads. The phase law: ⌊(n + s)/v⌋ with 0 ≤ s < v is read iff s = 0, and n + ω, ω an integer, iff ω = 0. The sum criterion: f = Σ w_i ⌊n/v_i⌋ with w_i ≥ 1, ℓ = lcm(v_i) and U = Σ w_i ℓ/v_i is read iff rad(U) ∣ rad(b), U the numerator over the lcm, unreduced. So g = ⌊n/3⌋ + ⌊n/7⌋ is read at base 10, U = 10, and is no ⌊(10n + s)/21⌋ with 0 ≤ s < 21, since those stay within 1 of 10n/21 and g(20) − 200/21 = −32/21. The arithmetic maps the leading end reads are wider than the numerator family and its phases. With READING: The division criterion at the chain b^t, where the trailing end reads n ↦ un at lookahead 0 and ⌊n/v⌋ iff rad(v) ∣ rad(b), the numerator criterion is the two-ends exchange: at the two ends one radical condition falls on opposite parts of the fraction u/v.

Proof. Write Δ = ⌈C/λ⌉ + 1, and n*(B) = min{n : f(n) ≥ B} for the crossing of B, so |n*(B) − B/λ| ≤ Δ. The depth-t output boundaries are the integers M b^J with 1 ≤ M < b^t. A monotone f sends a depth-(t + c) input tile into one output tile iff no crossing sits strictly inside it. So f is read at lookahead c iff every crossing n* with f(n* − 1) ≥ 1 lying in a deep tile, of span j = digits(n*) − t − c, is that tile's left end, b^j ∣ n*: call such a crossing aligned.

Slope. n*(b^J) has at least J − G digits for a constant G, so at depth 1 and lookahead c being aligned makes b^(J−G−1−c) divide it. The integer n*(b^J)/b^(J−G−1−c) lies within Δ b^(G+1+c−J) of the fixed real b^(G+1+c)/λ, which is therefore an integer: λ is a power of b over an integer, which is b^r/h once r is taken least.

Alignment, necessity. For J ≥ r and M with exactly t digits, N₀ = M b^J/λ = h M b^(J−r) is an integer. The crossing lies within Δ of it, so once b^(J−r−1−c) > Δ it has at least t + J − r − 1 digits and being aligned gives b^(J−r−1−c) ∣ n*; N₀ is a multiple of the same power, so the two are equal. That threshold J₀ depends on neither M nor t, and every multiple of h b^(J₀−r) is h M b^(J−r) with b ∤ M, t = digits(M) and J ≥ J₀, so it is its own crossing.

Alignment, sufficiency. For J ≥ r + K the crossing of M b^J is N = h M b^(J−r), of at most digits(h) + t + J − r digits, so at c ≥ digits(h) its tile has span at most J − r and N is aligned. For J < r + K the crossing is below h b^(t+K−1) + Δ + 1, in no deep tile at c ≥ digits(h) + K + digits(Δ).

The families. ⌊(u/v)n⌋: the slope needs u ∣ b^r, and then every multiple N of h = v b^r/u has f(N) = λN > f(N − 1), K = 0. ⌊(n + s)/v⌋ with 0 < s < v has f(N − 1) = N/v at every multiple of v, so it fails at every K, and n + ω needs ω ≥ 0 for f(N) ≥ N and ω < 1 for f(N − 1) < N. For the sums, f(n) ≤ λn with equality iff ℓ ∣ n, and f(N − 1) = λN − Σ w_i when ℓ ∣ N, so alignment holds at K iff ℓ ∣ h b^K, iff U ∣ b^(r+K).

The slope half is READING: The wall criterion on the integers; the alignment half is what floors add. It is not implied by the slope: ⌊n/3⌋ + ⌊n/6⌋ has λ = 1/2 and U = 3, so it fails at every base prime to 3. The proof constructs a misaligned crossing wherever a condition fails. At 171 sums, the 55 pairs 2 ≤ v₁ < v₂ ≤ 12 at bases 2, 6 and 10 and six more sums at base 10, three of them weighted, a crossing reader (depths 1 to 3, lookahead to 10) and the alignment condition read directly each agree with rad(U) ∣ rad(b) at all 171, 42 of them read. The slope holds with rad(U) ∤ rad(b) at 2 sums at base 2, 3 at base 10 and none at base 6. At depths 1 and 2, the numerator criterion holds at all 273 cases, the 91 coprime maps ⌊(u/v)n⌋ with u, v ≤ 12 at each of bases 2, 6 and 10, and the phase law holds at v = 3, 5, 7 and |ω| ≤ 3 at bases 2 and 10. An exhaustive reader grouping every n below 10^6 finds g at base 10 with 1552 and 1103 input tiles whose image meets more than one output tile, summed over depths 1 to 3, at c = 0 and 1 and none at 2. Over n below 2^13, 6^5 and 10^4 it agrees with the crossing reader at all 1368 (sum, depth, c) it decides, at depths 1 and 2 and c ≤ 3, 1130 of them at an input depth t + c below the run's digit count, where an input tile holds more than one number.

The least-lookahead law

Tier: theorem; pattern (the scanned lookahead under the sharper bound of the last paragraph at the 42 read sums, unproved as a bound on c_min).
Verifier: proof; dual.py::section_k.

In the affine class theorem's notation, with Δ = ⌈C/λ⌉ + 1 as in its proof and c_min the least lookahead at which f is read, take K least, δ = digits_b(h), μ = v_b(h), the exponent of the largest power of b dividing h, and h′ = h/b^μ. Then c_min ≥ c_deep = digits_b(h′) − [h′ = 1], and c_min ≤ δ + K whenever Δ ≤ (b − 1) b^(δ+K). So when K = 0, h ≥ 2, b ∤ h and Δ ≤ (b − 1) b^δ,

c_min = digits_b(h),

the lookahead priced exactly: ⌊n/3⌋ reads at 1 at base 10, and g at 2.

Proof. The deep bound. For J ≥ r + K and M of t digits the crossing of M b^J is N = h M b^(J−r), its depth-(t + c) tile has span digits(hM) + J − r − t − c, and N is aligned iff c ≥ digits(hM) − t − v_b(hM). For M prime to b, v_b(hM) = μ; M is taken so because v_b is not additive at a composite b (2 · 5 at base 10). The bound is then δ − μ when the product overflows into δ + t digits and δ − μ − 1 otherwise, and every M gives at most δ − μ. The overflow interval [b^(δ+t−1)/h, b^t) is nonempty iff h > b^(δ−1), iff h′ ≥ 2. Its length grows with t, and any b consecutive integers hold one ≡ 1 mod b. So at every large t a crossing of the layer J ≥ r + K needs c_deep. For J < r + K the crossing is below b^(δ+t+K−1) + Δ, hence below b^(δ+t+K) when Δ ≤ (b − 1) b^(δ+K), and its tile has span at most δ + K − c.

The script reads c_scan, the least lookahead that suffices at every crossing it scans (output depths up to the first whose overflow interval holds an integer prime to b, and at least to 3, exponents to r + K + 6), so c_scan ≤ c_min, at the 42 read sums. At all 42 a crossing of the layer J = r + K + 2 needs exactly c_deep, so c_scan ≥ c_deep. ⌊n/3⌋ + ⌊n/9⌋ at base 2 has h = 9 and c_scan = 4, decided first at depth 4 by the crossing 135 of 15 · 2². A reader stopping at depth 3 reads 3, as the script prints. c_scan sits under the sharper bound max(c_deep, δ + K − 1) at all 42 sums, with equality at 41: a pattern, unproved as a bound on c_min.

The structural split

Tier: property.
Verifier: proof; dual.py::section_s.

A map is read at lookahead 0 iff it sends every tile into a tile of the same depth, and that asks for no arithmetic. At base 2, the flip n ↦ n XOR 2^(e−1) changes the second digit, on n ≥ 2. At base 10, π(n) sends the second digit d to 9 − d, on n ≥ 10. The power n ↦ b^e is nondecreasing with b^e/n running over (1/b, 1], so no linear map lies within a bounded distance of it. All three are read at lookahead 0 and none is a polynomial: the flip and π are monotone on no tail, and a polynomial of linear growth is a linear map plus a constant. On a finite product of finite fields a map is channel-local iff it is a polynomial (SIZE: The locality criterion): on a squarefree residue ring locality and algebra coincide, and at the leading end, where locality is reading at lookahead 0, they part. The trailing end's ring Z/b^t is no such ring once b^t is not squarefree, and there reading at lookahead 0 and algebra can part: every polynomial function reads at lookahead 0, and at base 2 they agree at Z/4 (64 each) and part at Z/8, where the maps read at lookahead 0 number 2^(2+4+8) = 2^14, the value mod 2^t chosen one binary digit at a time, while the polynomial functions number ∏_(i<4) 8/gcd(8, i!) = 8 · 8 · 4 · 4 = 2^10 (Kempner, Trans. Amer. Math. Soc. 22, 1921).

Proof. Each fixes the digit count, and its image's leading t digits are a function of n's (the flip and π keep the first digit and rewrite the second from itself; the power's are 1 0 … 0), so a depth-t tile maps into one depth-t tile.

The flip sends 2 to 3 and 3 to 2, π(10) = 19 > π(11) = 18, and the power's b^e/n is 0.1010 at n = 99.

The redundant reader

Tier: theorem.
Verifier: proof; dual.py::section_r, dual.py::section_e.

Give the leading end the digits {−a, …, a} with 2a + 1 > b, and read 0.d₁d₂… as y = Σ d_i b^(−i) in [−ρ, ρ], ρ = a/(b − 1) > 1/2. The completions of a depth-t prefix of value V are exactly the interval [V − ρb^(−t), V + ρb^(−t)], its tile here, and adjacent children overlap by (2ρ − 1)b^(−t−1) > 0. A map is read at lookahead c here when a reader seeing the inputs c digits ahead can always commit a child tile that holds every image still possible. Every map F: [−ρ, ρ]^k → [−ρ, ρ] of k ≥ 1 inputs that is L-Lipschitz in the sup metric, L > 0, is read at lookahead

max(0, ⌈log_b L + log_b(2a/(2a − b + 1))⌉).

So every scaling y ↦ (u/v)y with |u/v| ≤ 1 is read whatever the radical of u, and so are the mean (x + y)/2 and the product xy/ρ: redundancy dissolves every wall (READING: The wall criterion) of a Lipschitz map of [−ρ, ρ]^k into [−ρ, ρ].

Proof. The j-digit strings write every integer in [−aR_j, aR_j], R_j = (b^j − 1)/(b − 1), by induction, since the intervals [bz − a, bz + a] over consecutive z abut when 2a + 1 ≥ b. A limit of finite completions is a completion, which gives the interval. A tile's children are centred at V + d b^(−t−1) with radius ρb^(−t−1); the extreme ones reach V ± (a + ρ)b^(−t−1) = V ± ρb^(−t), and adjacent ones overlap by 2ρb^(−t−1) − b^(−t−1). So every subinterval of a tile of length at most (2ρ − 1)b^(−t−1) lies in one child. At b^c ≥ 2ρL/(2ρ − 1), if the committed depth-t tile holds F of the inputs' depth-(t + c) tiles, as [−ρ, ρ] does at t = 0, then F of the depth-(t + 1 + c) tiles lies inside it with diameter at most 2ρL b^(−t−1−c) ≤ (2ρ − 1)b^(−t−1). It fits a child, and committing that child keeps the hypothesis.

At (2, 1) the lookahead is max(0, ⌈log₂ L⌉ + 1), the signed-digit cover READING names; there, for a map of two inputs with bounded partial derivatives, a finite delay of that shape is known (Nielsen and Kornerup, J. Universal Computer Science 1(7), 1995, Theorem 6 and its proof). For a C² map F of one input, not affine on [−ρ, ρ], L the sup of |F′|, the bound is the least: with ρ = a/(b − 1) it is the inequality b^c(2a + 1 − b) ≥ 2aL of REDUNDANT: The many-stream theorem at one stream and lead 0, the lead at which that page's output root tile is [−ρ, ρ] itself, its Λ this L, its delay c, its slack 2a + 1 − b and its |I| 2a. At the continued-fraction numeration the same purchase cures walls and not the lag (RATES: The ladder law), since there a tile's scale is not a function of its depth. With 2a + 1 = b the overlap is 0, and balanced ternary reads y/2 at the stream 1 0 0 … at no finite lookahead, every input tile's image holding the boundary 1/6 in its interior. At lookahead 3 the script's balanced-ternary reader sticks before its first digit, while at signed binary a reader at lookahead 0 commits all 12. At (2, 1), (3, 2), (4, 2), (10, 6) and (10, 9) it never sticks at the stated lookahead on random streams to depth 30, for y/3, 2y/5, −y/7, the mean and xy/ρ.

Off the C² maps the bound is not the least: y ↦ |y|, 1-Lipschitz, is read at lookahead 0 on every symmetric set (REDUNDANT: The absolute value), while the all-zero tile holds both signs at every depth, so its reader never learns the sign there. When ρ ≤ 1, balanced ternary included, it hedges with the zeros that hide it: it writes zeros while the prefix is zero and then copies the prefix, negated when its first nonzero digit d_i is negative: |V| − ρb^(−t) ≥ b^(−i)(1 − ρ) ≥ 0, so every completion is 0 or has the sign of d_i and the tile's absolute values form the tile written, and a zero prefix's tile holds its own. At a ≥ b the first nonzero digit no longer fixes the sign, the prefix 1 at (2, 2) having the tile [−1/2, 3/2].

What the purchase spends

Tier: property.
Verifier: proof; dual.py::section_p.

Proof. The tiles are intervals of radius ρb^(−t) about values spaced b^(−t), and the rest is interval arithmetic.

The sign's non-locality is not on this list: a balanced non-redundant end has it already.

The redundancy leak

Tier: criterion.
Verifier: proof; dual.py::section_p.

Read an integer with t + j signed digits {−a, …, a}, 2a + 1 > b and j ≥ 1. For a prime p ∣ b, the residues mod p are uniform over a prefix's completions, counted once per value or once per string, iff p ∣ 2a + 1. Counted per value the bias, the largest gap between a residue's share of the completions and 1/p, is below 1/(2aR_j + 1), R_j = (b^j − 1)/(b − 1), and vanishes with j. Counted per string it is the last digit's bias, the same at every j.

Proof. With V the integer a prefix's t digits write, its completions are V b^j + z with z ∈ [−aR_j, aR_j], once each as values. Since p ∣ b, R_j ≡ 1 and z ≡ d₀ mod p, d₀ the last digit. The first count is uniform iff p ∣ 2aR_j + 1 ≡ 2a + 1, and a string's residue is its last digit's, uniform over {−a, …, a} iff p ∣ 2a + 1.

The standard digits hide every p ∣ b exactly (the two-ends law), so redundancy degrades that hiding to a bias. This purchase spends a finite place's hiding, not archimedean data. Every even base leaks parity, and an odd radical can restore exact hiding: b = 9, a = 7 hides 3.

The period law

Tier: theorem.
Verifier: proof; dual.py::section_m.

Standard digits, n ↦ un with u ≥ 2, κ = ⌊log_b u⌋, input depth t + c and output depth t, with lookahead c ≥ 1. A deep input tile [P b^j, (P + 1)b^j), j ≥ 1, is an exception when its image meets two output tiles. With θ = 1 when uP has t + c + κ + 1 digits and 0 otherwise, and τ = c + κ + θ, every b^τ consecutive P of one θ hold exactly

γ ⌊u(b^j − 1)/(b^j γ)⌋    exceptions,  γ = gcd(u, b^τ),

u − γ when b^j γ > u. The count is 0 iff u ∣ b^τ, that is iff rad(u) ∣ rad(b) and τ ≥ max_p ⌈v_p(u)/v_p(b)⌉: the numerator criterion's multiplier half, at its depth threshold, is the zero locus of one density. For gcd(u, b) = 1, on tiles longer than u (b^j > u), over the (t + c)-digit P as t grows, the density of exceptions tends to

(1 − 1/u)/b^c      counted per tile, and
(1 − 1/u) H(ξ)/b^c with each tile P weighted log_b((P + 1)/P),

ξ = {log_b u}, H(ξ) = b^(ξ−1)(1 + (b − 1)(1 − ξ)). Under counting, the split between the classes θ = 0 and θ = 1, which the multiplier's mantissa sets, cancels, leaving the factor 1 − 1/u. The log weights keep the mantissa's share, in H(ξ), and H > 1 on 0 < ξ < 1, so they see more exceptions at every base.

Proof. The image's output tiles have length b^J, J = j + τ, and the tile is an exception iff a multiple of b^J lies in (uPb^j, uPb^j + u(b^j − 1)] (an image crossing b^(t+J) holds that multiple and changes its digit count), iff 1 ≤ σ ≤ u(b^j − 1)/b^j with σ = (−uP) mod b^τ; σ = 0 fails since b^τ > u. Over b^τ consecutive P, σ runs over the multiples of γ, each γ times, which gives the count. It is 0 iff γ > u(1 − b^(−j)), and as γ ∣ u and 1 − b^(−j) ≥ 1/2, iff γ = u. For the densities the count is u − 1 per b^τ, and the class θ = 0 holds the fraction w₀ = (b^(κ+1) − u)/(u(b − 1)) of the P, so the density tends to (u − 1)b^(−c−κ)(w₀ + (1 − w₀)/b) = (1 − 1/u)/b^c. Under the log weights the classes hold 1 − ξ and ξ, which gives H. ln H is concave and 0 at ξ = 0 and 1, so it is positive between.

The log weights are the leading end's own measure. The mantissas form the compact group R_>0/b^Z, the scale circle, which log_b carries onto R/Z, so its Haar measure is log-uniform, and the mantissas of the tiles of prefix P lie in the arc [P, P + 1)·b^Z, of mass log_b((P + 1)/P), Benford's law; log-uniformity as the scale-invariant law is known (Pinkham, Ann. Math. Statist. 32, 1961; Hill, Statist. Sci. 10, 1995). The arcs are unequal, so a density at the leading end must name its measure, where a trailing tile, the integers of a coset of b^t Z_b in the b-adic integers, has Haar measure b^(−t) whatever its residue. The script's control: under multiplication by 3 the counting share of the tile of leading digit 1 at base 10 moves from 0.1111 to 0.3704, its Haar mass from 0.301030 only to 0.301023, the sums telescoping to the window's ends.

Each end prices in its own metric

Tier: property.
Verifier: proof; dual.py::section_k, dual.py::section_0, reading.py::stage_chain, reading.py::stage_lemma.

One map, ⌊n/m⌋ with m ≥ 2 and b ∤ m, has an exact price at both ends. The trailing end reads it at exactly max_(p∣m) ⌈v_p(m)/v_p(b)⌉ digits of lookahead, a maximum over the places, infinite where some p ∤ b. The leading end reads it at exactly digits_b(m) = ⌊Σ_p v_p(m) log_b p⌋ + 1, a rounded sum over the places, each weighted by its size: by the product formula ⌊log_b m⌋ + 1, m's archimedean size in digits. At base 10, ⌊n/4⌋ costs 2 at the trailing end and 1 at the leading end, and ⌊n/3⌋ is read at no finite lookahead at the trailing end and at 1 at the leading end.

Proof. The trailing price is the least c with m ∣ b^c, by READING: The division criterion on the chain b^t. The leading price is the least-lookahead law at h = m, K = 0 and Δ = m ≤ (b − 1)b^(digits_b(m)).

Open fronts

Which maps do the two ends of an exotic base read? At a quadratic base the ideals part one way (The two ends of a quadratic base), and as at base b [x = y] takes both values on a tile of span j ≥ 1 paired with itself, its differences holding 0 and 1; the scalings are unread there, their cheapest probe the affine class theorem's exhaustive reader on the boxes of base 2i.

At degree 3 the chain law misses hidden pairs, Q² and 2Q at x³ ± x² + x ± 2 at q^J ≤ 128 (The chain law), each one swept read at no depth, and which ideals read at no depth a span hides below index q^j is open. Every miss swept has a unit part, where β is invertible, of order at least 16 (dualmult.py's record): whether a miss needs one not killed by q is open, its probe that sweep run deeper.

Where I is read at some depth (The chain at depth) the converse is unproved at the q neither squarefree nor a prime power (12, 18, …), and at q = l^e, past a factor of degree 2 or x³ + a₀, it rests on the statement of The closure reduction. At a cubic factor at q = l that statement is proved where no depth holds over l gates, and the over-full depths are the front, the lander at l = 2 past exponent 64 first, below which The witness at q = 2^e holds, its fewest closed ⟨h⟩ 1 at Z/32 × Z/16 and 2 on every G of exponent 64 (from the gate classes, which dualrs.py's record derives and its arms read at q = 2, 3, 5 to exponent 27, at l = 3 a depth over-fills only at exponent at least 3⁶ and at l ≥ 5 only with l − 1 landers at one depth: derived, never run): it reopens on an argument that reads where a lander's gate sits, not how many gates a depth holds. At e ≥ 2 no gate count is derived, and the binomial factor's ⟨h⟩ is open off x³ + a₀ already at q = 2 (x³ + 2x + 2): it reopens on a proof that reads how a₁ and a₂ move the terms between cyclic subgroups. At q = 4 and 8 the witness is a rule to exponent 64 and unread past it, its fewest closed ⟨h⟩ 1 on (Z/32)² at q = 4 and at least 2 at exponent 64; past it an arm's instances grow 32-fold below the diagonal (Z/128 × Z/8 at q = 4 about 18 hours at this rate, derived), so the proof is the front.