feat(hybrid-v2): L2 cosine similarity + golden tests N=5..152#559
Merged
feat(hybrid-v2): L2 cosine similarity + golden tests N=5..152#559
Conversation
Closes #339 Closes #287 - Add --hybrid-v2 --n <N> --theta flags to tri math compare - L2 cosine between phi^k and Pell P_{k+1} vectors - f64 Pell numbers to avoid u64 overflow at N>60 - Golden test table: N={5,10,15,20,50,152} - Plateau: cos ~0.9617, theta ~15.90 deg by N=15 - 10 Rust unit tests for golden values + convergence - Update hybrid-conjecture.md with frozen golden values
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
This was referenced May 8, 2026
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.
Summary
--hybrid-v2,--n <N>,--thetaflags totri math comparehybrid-conjecture.mdwith frozen definitions and golden valuesKey results
Plateau reached at N=15, stable to 10+ digits by N=20.
Closes #339 Closes #287
Constitutional compliance