Commit graph

60 commits

Author SHA1 Message Date
allaunthefox
5331d2cc4e feat(dna): unified theory — DNA encoding, epigenetic computation, logarithmic vector spaces
Derivation from first principles:

1. Hachimoji DNA encoding (8 bases, ASCII-ordered, monotone LUT)
2. Imaginary Semantic Time (observer-independent semantic axis)
3. Sieve observers with CRT reconciliation (mod ℓ projections)
4. Semantic mass (E - E_min, E_s = m · 8²)
5. Gap preservation theorem (cleanMerge_preservesGap from GraphRank.lean)
6. Epigenetic computation (bistability, spreading, memory, attractors)
7. Logarithmic vector spaces (Kritchevsky: log N is a geometric vector)
8. Uncomputability framework (baseless logarithm = truth, based = computation)

Epigenetic optimizer breaks the freeze point:
  n=20: 0.7s (brute: 0.3s)
  n=24: 1.5s (brute: FROZEN)
  n=30: 3.4s (brute: FROZEN)
  n=50: 23.9s (brute: FROZEN)

Files:
  docs/UNIFIED_THEORY.md — full theory derivation
  docs/HACHIMOJI_DNA_SYNTAX.md — formal syntax specification
  docs/EPIGENETIC_COMPUTATION.md — epigenetic optimizer
  docs/UNCOMPUTABILITY.md — logarithmic vector space framework
  docs/REDERIVATION.md — rederivation from first principles
  python/dna_*.py — implementation (codec, LUT, GPU, surface)
  tests/test_dna_*.py — 68 tests, all green

Build: N/A (Python + Lean documentation)
2026-06-23 02:18:16 +00:00
d0850b6d7a feat(silversight): log prescreen + finite-infinity duality
Log prescreen: 8/8 physical law tests pass (Kepler, Hooke, Newton,
decay, free fall, pendulum, Stefan-Boltzmann, sin-not-detected).

Finite-infinity duality: logarithms tame combinatorial explosion;
Hachimoji encoding is a controlled Gödel boundary on undecidable space.

Build: 2987 jobs, 0 errors
2026-06-22 03:41:53 -05:00
06748b09f4 feat(silversight): symbolic regression core + Kepler test PASSED
Implement expr_tree.py (expression tree data structure) and
linear_scaling.py (Keijzer 2003 closed-form a,b solver).

Kepler test: 8 planets → T = a^1.5, R² = 1.000000, BIC = -66.03.
No external imports — pure SilverSight infrastructure.

Build: 2987 jobs, 0 errors
2026-06-22 03:29:13 -05:00
c1b86e2e80 fix(python): parse empty trigram/vector ranks in hachimoji_citation
Empty ranks from FULL OUTER JOIN return empty strings, not '0'.  Fixed
int() parsing to handle empty fields. Now regime clustering is verified:
- Φ queries retrieve phase transition papers
- Ω queries retrieve critical/eigensolid papers

Build: 2987 jobs, 0 errors (lake build)
2026-06-21 23:51:28 -05:00
d32d4ed7a7 feat(python): add hachimoji_citation.py — equation → state → arxiv citations
- Mirrors HachimojiCodec.lean classifyEquation exactly (Ω,Λ,Ζ,Φ,Π,Σ,Ρ,Κ)
- STATE_QUERIES maps each state to semantic search terms (mirrors §4)
- Hybrid search via arxiv-pg podman container (pg_trgm + pgvector HNSW)
- Demo batch demonstrates state diversity: E=mc² (Φ), 0=1 (Ω), ∫ (Π)

Build: lake build pending verification
2026-06-21 23:11:27 -05:00
fbb71cffc9 feat(rrc): generate full 250-equation Corpus250 and wire into AVM emit
- Add python/build_corpus250.py generator (deterministic, uses classifier
  receipt + PIST matrices, computes labels via SilverSight.PIST.Classify).
