SilverSight/docs
allaun 4ea68bcecc feat(spectral): gap-aware spectral codebook generator with exact char-poly fingerprints
Implements the Next Steps of docs/SPECTRAL_CODEBOOK_ANALYSIS.md as
python/spectral_codebook.py (stdlib-only; NumPy optional fast path):

- Parses the 250 8x8 braid adjacency matrices from PIST/Matrices250.lean.
- Primary fingerprint: exact integer characteristic-polynomial
  coefficients via Faddeev-LeVerrier in Fraction arithmetic (196 unique
  over 238 distinct matrices, vs 179 unique lambda at 4dp; 6 cospectral
  non-identical groups; 11 exact-duplicate matrix groups / 23 ids).
- Corrects the analysis doc: the 9 'mid band' lambda in (0.5,1) are
  power-iteration non-convergence artifacts - exact rho = 1.0 for all 9
  (peripheral spectra). spectral_radius is now the exact max root
  modulus (numpy eigvals or Durand-Kerner on the exact char poly);
  power-iteration lambda kept only for traceability.
- Gap-aware quantization: dedupe to 238 distinct matrices, boundaries at
  gaps > 3x median gap, min-support guard (>=10 distinct per cluster),
  sparse-tail outlier flagging above lambda ~= 7.66. Result: 9 clusters.
- Round trip encode(matrix) -> (codeword, index) -> decode -> equation_id
  verified bijective over all 250 in tests/test_spectral_codebook.py.
- 278-row RRC/Q16_16Manifold corpus: 28 extra rows are repeated ids;
  boundaries reproduce exactly, no new gaps or clusters.
- Emits data/spectral_codebook.json (schema spectral_codebook_v2) with
  explicit collision classes; docs/SPECTRAL_CODEBOOK_GENERATOR.md notes
  the hashMatrix base-5 injectivity gap and the ClassifyN threshold
  (1.5/4.0 Q16.16) vs analysis-doc (0.5/1.0) mismatch.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-01 20:39:40 -05:00
..
adversarial_review refactor(rrc): rename corpus250→allFixtures/emitManifold, generic n-dimensional modules, Authentik deploy 2026-06-30 04:54:40 -05:00
build_logs chore(quality): native_decide migration, docs, and phi pipeline cleanup 2026-06-27 01:56:54 -05:00
concept_map feat(data): sync expanded concept map from Research Stack 2026-06-21 17:23:11 -05:00
first_principles math(worksheet): G3_WORKSHEET.md — pure arithmetic, no English in formulas 2026-06-23 05:29:41 -05:00
fundamental_math chore(quality): native_decide migration, docs, and phi pipeline cleanup 2026-06-27 01:56:54 -05:00
refactor chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
research chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
reviews Remove avmisa_audit_report.md 2026-07-02 03:37:23 +02:00
ARCHITECTURE.md chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
avm_isa_audit.md docs: AVM ISA v1 Wolfram Alpha audit — all arithmetic properties verified 2026-06-30 17:33:08 -05:00
avm_ports_audit.md docs: AVM ISA ports cross-implementation audit (Rust/Julia/R vs Lean ref) 2026-06-30 17:34:44 -05:00
cartan_dna_derivation.md feat(cartan-dna): Cartan-DNA bridge — derive spectral gap from encoder 2026-06-30 20:06:38 -05:00
cartan_fingerprint.md docs: add non-claim clarification — chiral labels are numerical, not biological 2026-06-30 20:16:18 -05:00
CLAIMS_STATUS.md fix(review): angry reviewer corrections — retract consistently across all files 2026-06-30 20:19:12 -05:00
FIX_DESIGN.md feat: exact charpoly codebook + fix design doc 2026-07-01 21:15:46 +00:00
gemma4_pdf_benchmark.md docs: Gemma4 PDF summarization benchmark 2026-06-22 23:34:45 -05:00
generate_porting_candidates.py docs: bind ported concepts to CFF references 2026-06-21 06:49:14 -05:00
generate_project_map.py feat(rrc): bare-minimum RRC refactor into SilverSight 2026-06-21 09:08:48 -05:00
generate_research_stack_usage_map.py refactor(rrc): rename corpus250→allFixtures/emitManifold, generic n-dimensional modules, Authentik deploy 2026-06-30 04:54:40 -05:00
GLOSSARY.md chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
GLOSSARY_ALLOWLIST.md docs(architecture): rewrite project plan and map old Research Stack layers 2026-06-21 09:17:25 -05:00
GOORMAGHTIGH_SPECTRAL.md docs: Goormaghtigh-Spectral codebook connection 2026-07-01 21:40:42 +00:00
hachimoji_torsor_consequences.md docs(hachimoji): document torsor consequences and update glossary 2026-06-22 00:55:54 -05:00
helical_encoding.md docs: add non-claim clarification — chiral labels are numerical, not biological 2026-06-30 20:16:18 -05:00
hopf_ingest_bridge.md fix(review): angry reviewer corrections — retract consistently across all files 2026-06-30 20:19:12 -05:00
hopf_portability_criterion.md fix(review): angry reviewer corrections — retract consistently across all files 2026-06-30 20:19:12 -05:00
milestone_avm_11_port_coverage.md 🎉 milestone: AVM ISA 12/12 ports fully verified 2026-06-30 18:33:29 -05:00
noether_route.md fix(review): angry reviewer corrections — retract consistently across all files 2026-06-30 20:19:12 -05:00
PROJECT_MAP.json spec(miner): Rydberg-braid signature extraction implementation 2026-06-22 20:25:17 -05:00
PROJECT_MAP.md refactor(rrc): rename corpus250→allFixtures/emitManifold, generic n-dimensional modules, Authentik deploy 2026-06-30 04:54:40 -05:00
research_stack_usage_graph_thumb.png feat(rrc): bare-minimum RRC refactor into SilverSight 2026-06-21 09:08:48 -05:00
rossby_e8_completion_roadmap.md fix(review): angry reviewer corrections — retract consistently across all files 2026-06-30 20:19:12 -05:00
rotational_wave_braid_correspondence.md fix(review): angry reviewer corrections — retract consistently across all files 2026-06-30 20:19:12 -05:00
SPECTRAL_CODEBOOK_ANALYSIS.md docs: correct spectral codebook analysis per independent review 2026-07-01 21:03:50 +00:00
SPECTRAL_CODEBOOK_GENERATOR.md feat(spectral): gap-aware spectral codebook generator with exact char-poly fingerprints 2026-07-01 20:39:40 -05:00
THEOREM_STACK.md docs: complete mathematical dependency tree (THEOREM_STACK.md) 2026-07-01 23:02:40 +00:00
transform_series.md feat(character): Z₂⁴ character transform — Sidon → Cartan bridge 2026-06-30 20:21:14 -05:00