Commit graph

11 commits

Author SHA1 Message Date
6b26a9bc6e fix: address adversarial review findings
Architecture fixes:
- Fixed phantom Semantics.* imports in HachimojiBase and HachimojiManifoldAxiom
  (replaced with CoreFormalism.* and SilverSight.* imports)
- RRCLib.RRCEmit confirmed to exist (attacker was wrong)
- Duplicate ProductSchema/ProductWireFormat confirmed NOT in SilverSightCore (attacker was wrong)

Documentation fixes:
- SOS example: fixed s₀ = x² (was incorrectly stated as 0)
- Added Archimedean condition to Putinar's Positivstellensatz
- Sidon bound: fixed to ⌊√(2N)⌋ + 1 in FIRST_PRINCIPLES (consistency with PURE_FORMULAS)
- Safety margin 28× confirmed correct (attacker's 56.7× was wrong — they confused ppm with ×10^-6)

Lean proof status:
- repunit function: documented as 'repunit characteristic' (not mathematical repunit)
- chentsov_50: 7 sorries remain (type bridge + chentsov_theorem internal sorries)
- Fisher metric bridge: cross-term 1/p₀ correctly identified and documented
2026-06-23 08:28:30 -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
1a26de076d fix(lean): address vacuous rfl proofs in Chentsov theorem and close Hermite sieve proofs
- ChentsovFinite.lean: Replaced vacuous rfl proofs at uniform distribution permutation invariance, diagonal case, and off-diagonal case with explicit proof obligations and sorry.
- section2_hermite_sieve.lean: Proved repunit strict monotonicity and lower bound lemmas, closing relevant sorry placeholders.
- BindingSiteEntropy.lean: Swapped geodesicDistance placeholder with fisherRaoApprox and added counterexample sketch for fisher_implies_similar_druggability.
- FixedPoint.lean, lakefile.lean, gemma4_mcp.py: Minor fixes and enhancements.
- AGENTS.md: Tracked open Chentsov proof obligations.

Build: 2987 jobs, 0 errors (lake build)
2026-06-23 05:11:04 -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
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
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
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
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