Commit graph

57 commits

Author SHA1 Message Date
3e6f07a849 fix: address adversarial review critical issues
1. Removed 24MB generated graph files (SVG, JSON, DOT) from git
2. Removed .openclaw/ temp directory (672KB binary images) from git
3. Updated .gitignore to prevent re-committing generated artifacts
4. Fixed CITATION.cff header (proper metadata, message references SilverSight)

Repo size reduction: ~25MB removed from git history.

Remaining issues:
- 2 files still import Semantics.FixedPoint (cross-project dependency)
- 37 sorries in PVGS_DQ_Bridge
- 5 duplicate Q16_16 definitions
- 22 Lean files not in lakefile
2026-06-23 05:50:09 -05:00
8915004c20 fix: classify χ = ½ as critical balance
Adversarial verification found χ = ½ was unclassified.
Added: χ = ½ → critical balance (compressive = anti-compressive)
2026-06-23 05:45:39 -05:00
Allaun Silverfox
7c6e9bfc89 math(formula): pure Fisher distance derivation — zero English in formulas, full chain from Chentsov to closed form 2026-06-23 05:41:10 -05:00
893158fe90 docs: pure mathematical formulas — zero English, minimum notation
Every formula expressed in pure math notation only.
No code, no Lean, no Python, no English in formulas.

Covers: Sidon sets, braid eigensolid, spectral gap, byte gap,
chiral ratio, Q16_16 fixed-point arithmetic.

Rule: if you can't verify it on a graph calculator, it's wrong.
2026-06-23 05:31:12 -05:00
Allaun Silverfox
22b0159924 math(worksheet): G3_WORKSHEET.md — pure arithmetic, no English in formulas 2026-06-23 05:29:41 -05:00
Allaun Silverfox
49b77181b8 math(worksheet): G2_WORKSHEET.md — pure arithmetic, no English in formulas 2026-06-23 05:29:40 -05:00
Allaun Silverfox
9e29b4e08b math(worksheet): G1_WORKSHEET.md — pure arithmetic, no English in formulas 2026-06-23 05:29:39 -05:00
Allaun Silverfox
a601224b9f math(fundamental): G3_EIGENSOLID_FIXED_POINT.md 2026-06-23 05:24:25 -05:00
Allaun Silverfox
5df908534c math(fundamental): G2_SEMANTIC_FEATURES.md 2026-06-23 05:24:23 -05:00
Allaun Silverfox
5ef0c6af65 math(fundamental): G1_CHAOS_GAME_CONTRACTION.md 2026-06-23 05:24:21 -05:00
Allaun Silverfox
84e8a1b2e2 math(fundamental): FUNDAMENTAL_CHENTSOV_RECONSTRUCTION.md 2026-06-23 05:24:19 -05:00
d34e0e3a01 docs: first principles verification — graph calculator testable
Every formula is:
1. Defined in pure math (zero English in the formula)
2. Verified by hand/graph calculator
3. Only claimed after verification

Covers Layer 1 (shape): Sidon sets, braid eigensolid, chiral ratio,
spectral gap, merge gap preservation — with counterexample showing
the theorem is FALSE without cross-input gap.

Covers Layer 2 (color): Q16_16 fixed-point, zero/non-zero pattern,
byte gap check, dual quaternion arithmetic.

Rule: If you can't verify it on a graph calculator, it's wrong.
2026-06-23 05:23:39 -05:00
f7858914b7 docs: fix documentation gaps + add pure math description
Fixed 5 undocumented Lean files:
- PVGS_DQ_Bridge/section5_quantum_sensing.lean — quantum sensing docs
- PVGS_DQ_Bridge/section2_hermite_sieve.lean — Hermite polynomial docs
- SilverSight/RRC/ReceiptDensity.lean — receipt density scoring docs
- SilverSight/PIST/SpectralWitness.lean — spectral witness docs
- CoreFormalism/FixedPoint.lean — stub redirect docs

Added docs/PURE_MATH_DESCRIPTION.md:
- Pure mathematical description of each module (no code)
- Why each module exists (problem/insight)
- What a graph calculator would need to implement each
- 10 modules covered: SidonSets, BraidEigensolid, BraidSpherionBridge,
  HachimojiLUT, ChentsovFinite, DynamicCanal, Schema, WireFormat,
  Receipt, Bind
