mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
Implements Householder reflections for QR factorization: - Q16Vec/Q16Mat: fixed-dimension vectors/matrices in Q16_16 - HouseholderReflection: H = I - 2vv^T/(v^T v) - householderVector: compute reflection from column - applyReflection: Hx = x - 2(v·x)/(v·v) * v - qrFactorize: QR via Householder reflections - incrementalUpdate: add column and update QR (streaming) - quantize/quantizeVec: deterministic quantization for hashing - O_AMMR_QRNode: QR state + basis size + hash Key properties: - All Q16_16 fixed-point (no Float) - Deterministic quantization for hashing - Incremental update for streaming spike trains - Basis size control (rank control) 1 sorry: n > 0 precondition for householderVector lake build: 3302 jobs, 0 errors |
||
|---|---|---|
| .. | ||
| 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