research: compile AMP polynomial and matrix layers - #153
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #152.
Summary
f(x)=x^d+tand the normalized long-horizon observer(dI-C)h=uResult
The polynomial-like basis and matrix-like transport simplify the declared algorithm together:
d=2, N=100:2^99+1termsK=20: 55 sparse matrix entries versus 400 dense entries, 9 nonzero coordinate coefficientsy0=1.5: about3.13e-14144/11 q^22Disposition: EXPAND-NARROW.
This earns symbolic/storage compression, exact sparse compilation, replay, and compile-many reuse. It does not earn universal floating-point speedup: the strong binary64 log recurrence stops after nine effective corrections per query. The finite asymptotic chart also fails closed near
y0=0, where increasing order can worsen the result.The Böttcher, escape-rate, Koopman, and Carleman boundaries are cited explicitly; no classical novelty, global AMP solver, Core/API promotion, or complexity-class claim is made.
Validation
python -m pytest -q tests/research/test_amp_polynomial_matrix_compiler.py tests/research/test_amp_ensemble_carrier_gate.pypython -m pytest -qgit diff --checkpython -m compileall -q sonnet/amp-polynomial-matrix-compiler/amp_escape_compiler.py