mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
PrimEntry: exact rational arithmetic (num/den, no truncation). All intermediate steps stay in ℤ. Single final division by det(A). Key insight: A × adj(A) = det(A) × I is exact over ℤ. Q16_16 version has 1-LSB error per entry (demonstrated by #eval). Witnesses: Primitive: 1/3 + 1/6 = 32768 (exact 0.5) Q16_16: div(1,3) + div(1,6) = 32767 (1 LSB error) Restored det_self_inverse theorem (removed by subagent). lake build: 3301 jobs, 0 errors |
||
|---|---|---|
| .. | ||
| core | ||
| lean | ||
| otom | ||
| receipts | ||
| rust/ftdi_gimbal | ||
| 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