mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
A boolean is a bit. Eight bins = eight bits = one byte. mergeCheck_all_256: closed Bool term verified by native_decide over all 256×256 byte pairs. Zero assumptions, zero free variables, zero sorry. The kernel proves: for any two bytes where gap(s) ∧ gap(e) ∧ disjoint ∧ crossGap all hold, gap(s OR e) also holds. This is the complete computational proof of the spectral gap merge property at the bit level. The remaining sorry is the Q16_16→byte bridge: converting SpectralSignature bins to/from Nat bytes and showing the predicates correspond. This is standard list-level reasoning over 8 elements (unzip, map, filter, all). 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.