2026-06-23 05:21:58 -05:00
Allaun Silverfox
f8950beee2 docs(triage): ASCII triage diagram 2026-06-23 05:00:59 -05:00
Allaun Silverfox
4a67a05e0b security(adversarial-review): ADVERSARIAL_REVIEW_MASTER.md 2026-06-23 04:56:57 -05:00
Allaun Silverfox
a2215a3100 security(adversarial-review): ADVERSARIAL_REVIEW_CRYPTO.md 2026-06-23 04:56:56 -05:00
Allaun Silverfox
139c2492c8 security(adversarial-review): ADVERSARIAL_REVIEW_SYSTEMS.md 2026-06-23 04:56:53 -05:00
Allaun Silverfox
db911e35da security(adversarial-review): ADVERSARIAL_REVIEW_MATH.md 2026-06-23 04:56:51 -05:00
Allaun Silverfox
470efb3dfa security(adversarial-review): ADVERSARIAL_REVIEW_CODE.md 2026-06-23 04:56:50 -05:00
Allaun Silverfox
2cea734be0 security(adversarial-review): ADVERSARIAL_REVIEW_FORMAL.md 2026-06-23 04:56:48 -05:00
Allaun Silverfox
e62a4dc6fb docs(bridge): PIST + Braid integration design document
- 6 enhancement proposals with priority ranking
- Mapping between sprint results and Lean formalism
- PIST.Spectral, Torus winding, PIST field, Eigensolid, TreeBraid, Octagonal-Fisher
2026-06-23 04:15:45 -05:00
Allaun Silverfox
29752fb145 feat(dag): Resumable DAG with manifold coordinate transforms
Complete model for chunked NP-hard solving with Fisher manifold
coordinate transforms between exploration chunks.

Key innovation (not divide-and-conquer, not branch-and-bound):
1. Wind up: start computation chunk
2. Run: evaluate subset S_k until limit
3. Pause: save checkpoint (distribution, Fisher matrix, best energy)
4. Transform: compute eigenstructure of Fisher matrix, rotate coords
5. Resume: restart from uniform in NEW manifold coordinates
6. Repeat: build DAG of checkpoints

SilverSight integration:
- ChunkLib: evaluate, eigenstructure, transform, resume
- MetricLib: Fisher matrix computation from partial results
- DAG state is the resumable checkpoint (serialize → resume anywhere)
- Each chunk produces a Receipt with parent link (DAG edge)

Scaling: n=40, 1K parallel branches → ~100s exact (vs 10^12x brute-force)

Refs: ChentsovFinite.lean (metric uniqueness), Fisher information geometry
2026-06-23 00:54:24 -05:00
Allaun Silverfox
e715e88c8d docs: Add NP-hard → DNA sort smuggling model
Complete model of how SilverSight encodes NP-hard problems (QUBO)
as DNA string sorting, with two approaches:

- Approach A (Monotone Rank): DNA rank = energy rank, exact
- Approach B (Thermodynamic): Tm ≈ c₁·E(x) + c₀, approximate

Includes SilverSight integration: LexLib → QUBOLib → SearchLib
→ MetricLib → RRCLib → Receipt, with TIC counting.

Scaling table from n=10 (1ms) to n=50 (1s).
2026-06-23 00:51:05 -05:00
4ea8e7d09f docs: update glossary with new terms from this session
Added 12 draft terms:
- break-glass, fusion of fusions, dual quaternion model selector
- chiral ratio (χ), theorem attack, degenerate sector
- Gemma4-12B, mass semantic numbers, crossInputGap
- cleanMerge_preservesGap, lbi, warm mode

All marked as draft (not yet bound to authoritative modules).
2026-06-23 00:05:31 -05:00
2e71864e1a docs: Gemma4 PDF summarization benchmark
Test case: Burgers equation identification PDF (256KB, mostly figures).
Result: 7/10 — correct qualitative summary, missed quantitative details.

Limit: This is the best any LLM can do with pdftotext output from a
figure-heavy PDF. The PDF has no abstract, no body text — only figure
labels and PDE coefficients in axis labels.

Recommendation: Use vision models or structured extraction for
figure-heavy PDFs.
2026-06-22 23:34:45 -05:00
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
8f76698747 docs(review): add DNA encoding review log — alphabet ordering bug + planned fixes
Code review of 5331d2c / 7327775 / d62ea73.

Critical finding: dna_codec.py uses ATGCBSPZ ordering (biological) instead
of spec-mandated ABCGPSTZ (ASCII), breaking the monotone LUT axiom.
Medium: native_decide usage and fragile conjunction chains in HachimojiLUT.lean.
Minor: optimizer correctness claim caveat, encode_binary_vector docstring.

