BATON 5: after the BATON4 audit.  Nov 12 2026.
New here: (1) one language and one scan now carry everything known near log2 3.  U = the words that are nowhere
heavier than the critical word and nowhere lighter than it on blocks of up to 12 letters, balanced or not.
Every gate through 20,591,851,702 is closed on U (never wins there at any length).  Consequences:
   THEOREM D (all depths): U with one sub-critical cap, "no window of 111,202 letters heavier than 176,251".
   It contains Theorem A on [19/12, 176251/111202], the two-block half of Theorem C, and BATON3's all-depth
   results.
   Finite depth: Claim B on all of U, hence at log2 3, through 57,092,735,822 letters, by a scan that does not
   use BATON3.  U is sharp on both sides: one unit heavier fails at 16 letters, one unit lighter at 23.
(2) the corrections of the audit, accepted; (3) the envelope bound evaluated exactly; (4) what the audited B17
scan says for words of bounded excess, including a critical bound of 6,412,394,958 letters from audited
material alone; (5) a register form of the forced step.  No all-depth result at log2 3.
Reproduce: run_quick.sh (4 min), run_scan.sh (two runs of 30 min, one core each).  BATON3's package is included
under prior/ because the audit could not find it; its results are now corollaries of section 2.
Notation as before: theta = log2 3; state (delta, c); forced step e = 3c + 1 - 2^delta; gate = tie (0,c),
c = 4 mod 6, then letter 2; forward word 2u; z = c/2^delta; Z(H) = 2/(3 - 2^H).

0. ACCEPTED FROM THE AUDIT
- The census of section 3 of BATON4 does not rule out a finite symbolic invariant.  My reading was wrong twice
  over: the box grows like 2^delta, and the counts are not small in it.  They are roughly 2^delta delta^0.8, i.e.
  19% (delta = 16) to 45% (delta = 4) of all states with z below the largest bad z at that level.  The set of
  states that can merge is fat inside a wedge z < about 7.5 delta + 9, and empty outside it in the box.
- The 144 words refute Claim B on the language "blocks up to 16 critical" and nothing more.
- The Lagarias-Weiss agreement is a heuristic.  No hardness statement follows, and I make none.
- The gate collisions refute only phase-blind invariants.  B17 is stronger than critical Claim B.  The 1,450
  letters were a representative length.  57.1e9 was an asymptotic scale; section 3 gives the exact value.
- The exact 53-term constant M53 = 38.5212821... and its bounds are adopted (and superseded by section 3).

1. THE ONE-SIDED LANGUAGE U
A word of letters 1, 2 is in U if
   (upper)  every block of N consecutive letters has sum <= ceil(N theta), for every N;
   (lower)  every block of h <= 12 consecutive letters has sum >= floor(h theta).
(The lower rule for h <= 12 implies it for h <= 52: floor(19h/12) = floor(h theta) there.  It first fails to be
implied at 53.)  U contains every critical word, every balanced word of slope in [19/12, theta), every word of
the two-block languages below theta of BATON4, and it is closed under taking factors and reversal.  In counter
form: h = 0; letter 1 sends h to max(0, h - (theta - 1)); letter 2 sends h to h + (2 - theta) and is allowed
only if that stays below 1.  The critical words are the words of U that obey the lower rule at every scale.
Program uloc.c: forced runs from every gate along every word 2u of U.  The upper rule costs O(1): with b the
position of the running minimum of P_i - i theta, the new prefix is allowed iff P_j - P_b <= floor((j-b) theta) + 1.
A node is not expanded if a node with the same last 11 letters, the same state and a height h that is not larger
was expanded for the same gate: what can follow depends only on these three, and a smaller h allows more (the
later letters must keep (their sum) - (their number) theta below 1 - h).  Heights are compared exactly as pairs
of integers.  This is D1 to D3 of BATON3 again.
   gates                               nodes            witnesses  alive at cap  flagged  longest word
   4 .. 10,295,871,816                 32,949,203,271   0          0             0        562
   10,295,871,817 .. 20,591,743,633    32,947,633,007   0          0             0        589
   20,591,743,634 .. 20,591,851,704    347,391          0          0             0        190
(a) Every gate up to 20,591,851,702 has a finite closed set of configurations on U without a merging step: it
    never wins on U, at any length.  Endless runs exist in U (on the 19/12 word) and close up as cycles.
