mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
- Add BraidField.MMR.mountainList helper to convert MMR to List Mountain in decreasing-height order (unwrap cons structure) - Fix BraidDiatFrame.encode: use UInt32.ofNat for stepCount (Nat → UInt32), fix DynamicCanal.IntNode → BraidField.IntNode reference - Fix BraidDiatFrame.decode: use toNat for stepCount (UInt32 → Nat), remove List.ofFn (requires proof of in-bounds) with Fin-based loop - Fix toMountain: replace List.ofFn with foldl over List.range - Fix encode_decode_roundtrip: prove decode(encode(state,receipt,chir,n,residuals)) recovers original state.mmr, chirality, n, and receipt fields when n valid - Fix decode_encode_roundtrip: prove encode after decode recovers frame fields - Change #eval example Chirality.positive → Chirality.right (correct variant) Build: 3572 jobs, 0 errors (lake build) |
||
|---|---|---|
| .. | ||
| 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