Skip to content

Remove the full native matrix bank and reduce complete multiplier storage over 3,500-fold - #7981

Open
aliromman wants to merge 2 commits into
CrocSwap:mainfrom
aliromman:codex/triangular-native-supplier
Open

aliromman wants to merge 2 commits into
CrocSwap:mainfrom
aliromman:codex/triangular-native-supplier

Conversation

@aliromman

@aliromman aliromman commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This construction removes the full invertible low-matrix stock from the 480/264 general multiplier. At its first certified six-stage entrance the ordinary supplier runs its native word with zero matrix rows. At wider inputs it keeps one representative per lower-unitriangular orbit and executes the omitted row operations on the payload. A new Fourier schedule also shrinks the wide working field that dominates complete-product storage. The proposed complete κ = 0.00387992803556 is preserved for arbitrary signed binary operands. Complete construction · Resource proof · Stage and entrance proof · Receipts

Complete resource PR #7914 New construction
Occupied backing at the same input, including I/O At least 21,840 pT bits Less than 6.2 pT bits from the first certified six-stage input onwards. The ratio exceeds 3,520.
Occupied bits per significant operand bit in this range At least 524,160 Less than 298
Strong sufficient log₂ p for all six stages inside a true mixing source 3,840,000,000,000,000 355,763,540,965,264
Largest binary rank 2^240000000000000 2^236800000000000, with five smaller earlier ranks
Fixed program envelope, log₂ J 4,800,000,000,000,000,000 4,736,000,000,000,000,000

Here p = 6 ceil(log₂ n) for an operand of n significant bits and T is the padded tensor size. A sufficient new input length is 2^ceil(2^355763540965264 / 6) bits. The old sixth-stage guard actually requires log₂ e ≥ 2,881,869,654,258,596 for e ≤ p. The lower threshold is therefore a change to execution. The recurring clock has the same form S + O(n(1 + log n)^(1−κ)) with an explicit rank envelope C* J^100. The private per-geometry producer has its own bound 2^(2^20 (s+1)^2), where s = ceil(log₂(p+2)). The absolute primitive constants and a practical crossover remain unknown. The complex rank remains M = 2^3300000000. Native clock and physical calls · Earlier numerical caller and setup

There is also an absolute first-entrance comparison. Over every canonical input at the first specified public precision p* = 2^355763540965264 + 2, the entire new machine occupies fewer than 2^(p*) bits. One old native slab would already exceed this bound with just a single bit of payload per required low matrix. This uses an explicit historical tape budget, independent of the unknown recurring coefficient. First-entrance proof · All subsequent inputs and nonzero radix tags · Kernel-checked active-owner count · Uniform numerical tail

The same-order receiver handles arbitrary, independently weighted head and tail records. A quotient chart removes a factor 3^(uN(N−1)/2) from true stock at identical rank N and ternary height u. Variable unit scaling, exposed carries, the low radix sort, previous calls, inverse moves, padding and suspended ancestors all have physical instructions and charges. In a matched 139,968-record native body the total traversal fell from 3,017,776,176 to 284,414,976 bytes, including seeks. This finite measurement has its own scope. Actual receiver · Compensated chart and movement proof · Matched tape experiment

The transformed field now completes one normalized Fourier mean on a disjoint pack before opening the next. Its working precision goes from at least 5,460p to less than 1.001p throughout the connected range. The raw allowance of an eighth public grid step preserves both independent source-size factors, the opposite transform, and strict rounding of every unscaled coefficient. The signed tape diagnostic returned −345,550,037,539 and the five expected coefficients after 138 physical rank-two CRT exchanges. It uses explicit (3,5) geometry. At physically available input lengths the public selector uses the finite multiplier. The powered production ranks have a written all-size construction and cannot be timed on this machine. Signed tape entry and schedule · Verification and limitations

On the complete finite Fourier product, a separate file meter compared 136 old working bits with 72 new working bits at the same 48 public bits. Total file traversal fell from 13,716,909,553 to 8,089,368,893 bytes and peak opened data files fell from 4,550 to 2,886 bytes. Both returned the same signed result. The meter excludes scalar objects and private compiler tables. Full-product file meter

The local and exported Python checks need Python 3.12. The formal replay needs Lean 4.34.1 and the pinned mathlib. Run from the repository root.

python3 -B scripts/research_package.py --package research/triangular-native-supplier
python3 -I -B research/triangular-native-supplier/verify_formal.py
PASS_REGISTERED_RESEARCH_PACKAGE research/triangular-native-supplier outcome=completed
PASS_TRIANGULAR_KERNEL 11 modules 64 axiom reports ['Classical.choice', 'Quot.sound', 'propext']

Lean verifies the new selector-to-carried-product implication under the stated estimates for each generated gate. The only axioms in the 64 inspected reports are propext, Classical.choice and Quot.sound. The implementation binding, local compiler estimates, fixed-head movement, peak memory and growing-family price use written proofs. Independent scientific review remains open. Central gate theorem · Same-order identities · Rational price checks · Source pins

The complete registered runner and all eight commands in a separate read-only, Git-free export passed at the submitted revision. The export needed zero external package inputs. One earlier concurrent local replay exceeded a command timeout. The fresh registered rerun completed within its declared limits. Both file meters reproduced the exact transfer totals. Three additional signed products on the true square side 9 checked all nine coefficients against independent arithmetic in both implementations. The public controller at these finite input lengths uses its finite branch. Reproduction and results

The canonical hosted planning job failed before selecting this package. Its only failing assertion requires the current selected command in an older navigation guide. The exact failure reproduced on four unchanged files from canonical main, including the test, guide and selected record. Hosted package replay was skipped. Canonical test · Canonical CI navigation

Canonical main is e54523517d0f03e58352e647c403a5af3e525a57. The consumed physical predecessor is 46783fbbfc219a3faffbea76f60a2810b85ab75a. The larger 451-factor price in PR #7863 still needs its distinct physical supplier and recovery transfer. PR #7973 independently replays its conditional price. PR #7967 executes one cell of that different construction. PR #7911 gives a conditional selector. PR #7975 checks its six-stage price under an assumed completed seed. Selected result · Scoped Discussion

@aliromman prepared this work with substantial OpenAI Codex assistance. The previous carrier and compiler come from PR #7868. Clear1nsight supplied the mixed binary cut in PR #7830. Its source credits Dugongue and Rohan Arun on the predecessor price. PR #7837 supplies the actual projectors and common charts. PR #7846 supplies uniform composition and the recovery chain. The direct-circulant compiler and local estimates come from PR #7849. Its notice credits Jose Manuel and the earlier Fourier constructions. Source-specific credits and licenses · 480/264 compiler · Binary word and credits · All-column projectors · Uniform source obligations · Local Fourier intervals

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.

1 participant