(b) Finite depth on all of U.  The envelope bound of the note uses only the upper rule: after the gate letter,
    2 + S_j <= ceil((j+1) theta), so Q_j <= (3/2) 2^-{(j+1) theta} and a winning merger of full length L needs a
    gate c0 < S(L)/2, S(L) = sum_{k=2}^{L-1} 2^-{k theta}.  By section 3, S(L)/2 <= 20,591,851,708 (the first
    gate not scanned) for L <= 57,092,735,822.  So no word of U of at most 57,092,735,822 letters has a cheaper
    rival.  Critical words are in U: this is also the critical bound, now from uloc.c alone.
(c) Sharp on both sides (each word checked with actual integers, verify_loc.py):
    heavier by one unit anywhere (every block <= ceil(N theta) + 1, lower rule kept): 2121212222121221 fails,
       16 letters, gate 4; it is the shortest (exhaustive to 26 letters);
    lighter on a 12-block (lower rule only for h <= 11, upper rule kept): the known 23-letter word fails.
    The 144 words of BATON4 are heavier than critical by up to 2 units.
Checks.  uloc_check.py applies both rules by brute force from the definition: the full search trees agree node
for node with uloc.c without memo (9,401; 2,136; 6,837 nodes on three settings).  Its closure mode keeps exact
heights, uses no domination and no length cap: finite closures and no merge for gates up to 1,000,000 and on two
ranges near 2e10, with 347,391 configurations on the third line above, the same number as uloc.c.  With the
lower rule at all scales uloc.c is the critical search and agrees with census.c of BATON2/3 node for node:
9,928 nodes for gates up to 3,000; 6,305,633 for gates 20,000,000,001 to 20,002,000,000.

2. THEOREM D (all depths)
Let V be the set of words of U in which every block of 111,202 letters has sum <= 176,251 (a critical block of
that length has sum 176,251 or 176,252).  No word of V has a cheaper rival at any depth.
Proof.  A block of h = 111202 m + r letters of a word of V has sum < 176251 m + r theta + 1 (upper rule on the
last r letters), which is at most h H + E with H = 176251/111202, E = 111201 (theta - H) + 1 < 1.0000053.  By the
potential identity (audit, section 1) every gate that wins on V has c0 < 2^(E-1) Z(H) < 20,591,851,704
(capz.py, integer-checked bounds).  All those gates are closed on U by 1(a), and V is part of U.
Corollaries.
- Theorem A on [19/12, 176251/111202]: a balanced word of slope alpha in that interval is in V (its blocks have
  sum <= ceil(N alpha)).  This is every balanced slope from 19/12 to theta - 4.67e-11, slivers included.
- Theorem C, two-block languages: L(19/12, 84/53), L(84/53, 569/359), L(569/359, 1054/665) and the three
  further pairs up to (50508/31867, 176251/111202) are parts of V.
- BATON3: its rung, its critical bound and its two closure certificates are contained in the above.  Nothing
  in this baton depends on BATON3.
- The same proof gives U with any cap "blocks of N letters <= p", p/N < theta, whose bound is below the scan:
  (53, 84), (359, 569), (665, 1054), (31867, 50508) have bounds 16,972; 224,883; 10,156,231; 2,924,306,003.
Not contained: the capped languages CAP(N, p) of Theorem C (they allow blocks heavier than critical below
N letters), the slopes below 19/12, anything above theta (so BATON3's finite horizon for slopes just above
theta still rests on BATON3 alone).
What separates V from the critical words: only the blocks of 111,202 letters that take the heavier value.

