Commit graph

367 commits

Author SHA1 Message Date
e81caa4a6a feat(spectral): Neon ENE sync layer for the spectral codebook (dry-run by default)
Adds python/spectral_codebook_db.py: sync codebook rows into
ene.rrc_predictions on the neon-64gb Postgres (NEON_PG convention from
scripts/auto/auto_pipeline.py, default research_stack DB).

- Row shape (flat, SQL-typed, Spark-JDBC readable): equation_id,
  proxy_pred = cluster codeword C0..C8, exact_pred = shape from exact
  lambda under CURRENT ClassifyN.lean thresholds (1.5/4.0 Q16.16,
  integer semantics mirrored), matrix_hash =
  'charpoly=<c1..c8>;pos10=<base-10 positional hash>' (similarity +
  injective identity keys), confidence = 1.0 unique fingerprint / 1/k
  in k-way charpoly collision class; deterministic uuid5 ids so reruns
  upsert idempotently.
- SAFE BY DEFAULT: dry run prints summary + sample SQL and writes
  nothing; --apply required to insert (psycopg2, with --emit-sql
  data/spectral_codebook_sync.sql fallback when the driver is absent).
  --apply has NOT been run; live DB untouched. --verify-schema does a
  read-only column check; schema verified offline against
  scripts/auto/ene_schema.sql in tests (live check left to the user
  per the ask-before-DB-work rule).
- spectral_codebook.py gains --sync-db (always dry-run from that entry
  point). Dry-run counts: 250 rows; C0=35 C1=20 C2=13 C3=79 C4=29
  C5=15 C6=22 C7=19 C8=18; Logogram=69 Signal=131 CognitiveLoad=50;
  183 rows at confidence 1.0.
- docs: 'Neon data layer' section — ENE table map, stale
  ene.rrc_classifications finding (120 rows with artifact spectral
  radii 0.3-0.85 predating the exact-eigenvalue fix; recommend
  re-classification via this codebook), empty landing tables, Spark
  JDBC snippet, arxiv-pg (podman-exec only) citation layer note.
