READING — what a digit-by-digit reader computes
The object: a numeration, a digit system that writes the points of a complete metric space, the numeration's completion, as digit streams. Its depth-t tiles are the sets of points sharing a t-digit prefix. They nest, their mesh δ_t tends to 0, and their Lebesgue number ℓ_t is the largest ℓ such that every set of diameter below ℓ lies in one tile. A reader of a map f at lookahead c sees the input's tile at depth t + c and commits the output's tile at depth t, and its commitments nest into one output stream. c_min(f, t) is the least lookahead that works at depth t. This page prices readability by the tiles' shape, sorts maps three ways, decides n ↦ mn and n ↦ ⌊n/m⌋ on every divisor chain, and shows which place pays for a wall, a point where the output stops however far the reader reads. The answer to the last is the archimedean place: the absolute digit tiles of every other completion of Q or F_q(x) are balls, on which no Lipschitz self-map of the unit ball walls, and on R's non-redundant interval tiles some map walls until redundancy is paid for. Below, rad(m) is the product of the primes dividing m (over F_q[x], monic irreducibles).
NUMERATION COMPLETES TO TILES WHAT READS
base b, trailing the b-adic ring balls ⌊n/m⌋ iff
rad(m) ∣ rad(b)
divisor chain M_t its profinite ring balls m M_t ∣ M_(t+c),
depth by depth
primorial chain ∏ F_p balls never, from m's
least prime on
base x over F_q[x] F_q[[x]] balls ⌊n/m⌋ iff m = a x^j,
a ≠ 0 constant
base b, leading R intervals y ↦ uy (u > 0) iff
1/u ∈ Z[1/b]
1/x-adic, F_q[x] F_q((1/x)) floating y ↦ uy, every u ≠ 0
d-bonacci, trailing an odometer (d = 2) balls ×2 and ⌊n/m⌋ have
or over a torus no continuous
extension, at
every d
(BONACCI)
The reading lemma
Tier: theorem.
Verifier: proof; reading.py::stage_lemma.
If f is L-Lipschitz, it is read at lookahead c at depth t once L δ_(t+c) < ℓ_t, provided the tiles chosen at successive depths nest, as ball tiles always do, and at tiles that are the closed balls of radius δ_t of an ultrametric once L δ_(t+c) ≤ δ_t; where δ_(t+1) = δ_t/b and the distances are the δ_k, ℓ_t ≥ bδ_t and the fit costs max(0, ⌊log_b L⌋) digits. A partition of a connected space into two tiles or more has ℓ_t = 0, the lemma says nothing, and readability is a question of alignment asked map by map. An overlapping cover, such as the signed-digit one, can have ℓ_t > 0, but a Lebesgue number alone does not make the next commitment a child of the last; DUAL: The redundant reader proves that cover's reader.
Proof. A depth-(t + c) tile has diameter at most δ_(t+c), so its image has diameter at most L δ_(t+c). Below ℓ_t it lies in one depth-t tile. In an ultrametric a set of diameter at most r lies in the closed ball of radius r about any of its points, so at ball tiles diameter δ_t is enough, and with distances the δ_k a diameter below bδ_t is at most δ_t. Where the tiles nest, choosing that tile at each depth gives nested commitments, which is a reader.
Lipschitz walls on absolute tiles are archimedean
Tier: theorem.
Verifier: proof; reading.py::stage_place.
A numeration is non-redundant when it writes each point by one stream, so its tiles partition the space (leading base b drops the streams ending in b − 1 repeated: its tiles are half-open). Call a point y a wall of a map f when the reader that commits at each step only what the input's tile forces commits at y a depth that stays bounded as the input depth grows. On the unit ball of any non-archimedean completion of Q or F_q(x) (Z_p, F_(q^f)[[π]] at a prime π of degree f, the ball of F_q((1/x))), with absolute tiles, fixed in position rather than moved with the point's valuation, the digit tiles are the closed balls of radius δ_t, so every L-Lipschitz self-map of the ball is read at lookahead max(0, ⌊log_g L⌋) at every depth, g the size of the residue field, and there are no walls. On a real interval every non-redundant numeration by interval tiles, finitely or countably many per depth, gives an affine self-map a wall. Redundancy reads past walls: on the signed-digit cover of [−1, 1], whose children overlap so that a reader chooses rather than is forced, every L-Lipschitz self-map is read at lookahead max(0, ⌈log₂ L⌉ + 1), the case b = 2, a = 1 of DUAL: The redundant reader. So with absolute tiles a numeration of a real interval by such tiles must be redundant before it reads every Lipschitz self-map, and the cover's bound is at most two digits past the bound the reading lemma gives Z₂. Q_p, which carries like R, pays nothing.
Proof. The first half is the reading lemma at ball tiles. For walls on R, take a tile endpoint v inside the interval at the first depth that splits it, a point y₀ that is no endpoint at any depth (the endpoints are countable), and f(y) = v + λ(y − y₀) with λ > 0 small enough to map the interval into itself. Every input tile holding y₀ holds it in its interior, so its image holds v in its interior and lies in no tile of v's depth: y₀ is a wall. Connectedness is why ℓ_t = 0: a positive Lebesgue number would make every tile open, and a connected space has no partition into two or more open sets.
The theorem is about absolute tiles. Read with the leading degree or exponent first, as a floating-point reader does, tiles scale with the point (outside the object above: no mesh bound, 0 in no tile), and y ↦ y − 1, which cancels leading digits, reads at no bounded lookahead at any place: at the input 1 + π^N, π a uniformizer, or 1 + 10^(−N) in R, commits no output digit before the input's digit N positions below its lead is read. Scaling escapes this off R. At Q_p read from the valuation up, the first j digits of uy, u a unit, are fixed by the first j of y, multiplication by u being well defined mod p^j; at the 1/x-adic place the leading j digits of uy are fixed by the leading j digits of y for every u ≠ 0, since with no carries a lower term of y reaches only lower terms of uy. Over R the leading base-b reader of y ↦ uy, u > 0, walls unless 1/u ∈ Z[1/b] (the wall criterion; floating tiles have the same endpoints Z[1/b]); at an integer u ≠ 0 on the circle R/Z, a cellular automaton on base-b expansions realizes x ↦ ux exactly when u divides a power of b (Blanchard, Host and Maass, J. Théor. Nombres Bordeaux 8 (1996), 205–214, Corollaire 3.5).
That ×3 is not computable on decimal expansions is classical (M. Schröder, arXiv:2004.09450, Example 2.9, crediting Turing). By hand, at leading base 10, 3 × 0.3…3 (k threes) is 1 − 10^(−k), so y ↦ 3y maps that tile onto [1 − 10^(−k), 1 + 2·10^(−k)), which holds 1 in its interior at every k.
Two other prices of Z, the carries (SIZE: The F₂[x] control) and a bundle's capacity (BINDING: The characteristic cap), belong to the characteristic; this one, the connectedness, to the place.
The wall criterion
Tier: criterion.
Verifier: proof; reading.py::stage_wall.
Take a partition cover of a real interval whose tile endpoints B stay endpoints at every deeper depth, tiles half-open on the right, f continuous and strictly increasing, and y ∉ B. If f(y) ∉ B, the reader at y commits output to unbounded depth. If f(y) ∈ B, an endpoint first at depth e, its emission, the depth committed, freezes at e − 1. So the walls of f are exactly f⁻¹(B) \ B. A decreasing f turns each half-open tile around, so an endpoint can wall too: when B = −B, negation maps a tile [v, v + h) of width h onto (−v − h, −v], meeting the tiles on both sides of the endpoint −v at every depth past −v's own, so it walls at every endpoint v.
Proof. y lies inside its tile at every depth. If f(y) ∉ B, then f(y) lies inside its output tile at every depth, and by continuity a fine enough input tile maps into it. If f(y) ∈ B, every input tile about y maps onto an interval with f(y) in its interior, which no tile of depth e or more holds, and a fine enough one maps into the depth-(e − 1) tile, where f(y) is no endpoint. At y ∈ B an increasing f maps [y, y + h) onto [f(y), f(y + h)), which for small h fits one half-open tile of a given depth, so the endpoints themselves never wall.
At leading base 10, depth t counting the digits after the point (the units digit is depth 0, the tens digit depth −1), B = Z[1/10] and y ↦ uy (u > 0) has walls B/u \ B, empty iff 1/u ∈ Z[1/10]. Conversely, if 1/u = k/10^c, the preimage of a depth-t tile endpoint is an endpoint at depth t + c, so no input tile of that depth maps across one, and lookahead c reads everywhere. So ×2 reads, at c = 1, and ×3 walls at 1/3.
The Lipschitz criterion
Tier: criterion.
Verifier: proof; reading.py::stage_middle.
On a trailing numeration at base b, f is read at lookahead c at every depth iff it is b^c-Lipschitz in the agreement ultrametric dist(y, z) = b^−(agreement depth). It is read at bounded lookahead iff it extends to a Lipschitz self-map of the completion. Continuity is weaker, and it splits the maps into three classes: LIPSCHITZ (bounded lookahead), MIDDLE (a continuous extension to the completion, with a lookahead finite at every depth and unbounded) and DISCONTINUOUS (no continuous extension: no lookahead at some depth). In the value metric the integers are discrete and continuity says nothing; in the agreement one they are dense, and a continuous extension asks uniform continuity on them. MIDDLE is inhabited: the decimation D(n) = Σ_(j≥0) n_(2j) 2^j at base 2, n_j the digit of n at position j, has c_min(D, t) = t − 1 exactly.
Proof. "Agreement to depth t + c forces image agreement to depth t" is dist(fy, fz) ≤ b^c dist(y, z), and a Lipschitz map on a dense subset of a complete space extends to it with the same constant. On a completion with finitely many tiles per depth, which is compact, continuity gives a modulus: image agreement to t from input agreement to s(t). Conversely a lookahead finite at every depth is such a modulus on the dense subset, so f is uniformly continuous there and extends continuously to the completion. Nothing forces s(t) ≤ t + c. D's output digits 0..t − 1 are input digits 0, 2, …, 2t − 2, so depth 2t − 1 suffices and depth 2t − 2 does not.
Known at c = 0: the maps of Z_p a synchronous automaton computes, its states finite or not, are the 1-Lipschitz ones (V. Anashin, arXiv:1112.5096, Theorem 2.1). Related: for rational word functions Choffrut's theorem (1977) makes co-sequential the same as Lipschitz for the suffix distance (Frougny–Sakarovitch, Combinatorics, Automata and Number Theory, 2010, Thm 2.6.13); that distance counts unmatched letters, not agreement depth.
The division criterion
Tier: criterion.
Verifier: proof; reading.py::stage_chain, reading.py::stage_classes.
Let a trailing numeration's depth-t tiles be the classes n mod M_t of a divisor chain M_1 ∣ M_2 ∣ ⋯. Multiplication by m reads at c = 0, since it keeps every agreement mod M_t. At a depth t with M_t ≥ 2, ⌊n/m⌋ is read at lookahead c iff m M_t ∣ M_(t+c).
Proof. If m M_t ∣ M_(t+c), n mod m is fixed by n mod M_(t+c), so inputs agreeing there have quotients differing by a multiple of M_(t+c)/m, which M_t divides. Conversely, inputs agreeing at depth t + c differ by a multiple of M = M_(t+c), so the one-step pairs (n, n + M) decide, by r = n mod m. As r runs over 0..m − 1 the difference ⌊(r + M)/m⌋ − ⌊r/m⌋ takes the value ⌊M/m⌋ and, when m ∤ M, also ⌊M/m⌋ + 1. Two consecutive integers are not both divisible by M_t ≥ 2, so m ∣ M is forced, and M_t ∣ M/m is m M_t ∣ M.
Three chains. At base b the condition is m ∣ b^c, and it holds at a bounded c at every depth iff rad(m) ∣ rad(b). At the factorial chain M_t = (t + 1)! it holds at every depth, at the least c with m ∣ (t + 2)⋯(t + c + 1), a lookahead that moves with the depth but never passes m, since m consecutive integers have a product divisible by m!: every floor division is LIPSCHITZ there. At the primorial chain M_t = p_t#, the product of the first t primes p_1, …, p_t, the condition m p_t# ∣ p_(t+c)# holds iff m is squarefree with every prime in (p_t, p_(t+c)], so every m ≥ 2 fails at every depth from its least prime's index on. On the primorial completion, ∏ F_p (TOWER), every ⌊n/m⌋ with m ≥ 2 is DISCONTINUOUS (the trichotomy below carries the classes to a chain).
The division trichotomy
Tier: theorem.
Verifier: proof; reading.py::stage_classes.
On a divisor chain, ⌊n/m⌋ is LIPSCHITZ iff the least c with m M_t ∣ M_(t+c) is bounded over t, MIDDLE iff it is finite at every t and unbounded, and DISCONTINUOUS iff some depth has none. All three occur on one chain. At a fixed base the least c is constant in t, so that ⌊n/m⌋ never falls in MIDDLE is a fact about chains, not rings: the chain below completes to Z₂ × Z₃, base 6's ring, where ⌊n/2⌋ reads at c = 1.
Proof. The division criterion, depth by depth, with the three classes of the Lipschitz criterion, whose compactness argument holds on the completion of any divisor chain, finitely many tiles per depth. For the example, take radix 2 at the depths that are powers of two and radix 3 elsewhere. Then M_(t+c)/M_t is the product of the radices at depths t + 1..t + c. For m = 2 the least c reaches the next power of two, c = 2^(⌊log₂ t⌋ + 1) − t, finite and unbounded. For m = 3 it is 1, or 2 where t + 1 is a power of two, since t + 2 then is not. For m = 5 it never exists.
Division over F_q[x]
Tier: criterion.
Verifier: proof; reading.py::stage_poly.
The same statement holds with polynomial division, for a chain with deg M_1 ≥ 1, where the integer proof takes M_t ≥ 2: ⌊n/m⌋, the quotient of n by m, is read at lookahead c at depth t iff m M_t ∣ M_(t+c). At base x it is read at bounded lookahead iff m is a constant times a power of x. The sufficiency proof transfers, the remainder, of degree below deg m, being fixed by n mod m. The necessity proof over Z does not transfer; linearity replaces it. Division by m is F_q-linear, so with M = M_(t+c) the condition is that ⌊kM/m⌋ ∈ (M_t) for every polynomial k. If m ∤ M, write M = hm + s with s ≠ 0 of degree below deg m, and take k = x^(deg m − deg s): then ks has degree deg m, and ⌊kM/m⌋ = kh + a for a nonzero constant a. With h ∈ (M_t), from k = 1, a would lie in (M_t), which has no nonzero constants. So m ∣ M, the quotient of kM is kM/m, and k = 1 asks M_t ∣ M/m. So the criterion and its fixed-base form rad(m) ∣ rad(base) read the same over Z and F_q[x].