Skip to content

Fuse dyadic scale and carry streams in reached BIT routes - #4000

Merged
Mister-Meeseeks merged 3 commits into
CrocSwap:mainfrom
tekuuu:research/round77-bit-priorities
Oct 20, 2026
Merged

Mister-Meeseeks merged 3 commits into
CrocSwap:mainfrom
tekuuu:research/round77-bit-priorities

Conversation

@tekuuu

@tekuuu tekuuu commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

PR2915 executes a dyadic scale and its adjacent carry as separate complete field passes. This opt-in two-pass affine kernel joins those passes while preserving complete spectator blocks, borrowed sources, distinct output ownership, dirty leases and every native B1 call. It compares against PR3343's already improved direct-carry adapter and leaves standalone scales unchanged.

The 486-bit A=4,c=-4 kernel costs 163,764 → 55,881 tape operations (65.9% less). A complete ×4 reference route costs 344,457 → 174,573 (49.3% less). The written identity covers A∈{2,4}, |c|≤4, odd Q≥3 and inverse maps, with complete O(BQS+I) local accounting, at most 17 free scratch roles, zero numerical words and an unchanged recursive-child recurrence. Component measurements do not imply a multiplication-runtime or κ improvement.

Validation includes 504 exact before/after kernel pairs (37,044 independent columns), six complete route pairs, all 1,123 selected chart types at the explicitly scoped q=3 identity-low specialization, 16,308 independent fragment cases, 1,152 residue identities and behavioral/source/cost/inventory controls. Raw tiny c=0 regressions are retained; the adapter preserves standalone scaling. Three alternating fresh-process pairs record timing separately from deterministic certificates.

Reproduce with standard-library Python 3.12:

python3.12 -B scripts/research_package.py --package research/dyadic-affine-streams

Expected: all four PASS_DYADIC_AFFINE_* checks and PASS_REGISTERED_RESEARCH_PACKAGE. Exact receipts, source pins, proof, validation and open questions are in research/dyadic-affine-streams/. Base: 20ecf2891d80b5acf18d980b2164fb44ea7faa90, priority revision 6; assignment seed 1. Complete enclosing stock/backing, universal native refinement, selected GL64 payload execution and supplier admission remain separate obligations.

Credit Jose Manuel/jmbarrancoml for the reached compiler, scaling and native/caller implementation; David Arias for the physical caller; Nick Petalas and Arham Tahir for local cost/countdown work; and the retained PR2157/PR589/PR555 and downstream source lineage. Tekalign/tekuuu, with substantial OpenAI Codex assistance in mathematics, implementation, source analysis, testing and writing. Apache-2.0; frozen predecessors, upstream and the selected frontier are unchanged.

@Mister-Meeseeks
Mister-Meeseeks merged commit 93d5762 into CrocSwap:main Oct 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants