open-coding-information-combinatorics
Leading-Constant-Optimal Non-Asymptotic Upper Bounds for $q$-ary Single-Deletion Single-Substitution Codes
Establishes the exact path isometry $D_1(x) \cong P_r$ and closed-form $|B_{1,1}(x)|$, lifts hypergraph LP duality via a tight $r(y)-2$ shifted dual weight, eliminates the $q \le n$ restriction of Smagloy et al. (IEEE TIT 2023), achieves the exact sphere-packing leading constant $\frac{q^n}{(q-1)^2 n^2}$ (1.5×–3× improvement), strictly improves on Smagloy et al. for EVERY $q \ge 2, n \ge 6$, cuts DNA ($q=4$) strictly in half for every $n \ge 6$, and pairs with a self-contained GV two-sided sandwich.
Contribution status
Claim-by-claim literature review not yet recorded. Lean verification, where shown, applies to the exact formal statements. External publication status is not recorded.
How results are classifiedProves a leading-constant-optimal non-asymptotic upper bound for $q$-ary single-deletion single-substitution correcting codes $DS_{1,q}(n)$ via an exact Hamming path isometry $D_1(x) \cong P_r$, closed-form $|B_{1,1}(x)|$, and a tight shifted hypergraph LP dual weight $w(y)$ ($r(y)-2$): eliminates the $q \le n$ restriction of Smagloy–Welter–Wachter-Zeh–Yaakobi (IEEE Trans. Inform. Theory 2023), achieves the exact sphere-packing leading constant $\frac{q^n}{(q-1)^2 n^2}$ (improving Smagloy et al. by $\frac{3(q-1)}{q} \in [1.5, 3)$), strictly improves on Smagloy et al. for EVERY $q \ge 2, n \ge 6$, cuts DNA ($q = 4$) strictly in HALF for every $n \ge 6$, breaks $\frac{5}{4}\cdot\frac{2^n}{n^2}$ for binary $n \ge 43$, and pairs with a self-contained GV two-sided sandwich (48 theorems, 2,402 lines, 0 warnings, 26/26 clean axioms).
- I. Smagloy, L. Welter, A. Wachter-Zeh & E. Yaakobi (2023, IEEE Trans. Inform. Theory 69(12):7659–7671): Established the best previously known non-asymptotic bound $DS_{1,q}(n) \le \frac{3q^{n-1}}{(q-1)(n-5)(n-3)} + 5q$ for $q \le n, n \ge 6$, with leading constant $\frac{3}{q(q-1)}\frac{q^n}{n^2}$.
- Ankur A. Kulkarni & Negar Kiyavash (2013, IEEE Trans. Inform. Theory 59(8):5115–5130): Introduced fractional hypergraph-matching duality for pure deletion codes; our work lifts it to the hybrid $B_{1,1}(x)$ ball hypergraph.
DelSubUpperBound.lean, 2,402 lines, 48 verified theorems, 0 warnings, 26/26 clean axioms) proving hammingDist_deleteAt_orderEmb, card_delSubBall, dsDualWeight_feasible, qary_delSub_upper_bound, qary_delSub_beats_smagloy_all, dna_delSub_beats_half_smagloy, binary_delSub_lt_five_fourths, dsUpperBound_asymptotic_sphere_packing, smagloy_to_dsUpperBound_ratio_tendsto, and qary_delSub_two_sided_sandwich.⊢ Mathematical Constructions & Proof Explorer
Select any definition, structure, or theorem on the left to inspect its formal statement, proof dependencies, and isolated Lean 4 code.
Mathematical Overview & Verification Notes
Lean 4 Formalization: DelSubUpperBound.lean (2,402 lines, 48 verified theorems & lemmas, 0 warnings, 0 hints, 0 forbidden tokens, 26/26 #print axioms clean — depending solely on [propext, Classical.choice, Quot.sound]).
1. Breakthrough Summary
Let $DS_{1,q}(n)$ denote the maximum cardinality of a $q$-ary code $C \subseteq (\mathrm{Fin}\,q)^n$ capable of correcting a single deletion and at most one substitution — equivalently, a packing of pairwise disjoint single-deletion single-substitution balls
where $D_1(x)$ is the single-deletion ball of $x$ and $H_1(z)$ is the Hamming ball of radius $1$ around $z$.
The published non-asymptotic world record is Smagloy, Welter, Wachter-Zeh, and Yaakobi (IEEE Trans. Inform. Theory 69(12):7659–7671, Dec. 2023; arXiv:2005.09352, Theorem 4):
whose asymptotic leading term is $\dfrac{3}{q(q - 1)} \cdot \dfrac{q^n}{n^2}$.
In DelSubUpperBound.lean, we formally prove from first principles a new hypergraph-duality non-asymptotic upper bound that:
- Eliminates the $q \le n$ restriction and holds universally for every $q \ge 2$ and every $n \ge 4$;
- Achieves the exact sphere-packing leading constant $\dfrac{1}{(q - 1)^2} \cdot \dfrac{q^n}{n^2}$ (improving Smagloy et al.'s leading constant by the exact factor $\dfrac{3(q - 1)}{q} \in \bigl[\tfrac{3}{2}, 3\bigr)$ — i.e., $1.5\times$ for binary, $2\times$ for ternary, $2.25\times$ for DNA ($q = 4$), and approaching $3\times$ as $q \to \infty$);
- Strictly beats Smagloy et al. Theorem 4 for EVERY $q \ge 2$ and EVERY $n \ge 6$ with zero exceptions;
- Cuts the DNA storage ($q = 4$) bound strictly below HALF of Smagloy et al. for EVERY $n \ge 6$;
- Breaks the binary $\frac{5}{4} \cdot \frac{2^n}{n^2}$ barrier for all $n \ge 43$ (whereas Smagloy et al. exceeds $\frac{3}{2} \cdot \frac{2^n}{n^2}$ for all $n \ge 6$).
2. Main Formalized Theorems
2.1 Deletion-Ball Hamming Path Isometry & Exact $|B_{1,1}(x)|$
hammingDist_deleteAt_orderEmb(DelSubUpperBound.lean#L259): Indexing the $r = r(x)$ run-start positions of $x \in (\mathrm{Fin}\,q)^{m+1}$ in strictly increasing order $s_0 < s_1 < \dots < s_{r-1}$, the single-deletion words $d_k = \mathrm{deleteAt}(x, s_k)$ form an exact isometric copy of the path graph $P_r$ under Hamming distance:$$d_H(d_k, d_\ell) \;=\; \ell - k \qquad (\forall\, k \le \ell).$$card_delSubBall(DelSubUpperBound.lean#L692): By exact incremental inclusion-exclusion along the path $P_r$ (using $|H_1(u) \cap H_1(v)| = q$ when $d_H(u, v) = 1$, $|(H_1(u) \cap H_1(w)) \setminus H_1(v)| = 1$ when $d_H(u, w) = 2$ and $d_H(u, v) = d_H(v, w) = 1$, and $H_1(u) \cap H_1(v) = \emptyset$ when $d_H(u, v) \ge 3$), for every $q \ge 2$, $n \ge 3$, and $x \in (\mathrm{Fin}\,q)^n$:$$|B_{1,1}(x)| \;=\; \begin{cases} (q - 1)(n - 1) + 1 & \text{if } r(x) = 1, \\ r(x)\bigl((q - 1)(n - 2) - 1\bigr) + (q + 2) & \text{if } r(x) \ge 2. \end{cases}$$
2.2 Universal Shifted Piecewise Dual Weight
runCount_le_add_two_of_mem_delSubBall(DelSubUpperBound.lean#L962): Every $y \in B_{1,1}(x)$ satisfies $r(y) \le r(x) + 2$ (deleting a symbol never increases run count; one substitution increases it by at most $2$).dsDualWeight_feasible&delSubCode_card_le_dsDualWeight_sum(DelSubUpperBound.lean#L990-L1052): Defining on $(\mathrm{Fin}\,q)^{n-1}$ the shifted weight$$w(y) \;:=\; \begin{cases} \dfrac{1}{(q - 1)(n - 1) + 1} & \text{if } r(y) \le 3, \\[10pt] \dfrac{1}{\bigl((q - 1)(n - 2) - 1\bigr)(r(y) - 2) + (q + 2)} & \text{if } r(y) \ge 4, \end{cases}$$
we have $w(y) \ge 0$ and $\sum_{y \in B_{1,1}(x)} w(y) \ge 1$ for every $x \in (\mathrm{Fin}\,q)^n$ ($q \ge 2, n \ge 4$), yielding the exact fractional packing bound$$|C| \;\le\; \sum_{y \in (\mathrm{Fin}\,q)^{n-1}} w(y).$$
(Note: the shift $-2$ is tight — unshifted $r(y)$ and shift $-1$ both fail feasibility on long-run balanced words such as $0^k 1^k$.)
2.3 Leading-Constant-Optimal Closed-Form Upper Bound
qary_delSub_upper_bound(DelSubUpperBound.lean#L1563): Using exact run-count enumeration $|\{y \in (\mathrm{Fin}\,q)^{n-1} : r(y) = r\}| = q(q-1)^{r-1}\binom{n-2}{r-1}$ (card_words_with_runCount), the elementary rational inequality $\frac{1}{r - 2} \le \frac{1}{r} + \frac{2}{r(r+1)} + \frac{18}{r(r+1)(r+2)}$ for all $r \ge 4$ (inv_sub_two_le), and three exact rising-factorial binomial identities, for every $q \ge 2$, every $n \ge 4$, and every $C \subseteq (\mathrm{Fin}\,q)^n$:$$|C| \;\le\; \mathrm{dsUpperBound}(q, n) \;:=\; \frac{q^n}{(q - 1)\bigl((q - 1)(n - 2) - 1\bigr)(n - 1)}\!\left(1 + \frac{2q}{(q - 1)n} + \frac{18q^2}{(q - 1)^2 n(n + 1)}\right) + \frac{q\bigl((q - 1)(n - 2) + 2\bigr)}{2}.$$
2.4 Universal Strict Dominance over Smagloy et al. (2023), DNA & Binary Records, and Exact Asymptotics
dsUpperBound_lt_smagloyBound&qary_delSub_beats_smagloy_all(DelSubUpperBound.lean#L1782-L1822): For every $q \ge 2$ and every $n \ge 6$,$$|C| \;\le\; \mathrm{dsUpperBound}(q, n) \;<\; \mathrm{smagloyBound}(q, n) \;=\; \frac{3q^{n-1}}{(q - 1)(n - 5)(n - 3)} + 5q.$$dna_dsUpperBound_lt_half_smagloy&dna_delSub_beats_half_smagloy(DelSubUpperBound.lean#L1824-L1949): For DNA storage ($q = 4$) and every $n \ge 6$,$$|C| \;\le\; \mathrm{dsUpperBound}(4, n) \;<\; \frac{1}{2}\,\mathrm{smagloyBound}(4, n).$$binary_delSub_lt_five_fourths(DelSubUpperBound.lean#L1968): For binary ($q = 2$) and every $n \ge 43$,$$|C| \;<\; \frac{5}{4} \cdot \frac{2^n}{n^2}.$$dsUpperBound_asymptotic_sphere_packing&smagloy_to_dsUpperBound_ratio_tendsto(DelSubUpperBound.lean#L2037-L2208): For every $q \ge 2$,$$\lim_{n \to \infty} \frac{\mathrm{dsUpperBound}(q, n)}{q^n / \bigl((q - 1)^2 n^2\bigr)} \;=\; 1, \qquad \lim_{n \to \infty} \frac{\mathrm{smagloyBound}(q, n)}{\mathrm{dsUpperBound}(q, n)} \;=\; \frac{3(q - 1)}{q}.$$exists_delSubCode_gv&qary_delSub_two_sided_sandwich(DelSubUpperBound.lean#L2306-L2374): Self-contained Gilbert–Varshamov lower bound and full two-sided non-asymptotic sandwich for all $q \ge 2, n \ge 4$:$$\frac{q^n}{\mathrm{gvConflictBound}(q, n)} \;\le\; \max |C| \;\le\; \mathrm{dsUpperBound}(q, n).$$
3. Numerical Comparison vs. Smagloy et al. (2023)
Here exact_dual is the exact verified fractional dual sum $\sum_{y} w(y)$ from delSubCode_card_le_dsDualWeight_sum, dsUpperBound is our verified closed-form bound from qary_delSub_upper_bound, smagloy is Theorem 4 of Smagloy et al. (2023), and $\mathrm{SP}(q, n) = \frac{q^n}{(q-1)^2 n^2}$.
Binary ($q = 2$, asymptotic improvement factor $\to 1.50\times$)
| $n$ | exact_dual | dsUpperBound | smagloy | smagloy / dsUpperBound | smagloy / exact_dual | dsUpperBound / SP |
|---|---|---|---|---|---|---|
| 6 | 4.621 | 20.43 | 42.00 | 2.06× | 9.09× | 11.489 |
| 8 | 10.51 | 26.29 | 35.60 | 1.35× | 3.39× | 6.571 |
| 10 | 24.54 | 43.39 | 53.89 | 1.24× | 2.20× | 4.238 |
| 16 | 450.0 | 525.1 | 697.4 | 1.33× | 1.55× | 2.051 |
| 20 | 4,068 | 4,472 | 6,178 | 1.38× | 1.52× | 1.706 |
| 50 | $5.314 \times 10^{11}$ | $5.418 \times 10^{11}$ | $7.985 \times 10^{11}$ | 1.47× | 1.50× | 1.203 |
| 100 | $1.375 \times 10^{26}$ | $1.382 \times 10^{26}$ | $2.063 \times 10^{26}$ | 1.49× | 1.50× | 1.090 |
Ternary ($q = 3$, asymptotic improvement factor $\to 2.00\times$)
| $n$ | exact_dual | dsUpperBound | smagloy | smagloy / dsUpperBound | smagloy / exact_dual | dsUpperBound / SP |
|---|---|---|---|---|---|---|
| 6 | 15.90 | 40.66 | 136.5 | 3.36× | 8.59× | 8.032 |
| 10 | 315.2 | 391.8 | 858.6 | 2.19× | 2.72× | 2.654 |
| 20 | $3.091 \times 10^6$ | $3.268 \times 10^6$ | $6.837 \times 10^6$ | 2.09× | 2.21× | 1.499 |
| 50 | $8.206 \times 10^{19}$ | $8.296 \times 10^{19}$ | $1.697 \times 10^{20}$ | 2.05× | 2.07× | 1.156 |
| 100 | $1.376 \times 10^{43}$ | $1.380 \times 10^{43}$ | $2.796 \times 10^{43}$ | 2.03× | 2.03× | 1.071 |
DNA Storage ($q = 4$, strictly $< \frac{1}{2}$ Smagloy for ALL $n \ge 6$; asymptotic factor $\to 2.25\times$)
| $n$ | exact_dual | dsUpperBound | smagloy | smagloy / dsUpperBound | smagloy / exact_dual | dsUpperBound / SP |
|---|---|---|---|---|---|---|
| 6 | 40.49 | 82.77 | 361.3 | 4.37× | 8.92× | 6.547 |
| 8 | 278.1 | 366.4 | 1,112 | 3.04× | 4.00× | 3.220 |
| 10 | 2,332 | 2,682 | 7,510 | 2.80× | 3.22× | 2.302 |
| 16 | $2.805 \times 10^6$ | $2.990 \times 10^6$ | $7.509 \times 10^6$ | 2.51× | 2.68× | 1.604 |
| 20 | $4.210 \times 10^8$ | $4.402 \times 10^8$ | $1.078 \times 10^9$ | 2.45× | 2.56× | 1.441 |
| 50 | $6.372 \times 10^{25}$ | $6.428 \times 10^{25}$ | $1.498 \times 10^{26}$ | 2.33× | 2.35× | 1.141 |
| 100 | $1.897 \times 10^{55}$ | $1.902 \times 10^{55}$ | $4.360 \times 10^{55}$ | 2.29× | 2.30× | 1.065 |
4. Section Index of DelSubUpperBound.lean
| Section | Lines | Contents |
|---|---|---|
| Section 1: Core Definitions & Hypergraph Packing Duality | L49-L133 | Word, deleteAt, delBall, hammingDist, hammingBall1, delSubBall, IsDelSubCode, boundarySet, runCount, delSubCode_card_le_dual_sum |
| Section 2: Path Isometry & Exact $|B_{1,1}(x)|$ | L135-L848 | delBall_eq_image_runStarts, hammingDist_deleteAt_orderEmb, card_hammingBall1, card_inter_hammingBall1_dist_one, card_inter_hammingBall1_dist_two_sdiff_mid, disjoint_hammingBall1_of_dist_ge_three, card_delSubBall |
| Section 3: Run-Count Shift & Shifted Dual Feasibility | L850-L1052 | runCount_deleteAt_le, runCount_le_add_two_of_hammingDist_le_one, runCount_le_add_two_of_mem_delSubBall, dsDualWeight, dsDualWeight_nonneg, dsDualWeight_feasible, delSubCode_card_le_dsDualWeight_sum |
| Section 4: Run-Count Enumeration & Closed-Form Bound | L1054-L1571 | card_words_with_boundarySet, card_words_with_runCount, inv_sub_two_le, sum_binom_div_r_le, sum_binom_div_r_r1_le, sum_binom_div_r_r1_r2_le, dsUpperBound, dsDualWeight_sum_le_dsUpperBound, qary_delSub_upper_bound |
| Section 5: Dominance over Smagloy et al. & Asymptotics | L1573-L2209 | smagloyBound, dsUpperBound_lt_smagloyBound, qary_delSub_beats_smagloy_all, dna_dsUpperBound_lt_half_smagloy, dna_delSub_beats_half_smagloy, binary_delSub_lt_five_fourths, dsUpperBound_asymptotic_sphere_packing, smagloy_to_dsUpperBound_ratio_tendsto |
| Section 6: GV Lower Bound, Two-Sided Sandwich & Axiom Audit | L2211-L2402 | card_insBall_le, card_invDelSubBall_le, gvConflictBound, card_conflict_le, exists_delSubCode_gv, qary_delSub_two_sided_sandwich, 26 #print axioms commands |
5. Verification & Axiom Audit
Compiled cleanly against the shared Mathlib cache in /Users/arthurcolle/math_rip/new-results/collatz-coalescence:
cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence && \
lake env lean /Users/arthurcolle/math_rip/new-results/open-coding-information-combinatorics/DelSubUpperBound.lean
Result: Exit code 0, 0 errors, 0 warnings, 0 hints, 0 forbidden tokens, and verbatim #print axioms output across all 26 headline theorems:
'DelSubUpperBound.delSubCode_card_le_dual_sum' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.hammingDist_deleteAt_orderEmb' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.card_hammingBall1' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.card_inter_hammingBall1_dist_one' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.card_inter_hammingBall1_dist_two_sdiff_mid' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.card_delSubBall' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.runCount_deleteAt_le' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.runCount_le_add_two_of_hammingDist_le_one' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.runCount_le_add_two_of_mem_delSubBall' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.dsDualWeight_nonneg' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.dsDualWeight_feasible' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.delSubCode_card_le_dsDualWeight_sum' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.card_words_with_boundarySet' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.card_words_with_runCount' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.inv_sub_two_le' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.dsDualWeight_sum_le_dsUpperBound' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.qary_delSub_upper_bound' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.dsUpperBound_lt_smagloyBound' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.qary_delSub_beats_smagloy_all' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.dna_dsUpperBound_lt_half_smagloy' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.dna_delSub_beats_half_smagloy' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.binary_delSub_lt_five_fourths' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.dsUpperBound_asymptotic_sphere_packing' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.smagloy_to_dsUpperBound_ratio_tendsto' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.exists_delSubCode_gv' depends on axioms: [propext, Classical.choice, Quot.sound]
'DelSubUpperBound.qary_delSub_two_sided_sandwich' depends on axioms: [propext, Classical.choice, Quot.sound]
6. Mandatory Novelty-Check Receipt
Literature Survey (arXiv, IEEE Xplore, Google Scholar)
- Smagloy, I., Welter, L., Wachter-Zeh, A., & Yaakobi, E. (2023). Single-Deletion Single-Substitution Correcting Codes. IEEE Transactions on Information Theory, 69(12), 7659–7671 (originally
arXiv:2005.09352, ISIT 2020).- Exact prior art: Proves the non-asymptotic upper bound $DS_{1,q}(n) \le \frac{3q^{n-1}}{(q-1)(n-5)(n-3)} + 5q$ for $q \le n, n \ge 6$ (Theorem 4) via a typical-run-count threshold argument, giving asymptotic leading constant $\frac{3}{q(q-1)} \cdot \frac{q^n}{n^2}$. Also gives explicit $O(\log n)$-redundancy constructions (approx. $6\log_2 n$ binary, improved in subsequent papers).
- Our strictly stronger result: Replaces the threshold cutoff with a continuous shifted hypergraph-LP dual weight $w(y)$ built directly from our exact formula for $|B_{1,1}(x)|$, eliminating the $q \le n$ hypothesis, reducing the leading constant by the exact factor $\frac{3(q-1)}{q} \in [1.5, 3)$ to the sphere-packing optimum $\frac{1}{(q-1)^2} \cdot \frac{q^n}{n^2}$, strictly beating Theorem 4 for every $q \ge 2, n \ge 6$, and strictly halving it for DNA ($q = 4$) across every $n \ge 6$.
- Ribeiro, J., et al. (
arXiv:2112.09971); Song, W., Cai, K., & Nguyen, T. T. (arXiv:2201.02013); Song, W., Cai, K., & Quek, T. Q. S. (arXiv:2601.07547): Focus on explicit code constructions, redundancy improvements, and list-decoding for single-deletion single-substitution errors — not non-asymptotic cardinality upper bounds. - Li, S., Sun, Z., & Ge, G. (
arXiv:2501.03833,arXiv:2505.04944,arXiv:2604.25294): Study ball-intersection sizes and sequence reconstruction under combined deletion/substitution channels, not non-asymptotic upper bounds on $DS_{1,q}(n)$. - Kulkarni, A. A., & Kiyavash, N. (2013). Nonasymptotic Upper Bounds for Deletion Correcting Codes. IEEE Trans. Inform. Theory 59(8):5115–5130. Introduces fractional hypergraph-matching duality for pure deletion codes ($s = 0$); our work lifts the fractional dual method to the hybrid deletion-substitution hypergraph $B_{1,1}(x)$ via the path isometry $D_1(x) \cong P_r$ and the tight run-count shift $r(y) - 2$.
Computational Pre-Verification (Python)
- Exhaustively verified
card_delSubBallacross all $q^n$ words for $q = 2$ ($n = 3..8$), $q = 3$ ($n = 3..6$), and $q = 4$ ($n = 3..5$). - Exhaustively verified
dsDualWeight_feasibleacross all words for $q = 2$ ($n = 6..9$), $q = 3$ ($n = 5..6$), $q = 4$ ($n = 5$) and confirmed that unshifted ($s = 0$) and shift-1 ($s = 1$) weights fail on balanced long-run words ($0^k 1^k$), confirming shift $s = 2$ is minimal. - Symbolically and numerically verified all polynomial positivity decompositions for universal dominance (
q ≥ 2, n ≥ 6), DNA half-Smagloy (q = 4, n ≥ 6), and binary< (5/4) * 2^n / n^2(q = 2, n ≥ 43).