mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
Theorem restated with crossInputGap hypothesis (no active bin from s adjacent to active bin from e). Without this, the theorem is false: counterexample s=[1,0,1,0,...] e=[0,0,0,1,0,1,...] has merge with adjacent active bins despite resonanceDegeneracy=0. Added to Spectrum.lean: - crossInputGap: cross-input adjacency check on adjacent bin pairs Added to GraphRank.lean: - boolGap8: boolean gap check on 8 explicit values - Complete mathematical proof sketch in docstring (4 steps) The sorry remains: the Q16_16↔Bool bridge for 8-element lists requires list-level induction on activeBins/verifySpectralGap/resonanceDegeneracy/ crossInputGap. The boolean kernel (boolGap8) is defined and ready for native_decide verification once the bridge is automated. Build: 3314 jobs, 0 errors (Compiler surface) |
||
|---|---|---|
| .. | ||
| core | ||
| lean | ||
| otom | ||
| receipts | ||
| rust/ftdi_gimbal | ||
| scripts | ||
| README.md | ||
0-Core-Formalism
Purpose: Formal foundations for the entire Research Stack — Lean modules, bind primitive, Triumvirate consensus, core source.
No external dependencies. All other layers depend on this.
Contents (Target)
| Source | Destination |
|---|---|
0-Core-Formalism/lean/Semantics/ |
0-Core-Formalism/lean/Semantics/ |
core/ |
0-Core-Formalism/core/ |
Concepts
- bind — State → (State → Action) → State
- TriumvirateClock — ternary consensus (ADD/PAUSE/SUBTRACT)
- Builder/Judge/Warden — roles mapped to hardware registers
- OTOM — Ordered Transformation & Orchestration Model
Build
cd "0-Core-Formalism/lean/Semantics"
lake build
Current baseline: lake build reports 3314 jobs, 0 errors.
Recent Additions
Recently added/blessed Lean/Semantics modules:
Semantics.SDPVerifySemantics.GoormaghtighCertSemantics.HachimojiManifoldAxiom/Semantics.HachimojiSubstitutionSemantics.GeneticBraidBridgeSemantics.SieveLemmasSemantics.InteractionGraphSidon
Fixed-Point Constraint
Core compute paths use Q16_16 fixed-point arithmetic. Float is not allowed in compute paths; ofFloat is only permitted at the external boundary (JSON parsing, sensor input) and must be immediately bracketed to Q16_16.
Dependency Graph / Mathblob Insight
The dependency graph and Gremlin mathblob work serve as documentation and insight tooling for surfacing module relationships and formal-structure context within the Semantics surface.