Supplementary Verification Code for Reversible Digit-Shell Grammars for Products of Exponential Numeration Families

Published: 12 October 2026| Version 1 | DOI: 10.17632/b8wjn62k6r.1
Contributor:

Description

This research software accompanies the paper "Reversible Digit-Shell Grammars for Products of Exponential Numeration Families: Deterministic One-Counter Recognition in Positional Arithmetic" by Vicenzo P DeMaar. The Python implementation constructs deterministic one-pass, one-turn, one-counter recognizers for stable product languages of the admissible families A_j = (b^j - a_1)/c_1 and B_s = (b^s - a_2)/c_2. It checks reversible shell identities, stabilized normal forms, scan-direction certificates, recognition against arithmetic oracles, and product collisions. A separate entry point recognizes the complete repunit product language for j, s >= 1 in every base b >= 3, reading digits least significant first. The general family compiler uses its computed stability threshold; for repunits that threshold is J = 2. The supplement also contains exact-arithmetic checks of the valuation bounds and pumping construction in the nonregularity proof, plus regression tests for streaming behavior, empty cores, counter exhaustion, malformed inputs, and the complete repunit language. These are reproducible finite computational checks; the manuscript supplies the proofs of the universal statements.

Files

Steps to reproduce

Download all supplementary files into the same directory. Detailed requirements, commands, expected results, and comparison rules are provided in REPRODUCE.txt.

Categories

Mathematics

Licence