SilverSight/python
allaun 6b649ad271 fix(dna): correct alphabet ordering ATGCBSPZ→ABCGPSTZ + proof cleanup
Critical bug fix: dna_codec.py used biological base ordering (ATGCBSPZ)
instead of ASCII-ordered spec ordering (ABCGPSTZ). This violated the core
monotonicity axiom (int rank = lexicographic rank) that the entire monotone
LUT pipeline depends on.

Changes:
- python/dna_codec.py: BITS_TO_BASE, HACHIMOJI_BASES, LATIN_TO_GREEK
  corrected to ABCGPSTZ ordering; encode_binary_vector parameter renamed
  bases_per_var; module docstring updated
- tests/test_dna_codec.py: hardcoded byte→DNA expectations updated for new
  ordering (0xFF→ZZT, 0xd1→TPC); bases_per_var parameter name updated;
  31/31 tests green
- formal/CoreFormalism/HachimojiLUT.lean: replace fragile
  canonical_phases_preserved.2.2.2.2.2.1 chains with named obtain
  destructuring in pythagorean_position and contradiction_position
- docs/UNIFIED_THEORY.md: add ground-truth caveat to epigenetic optimizer
  results table (n≥24 results are local optima, not verified global minima)

Note: test_dna_nn.py has 4 pre-existing failures (Ising chain correlations)
unrelated to this fix — dna_qubo_nn.py has its own base encoding and does
not import dna_codec.py.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 23:20:16 -05:00
..
build_corpus250.py feat(rrc): generate full 250-equation Corpus250 and wire into AVM emit 2026-06-21 10:03:02 -05:00
build_pist_matrices_250.py feat(pist): port minimal PIST classifier surface to SilverSight 2026-06-21 09:46:09 -05:00
chaos_game.py Initial SilverSight: deterministic equation search via Fisher geometry 2026-06-21 18:02:05 +08:00
dna_braid.wgsl feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
dna_codec.py fix(dna): correct alphabet ordering ATGCBSPZ→ABCGPSTZ + proof cleanup 2026-06-22 23:20:16 -05:00
dna_encode_file.py feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
dna_gpu.py feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
dna_lut.py feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
dna_qubo_nn.py feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
dna_qubo_sort.py feat(dna): add remaining source files and surface images 2026-06-23 02:27:40 +00:00
dna_radix_gpu.py feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
dna_surface.html feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
dna_surface.wgsl feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
dna_webgpu.html feat(dna): add remaining source files and surface images 2026-06-23 02:27:40 +00:00
dna_webgpu.js feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces 2026-06-23 02:18:16 +00:00
expr_tree.py feat(silversight): symbolic regression core + Kepler test PASSED 2026-06-22 03:29:13 -05:00
gemma4_mcp.py feat(infra): add Gemma4-12B MCP server 2026-06-22 23:04:43 -05:00
hachimoji_citation.py fix(python): parse empty trigram/vector ranks in hachimoji_citation 2026-06-21 23:51:28 -05:00
linear_scaling.py feat(silversight): symbolic regression core + Kepler test PASSED 2026-06-22 03:29:13 -05:00
log_prescreen.py feat(silversight): log prescreen + finite-infinity duality 2026-06-22 03:41:53 -05:00
pist_matrix_builder.py feat(rrc): bare-minimum RRC refactor into SilverSight 2026-06-21 09:08:48 -05:00
q16_canonical.py feat(core): harden SilverSightCore and port canonical FixedPoint 2026-06-21 06:30:12 -05:00
sidon_address.py Initial SilverSight: deterministic equation search via Fisher geometry 2026-06-21 18:02:05 +08:00
spectral_profile.py Initial SilverSight: deterministic equation search via Fisher geometry 2026-06-21 18:02:05 +08:00
test_search.py Initial SilverSight: deterministic equation search via Fisher geometry 2026-06-21 18:02:05 +08:00
validate_rrc_predictions.py feat(rrc): bare-minimum RRC refactor into SilverSight 2026-06-21 09:08:48 -05:00