mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
BraidField.lean fixes: - MMR.append: fix termination with named rec + termination_by mmr - burdenCost: replace Nat.abs → Int.ofNat + manual abs via Nat.preadJoin - SpherionState: add Inhabited instance (was blocking BraidDiatCodec) - PISTField: add Inhabited instance BraidDiatCodec.lean (new): - ChiralityDIAT: 2-bit chirality + 62-bit DIAT slot (encode/decode + roundtrip proof) - MountainPacked: height(8)+apex(48)+base_count(8)+bases; fromMountain/toMountain - BraidResidualPacked: 5 Q0_2 fields × 2 bits; bracket_roundtrip theorem - BraidDiatFrame: 256-bit fixed header + variable mountain list; encode/decode Codec layers the mountains-on-mountain stack: Layer 1: Chirality-DIAT slot address (spatial hierarchy + anti-correlation prod) Layer 2: Mountain pack (height/apex/base, self-similar inner MMR) Layer 3: Braid residual (Q0_2 crossing residuals, 10 bits/crossing) Layer 4: Complete frame (SpherionState × BraidReceipt → frame → back) Build: 3560 jobs, 0 errors (lake build) AGENTS.md: updated blessed surface + codec documentation |
||
|---|---|---|
| .. | ||
| 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"
lake build