Research-Stack/0-Core-Formalism
Brandon Schneider 9380eb3449 feat(lean): HouseholderQR — QR factorization for O_AMMR
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
2026-05-30 15:04:06 -05:00
..
core Remove legacy Python prototypes superseded by Lean formalization 2026-05-19 15:34:17 +00:00
lean feat(lean): HouseholderQR — QR factorization for O_AMMR 2026-05-30 15:04:06 -05:00
otom Add Phys.org May 2026 source intake for bees, biocoatings, THz, and diamond membranes 2026-05-23 19:27:37 -05:00
receipts docs: add bio optical witness living light equations 2026-05-09 20:53:51 -05:00
rust/ftdi_gimbal initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
scripts chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
README.md initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00

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