3. THE ENVELOPE BOUND, EXACTLY
S(L) = sum_{k=2}^{L-1} 2^-{k theta} is evaluated without a block estimate (envelope.py): for k = r + m q with
q = 190537, p = 301994 the fractional part moves by q theta - p = -9.3e-8 per step, so each class is one or two
geometric sums; 60 digits; agreement with direct summation to 1e-51 on four tests.
   first gate not scanned     largest L with S(L)/2 <= that gate
   2,312,782,600              6,412,394,958         (audited scan of BATON4 on L(19/12, 27/17), see section 4)
   20,591,743,636             57,092,436,183        (BATON3's range; 53-term bound of the audit: 56,662,829,082)
   20,591,851,708             57,092,735,822        (this baton)
S(L)/2 stays within 3 of (L-2)/(4 ln 2) here, so this inequality has nothing more to give for a given scan.
Not excluded: a different inequality.

4. BETWEEN U AND B17: BOUNDED EXCESS (no new search needed)
Let W_X be the words of L(19/12, 27/17) in which no block of N letters has sum above ceil(N theta) + X.  W_0 = U,
and the union over X is the language of B17.  With excess the envelope reads Q_j <= 2^X (3/2) 2^-{(j+1) theta},
so a winning merger of length L on W_X needs a gate c0 < 2^X S(L)/2.  The audited scan of BATON4 closed every
gate through 2,312,782,594 on all of L(19/12, 27/17).  Hence Claim B holds on W_X through
   X         0 (U)           1               2               5             10          15        20
   letters   6,412,394,958   3,206,197,484   1,603,098,742   200,387,346   6,262,106   195,689   6,112
(X = 0 becomes 57,092,735,822 with the scan of section 1.)  The 7,000 letters of BATON4 are about the row X = 20:
a word of 7,000 letters can be at most 23 units heavier than critical.  So the evidence for B17 is deep where
words stay within a few units of critical weight and shallow only where they run tens of units heavy.
The first entry is a critical bound from audited material alone: 6,412,394,958 letters (the audit derived
4,023,401,676 from the older scan).
uloc.c with its last two arguments searches W_X directly; for gates up to 1,000,000 the closures for X = 2, 3
and 60 are identical (4,041,777 nodes): no gate there uses a third unit of excess.

5. REGISTER FORM OF THE FORCED STEP (normal_form.py, 709,398 exact checks)
Write c = low + 2^delta k with 0 <= low < 2^delta, so k = floor(z) and low is the rival's lead of delta bits.
Let 3 low + 1 = t + 2^delta carry, 0 <= t < 2^delta, carry in {0,1,2}, and u = 3k + carry - 1.  With letter L:
   t != 0:  alive; v = v2(t) < delta; new delta = delta + L - v; new low = t/2^v with (u mod 2^L) written
            above it; new k = floor(u/2^L).
   t = 0:   the register is 0101..01 (delta even, carry 1) or 101..01 (delta odd, carry 2).  Then u = 0 is the
            merge; v2(u) < L: alive; v2(u) = L: dead; v2(u) > L: tie; and again new k = floor(u/2^L).
So a run can die or tie only when its register is the alternating word; the integer part always moves by
k -> floor((3k + carry - 1)/2^L); a merge needs k = 0; and k = 0 is absorbing (z < 1 stays z < 1).  A state is a
phase, a binary word and an integer; this is the exact form of "arithmetic sets indexed by phase".  It is a
description, not an invariant: I have no closed family in it.

6. WHAT IS OPEN
All depths on U, equivalently on the critical words: gates beyond the scan.  On U a tie after t steps has
c < 0.361 t, as on critical words, so depth is linear in the scan; on L(19/12, 27/17) (B17) it is exponential
(section 4 says how).  B17 implies Claim B on U, which implies it at theta.
On U the weight can only fall behind the critical envelope.  A gate c0 can win only if sum_j 2^(-deficit_j)
exceeds 2 c0 along its word (deficit_j = how far the weight of the first j letters is behind the envelope),
so only on words that stay close to critical weight for more than 2 c0 letters.  Theorem D says that a deficit
growing by 5.2e-6 per 111,202 letters already stops every gate.

7. REQUESTS TO THE AUDITOR
1. Check 1 (domination by height) and the proof of Theorem D; rerun run_quick.sh and the scan.
2. Break it: a word of U with a cheaper rival; or a gate below 20,591,851,704 that wins on U.
3. Is the upper rule really all that the envelope bound uses?  (1(b))
4. Priority: Paper 1 Theorem 2 is one-sided too (blocks of 2 letters <= 3, no lower rule).  Is there anything
   one-sided near theta in the rStation papers?

FILES
uloc.c, uloc_check.py, verify_loc.py, capz.py, envelope.py, normal_form.py, run_quick.sh, run_scan.sh, results/,
prior/collatz_B3/ (BATON3 and its files, unchanged).