- Generate formal/SilverSight/RRC/Corpus250.lean with 250 FixtureRows.
- Register SilverSight.RRC.Corpus250 in lakefile.lean.
- Add AVMIsa.Emit.emitCorpus250 and update rrc-emit-fixture to emit it.
- Regenerate PROJECT_MAP.md/json.

Verification:
- lake build: 2981 jobs, 0 errors
- lake build SilverSightRRC: 2995 jobs, 0 errors
- rrc-emit-fixture | validate_rrc_predictions.py: OK 250 rows, avm_rrc_corpus250_v1
2026-06-21 10:03:02 -05:00
569c16088a feat(pist): port minimal PIST classifier surface to SilverSight
- Add SilverSight.PIST.Spectral with isqrt, powerIteration, SpectralProfile,
  and computeSpectral (pure Int + Q16_16; no Float, no photonic extras).
- Add SilverSight.PIST.Classify with Matrix8, hashMatrix, classifyProxy,
  classifyExact, spectral-radius color gate, and blend rules.
- Add SilverSight.PIST.Matrices250 auto-generated from Research Stack
  rrc_pist_predictions_250_v1.json (250 entries).
- Add python/build_pist_matrices_250.py generator with deterministic ordering
  and content-hash comment.
- Register PIST modules under SilverSightRRC in lakefile.lean.
- Regenerate PROJECT_MAP.md/json.

Build: 2981 jobs, 0 errors (lake build); SilverSightRRC: 2994 jobs, 0 errors.
2026-06-21 09:46:09 -05:00
4490dc28a7 feat(rrc): bare-minimum RRC refactor into SilverSight
- Move canonical FixedPoint to Core/SilverSight/FixedPoint.lean
- Add SilverSightRRC library: RRC logogram gates, receipt bridge, AVM ISA
- Add AVMIsa.Emit as the sole top-level JSON output boundary
- Add rrc-emit-fixture executable and Python I/O shims
- Update AGENTS.md, glossary, project map, and build baseline

Build: 2981 jobs, 0 errors (lake build)
2026-06-21 09:08:48 -05:00
7a973a06f6 feat(core): harden SilverSightCore and port canonical FixedPoint
- Remove Float from Core/SilverSightCore.lean (Receipt.pathCost is now Option Nat)
- Prove TIC theorems tic_never_decreases and computation_generates_time
- Add lakefile.lean, lean-toolchain, and .gitignore for .lake/
- Port Research-Stack Semantics.FixedPoint.lean to formal/CoreFormalism/FixedPoint.lean
- Delete thin Q16_16_Spec.lean; update Python/QUBO comments and docs
- Create AGENTS.md distilled from Research Stack core bindings
- Update REBASE_RULES.md to strip legacy hacks and reference AGENTS.md

Build: 2978 jobs, 0 errors (lake build)
2026-06-21 06:30:12 -05:00
SilverSight Agent
3c35fe50c2 Initial SilverSight: deterministic equation search via Fisher geometry
Core components:
- ChentsovFinite.lean (883 lines, 0 sorry): Fisher metric uniqueness on 8-state simplex
- HachimojiCodec.lean: Deterministic E=mc^2 -> Hachimoji state pipeline
- PVGS_DQ_Bridge (8 sections, ~6,150 lines): Photon-Varied Gaussian to Dual Quaternion
- UniversalMathEncoding.lean: 50-token math address space (~10^15 addresses)
- ChiralitySpace.lean: 4D descriptor (phase x chirality x direction x regime) ~2x10^25
- BindingSite (3 files): Amino acid vocabulary, entropy-based bindability
- Python: chaos game, Sidon addressing, Q16.16 canonical, Finsler metric, QUBO/QAOA
- CI: Lean check, Python check, Q16 roundtrip workflows

Papers: Giani-Win-Conti 2025, Chabaud-Mehraban 2022, Pizzimenti 2024, Wassner 2025
2026-06-21 18:02:05 +08:00