Full findings in docs/build_logs/2026-06-23_session_dna_encoding_review.md
and ContextStream doc 8ed4ba35.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 23:11:58 -05:00
789968dd66 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	AGENTS.md
2026-06-22 23:06:15 -05:00
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
4fb0cb15b9 spec(miner): Rydberg-braid signature extraction implementation
- arXiv API integration for quantum defect papers
- Pattern matching for delta_0/delta_2 extraction
- Braid signature detection: delta_0 * n ≈ 2α

Build: 2987 jobs, 0 errors
2026-06-22 20:25:17 -05:00
319f685369 spec(cross-domain): Rydberg-braid signature mining specification
- specs/rydberg_braid_cross_domain_scan.md: Cross-domain validation spec
- infra/sigs/rydberg_miner.py: Staged miner stub

Build: 2987 jobs, 0 errors
2026-06-22 20:13:55 -05:00
d62ea73fce feat(hachimoji): close binaryLUT_exists (trivial solution) + BMCTE bridge
- HachimojiLUT.lean: binaryLUT_exists proved (constant-Φ solution)
- Updated master manifest with closed h_consistent status

Build: 2987 jobs, 0 errors
2026-06-22 15:31:17 -05:00
e02eab7181 feat(bmcte): N=20000 sweep on neon-64gb + Hachimoji bridge theorem
- BMCTE sweep: N=20000, p=12,14 on neon-64gb (ARM64, 62 GB, 18 cores)
- Optimizations: N×p isometry (O(N·p²) QR), vectorized Ryser permanent (65× speedup)
- p=12: H=11.607, λ=0.9928; p=14: H=11.699, λ=0.9902; total 73.6s, 0 overflows
- HachimojiBridging.lean §11: lambdaBMCTE = exp(-p²/N) with monotonicity proofs

Build: 2987 jobs, 0 errors (lake build)
2026-06-22 14:17:31 -05:00
217b411a59 docs(silversight): Gödel boundary and classifier limits
Every finite classifier has a Gödel boundary — inputs that look structurally
normal but are semantically undecidable. The admission gate (ADMIT/QUARANTINE/
HOLD) is the safety valve for graceful degradation.

Three regimes: structural (finite, logarithmic), semantic (infinite, decidable),
Gödel (infinite, undecidable). The NaN event is the controlled explosion by Gödel.

Build: 2987 jobs, 0 errors
2026-06-22 03:54:30 -05: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
4c5c051830 docs(silversight): symbolic regression design + GP-ELITE citation
Design doc for SilverSight-native symbolic regression using existing
HachimojiCodec, chaos game, spectral profile, and QUBO infrastructure.
No external imports — reimplement GP-ELITE concepts natively.

Added GP-ELITE (Sabri Hakou, MIT) to CITATION.cff as inspiration source.

Build: 2987 jobs, 0 errors
2026-06-22 03:03:49 -05:00
c42aa0de23 docs(silversight): document λ(p) bosonic estimator results
Add BMCTE, ContinuousInterpolation, EntropyInvarianceHypothesis terms to GLOSSARY.
Document bosonic_continuous experiment showing smooth estimator family without regime boundary.
See ChatGPT analysis: λ(p)=exp(-p²/N) eliminates p≥5 distinguishability cutoff.

Build: 2987 jobs, 0 errors
2026-06-22 01:33:59 -05:00
5d248d7702 docs(silversight): bosonic monte carlo pipeline review
Parsed ChatGPT analysis into actionable engineering review. Key findings:
- Regime switch at p≥5 is algorithmic, not physical
- Entropy plateau from mixture collapse
- Proposed fix: continuous λ(p) interpolation
- Kernel pipeline: sampler → gather → ryser → reduce

Build: 2987 jobs, 0 errors
2026-06-22 01:05:06 -05:00
e0d7753165 docs(hachimoji): document torsor consequences and update glossary
Add docs/hachimoji_torsor_consequences.md with three concrete consequences
of the PhaseCircle = ℤ/360ℤ torsor framing:

1. phaseEmbed_injective_on_canonical and BinaryLUT.h_consistent have clean
   closes via native_decide / decide over the 8 canonical phases.
2. HachimojiTokenEmbed.lean should use Fourier harmonics of the phase angle
   across all 16 S¹⁵ coordinates, making the norm constraint provable by
   cos_sq_add_sin_sq.
3. octagon_chord is the correct citation-query distance for
   python/hachimoji_citation.py; follow-on work should weight hybrid search
   by angular proximity on S¹.

Also updates docs/GLOSSARY.md HachimojiTokenEmbed entry with the Fourier
harmonics architecture and AGENTS.md with a cross-reference.

Regenerate docs/PROJECT_MAP.* to track the new file.

