==============================================================================
Paper III computational sanity checks
==============================================================================

Base presentation c = (2, 1, 3) (order 3)
H[1..19] = [1, 3, 8, 22, 61, 168, 463, 1277, 3521, 9708, 26768, 73807, 203506, 561123, 1547173, 4265987, 11762516, 32432538, 89425553]

e[1..18] = [2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2]
Least period visible in e: ell = 3, P = (2, 1, 2)
Arithmetic period check against c1...c_(L-1)(c_L-1)             [PASS]

Direct maximal-word check (raw legality enumeration):
  m           max legal word              prefix of e    equal
  1                     (2,)                     (2,)     True
  2                   (2, 1)                   (2, 1)     True
  3                (2, 1, 2)                (2, 1, 2)     True
  4             (2, 1, 2, 2)             (2, 1, 2, 2)     True
  5          (2, 1, 2, 2, 1)          (2, 1, 2, 2, 1)     True
  6       (2, 1, 2, 2, 1, 2)       (2, 1, 2, 2, 1, 2)     True
Theorem 3.3 finite maximal-boundary checks                          [PASS]

Theorem 3.7 / Corollary 5.1(4): reconstructed reduction = (2, 1, 3) [PASS]

Lower-order candidate check:
  order 1: forced candidate (3,) first differs at H[3] (9 != 8)             [PASS]
  order 2: forced candidate (2, 2) first differs at H[5] (60 != 61)             [PASS]

Theorems 3.4 / 3.7: place-value invariance for several lifts:
  order  6: d = P^1.c                         [PASS]
  order  9: d = P^2.c                         [PASS]
  order 12: d = P^3.c                         [PASS]
  order 15: d = P^4.c                         [PASS]

Section 4.1: raw-rule / simplified-rule agreement through width 6:
  raw zero-padding rule == simplified legal-suffix rule             [PASS]

Language invariance through width 6 (raw recursive rule):
  m   |L(c)|   H[m+1]     ord6     ord9    ord12    ord15
  0        1        1     True     True     True     True
  1        3        3     True     True     True     True
  2        8        8     True     True     True     True
  3       22       22     True     True     True     True
  4       61       61     True     True     True     True
  5      168      168     True     True     True     True
  6      463      463     True     True     True     True
Theorems 4.6 / 4.7 finite language checks for all four lifts        [PASS]

Example word (2, 1, 2) is legal under c and the order-6 lift:
  under c: breakpoint at s=3 with deficient digit 2 < 3;
  under d: the same word is a proper prefix of d.
Different recursive descriptions, same accepted word                [PASS]

==============================================================================
ALL CHECKS PASSED
==============================================================================