- tests: 8 new dry-run/no-network tests (23 total).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-01 20:39:40 -05:00
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
Allaun Silverfox
138b3b97f6 Remove avmisa_audit_report.md 2026-07-02 03:37:23 +02:00
Allaun Silverfox
0e5ed5694e Archive avmisa_audit_report.md 2026-07-02 03:37:19 +02:00
Allaun Silverfox
f04430079f Remove BREAKGLASS_NR_BRACKET_PROPOSAL.md 2026-07-02 03:37:11 +02:00
Allaun Silverfox
221ef6ed95 Archive BREAKGLASS_NR_BRACKET_PROPOSAL.md 2026-07-02 03:37:07 +02:00
Allaun Silverfox
5767e9b3ab Remove BOSONIC_MONTE_CARLO_PIPELINE_REVIEW.md 2026-07-02 03:36:58 +02:00
Allaun Silverfox
e5b0e6cb6e Archive BOSONIC_MONTE_CARLO_PIPELINE_REVIEW.md 2026-07-02 03:36:55 +02:00
Allaun Silverfox
4a01b1a203 Remove HACHIMOJI_DNA_SYNTAX.md 2026-07-02 03:36:34 +02:00
Allaun Silverfox
7ab9028ff2 Archive HACHIMOJI_DNA_SYNTAX.md 2026-07-02 03:36:31 +02:00
Allaun Silverfox
5d9f4e83e4 Remove HACHIMOJI_DNA_ENCODING.md 2026-07-02 03:36:22 +02:00
Allaun Silverfox
17980b6603 Archive HACHIMOJI_DNA_ENCODING.md 2026-07-02 03:36:19 +02:00
Allaun Silverfox
573455bf05 Remove GODEL_BOUNDARY_AND_CLASSIFIERS.md 2026-07-02 03:36:10 +02:00
Allaun Silverfox
76036485ee Archive GODEL_BOUNDARY_AND_CLASSIFIERS.md 2026-07-02 03:36:07 +02:00
Allaun Silverfox
9e13152fa4 Remove DOCUMENT_SETS.md 2026-07-02 03:35:47 +02:00
Allaun Silverfox
5efed0848c Archive DOCUMENT_SETS.md 2026-07-02 03:35:44 +02:00
Allaun Silverfox
11a12caacd Remove LIBRARY_MANIFEST.md 2026-07-02 03:35:35 +02:00
Allaun Silverfox
ef6255a56e Archive LIBRARY_MANIFEST.md 2026-07-02 03:35:32 +02:00
Allaun Silverfox
97cae66453 Remove UNIFIED_THEORY.md 2026-07-02 03:35:23 +02:00
Allaun Silverfox
e288db3254 Archive UNIFIED_THEORY.md 2026-07-02 03:35:19 +02:00
Allaun Silverfox
4873c3ab4e Remove UNCOMPUTABILITY.md 2026-07-02 03:35:10 +02:00
Allaun Silverfox
2cca656b53 Archive UNCOMPUTABILITY.md 2026-07-02 03:35:07 +02:00
Allaun Silverfox
bba1fed219 Remove SOS_CERTIFICATE_FORMULAS.md 2026-07-02 03:34:57 +02:00
Allaun Silverfox
5b9e2171be Archive SOS_CERTIFICATE_FORMULAS.md 2026-07-02 03:34:54 +02:00
Allaun Silverfox
2203edeb27 Remove SMUGGLE_MODEL.md 2026-07-02 03:34:34 +02:00
Allaun Silverfox
f9aa2015b0 Archive SMUGGLE_MODEL.md 2026-07-02 03:34:30 +02:00
Allaun Silverfox
ac790eb826 Remove RESUMABLE_DAG_MODEL.md 2026-07-02 03:34:21 +02:00
Allaun Silverfox
88deb07d77 Archive RESUMABLE_DAG_MODEL.md 2026-07-02 03:34:17 +02:00
Allaun Silverfox
1915651e71 Remove RRC_REFACTOR_READINESS.md 2026-07-02 03:34:08 +02:00
Allaun Silverfox
75bb679ee8 Archive RRC_REFACTOR_READINESS.md 2026-07-02 03:34:04 +02:00
Allaun Silverfox
d245aec253 Remove RRC_PLACEMENT.md 2026-07-02 03:33:55 +02:00
Allaun Silverfox
14c2fb2b95 Archive RRC_PLACEMENT.md 2026-07-02 03:33:51 +02:00
Allaun Silverfox
0aac5b00dc Remove PURE_MATH_DESCRIPTION.md 2026-07-02 03:33:42 +02:00
Allaun Silverfox
d7b04f4af6 Archive PURE_MATH_DESCRIPTION.md 2026-07-02 03:33:38 +02:00
Allaun Silverfox
8e6a5a6419 Remove PURE_FORMULAS.md 2026-07-02 03:33:19 +02:00
Allaun Silverfox
cd11339cab Archive PURE_FORMULAS.md 2026-07-02 03:33:15 +02:00
Allaun Silverfox
2fbf67b0ff Remove PURE_EQUATION_MAP.md 2026-07-02 03:33:06 +02:00
Allaun Silverfox
4ef9ff71d6 Archive PURE_EQUATION_MAP.md 2026-07-02 03:33:02 +02:00
Allaun Silverfox
1233ca0834 Remove FOUNDATIONAL_GUIDANCE.md 2026-07-02 03:32:53 +02:00
Allaun Silverfox
f28d9ed1d4 Archive FOUNDATIONAL_GUIDANCE.md 2026-07-02 03:32:50 +02:00
Allaun Silverfox
92476cc0a0 Remove FINITE_INFINITY_DUALITY.md 2026-07-02 03:32:41 +02:00
Allaun Silverfox
d85a4e6681 Archive FINITE_INFINITY_DUALITY.md 2026-07-02 03:32:37 +02:00
Allaun Silverfox
186523d0d9 Remove EPIGENETIC_COMPUTATION.md 2026-07-02 03:32:28 +02:00
Allaun Silverfox
9bb9d5e3b4 Archive EPIGENETIC_COMPUTATION.md 2026-07-02 03:32:25 +02:00
Allaun Silverfox
648dbab954 Remove research_stack_usage_graph.md 2026-07-02 03:32:05 +02:00
Allaun Silverfox
f6db695293 Archive research_stack_usage_graph.md 2026-07-02 03:32:02 +02:00
Allaun Silverfox
f2798730a1 Remove research_stack_porting_candidates.md 2026-07-02 03:31:53 +02:00
Allaun Silverfox
0921847a12 Archive research_stack_porting_candidates.md 2026-07-02 03:31:49 +02:00
Allaun Silverfox
4524c56f7d Remove SYMBOLIC_REGRESSION_DESIGN.md 2026-07-02 03:31:39 +02:00
Allaun Silverfox
cb164a5360 Archive SYMBOLIC_REGRESSION_DESIGN.md 2026-07-02 03:31:36 +02:00