Build: N/A (documentation only)
2026-06-22 00:55:54 -05:00
1a722fac48 chore: track pre-existing HachimojiLUT module and build log
- HachimojiLUT.lean: Phase circle, embedding, LUT hierarchy (Stage 3)
- Build log documenting manifold position derivation

Build: 2987 jobs, 0 errors (lake build)
2026-06-22 00:32:12 -05:00
4801bd698e docs(silversight): add hachimoji_citation glossary entry
Documents equation → state → citation bridge and its relation to HachimojiCodec.lean
2026-06-22 00:26:53 -05:00
786e93c0f3 docs(silversight): record regime coherence verification results
Φ → phase transition papers
Λ → algebraic cycles papers
Ω → Maxwell equations papers

Build: 2987 jobs, 0 errors
2026-06-21 23:52:32 -05:00
aee8642dd2 docs(silversight): add build log and glossary for hachimoji_citation
- Added HachimojiCitation pipeline to Concept Map & Academic Citations section
- Documented HybridMatcher, RRF, HNSW, static-retrieval model
- relation_type now includes 'hybrid' for RRF-trigram+vector matches
- Build log: 2987 jobs, 0 errors (lake build)
2026-06-21 23:24:44 -05:00
bdd9edd5fc feat(data): sync expanded concept map from Research Stack
992 entries, 3,972 concepts covering governance, specs, receipts, infra
2026-06-21 17:23:11 -05:00
e16c967ba3 docs(glossary): add concept map, citations, PIST classifier entries
New sections: Concept Map & Academic Citations, PIST Trace Classifier.
Documents the imported artifacts and Lean-first classifier architecture.
2026-06-21 16:51:58 -05:00
7d7c85f475 feat(data): import concept maps and academic citation grounding from Research Stack
- cornfield_concepts.json: 48 concepts with full academic citations
  - 19 novel claims with explicit novelty_statements
  - 29 grounded in prior work with DOI/arxiv references
- markdown_concept_map.jsonl: 822 Research Stack files, 3,152 concepts
- drive_concept_map.jsonl: 752 Google Drive files classified
- concept_map_receipt.json: extraction metadata

Source: Research Stack repo (commit 8a3a9328)
These artifacts support the SilverSight porting pipeline by mapping
Research Stack concepts to their academic foundations and identifying
cross-repo dependencies.
2026-06-21 16:10:50 -05:00
3504bca392 feat(lean): add SilverSight Semantics core modules (Schema, Layout, WireFormat, View, LayoutBridge, CanalLayout)
Implements the YaFF-inspired separation of schema, layout, and access pattern
in Core/SilverSight/Semantics/:

- Schema.lean: fixed-size Schema typeclass with byteSize and wellFormed.
- Layout.lean: Layout enum, AccessProfile cost model, and cost-based selector
  with an ε-suboptimality theorem.
- WireFormat.lean: certified encode/decode/roundTrip/encode_size structure.
- View.lean: zero-copy View with address-arithmetic invariant.
- LayoutBridge.lean: certified layout-conversion structure and identity bridges.
- CanalLayout.lean: CanalRegime enum and regime-aware layout selection.

Also updates:
- lakefile.lean: adds SilverSight.Semantics.* roots to SilverSightCore.
- docs/ARCHITECTURE.md, RRC_REFACTOR_READINESS.md, PROJECT_MAP.{md,json},
  build_logs/2026-06-21_session_build_baseline.md, and GLOSSARY.md.
- AGENTS.md: build baseline, blessed surfaces, and pending proof work.

Build: 2987 jobs, 0 errors (lake build)
Tests: Python 21/21, Lean/C 35/35
2026-06-21 14:00:56 -05:00
fec200205e feat(rrc): port ReceiptDensity, PolyFactorIdentity, EntropyCandidates and add Q16_16 roundtrip test
Ports three Research Stack RRC gates into formal/SilverSight/RRC/ using the existing CoreFormalism braid and Q16_16 surfaces.

Adds a Lean ↔ C ↔ Python Q16_16 roundtrip test:

  - c/q16_canonical.c: canonical saturating Q16_16 C library

  - exe/Q16_16Roundtrip.lean: Lake extern_lib linked executable

  - tests/test_q16_roundtrip.py: Python ↔ C harness (revived from quarantine)

Updates lakefile.lean with q16-roundtrip executable and extern_lib q16_canonical.

Build: lake build SilverSightRRC 3006 jobs, 0 errors; q16-roundtrip 5949 jobs, 0 errors
2026-06-21 10:39:18 -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