Research-Stack/6-Documentation/tiddlywiki-local/wiki/tiddlers/Fixed Point Algebra.tid
Brandon Schneider 679945c1a0 ingest: dair-ai Agentic Engineering Wiki (51 tips, 7 categories)
Cross-referenced against our prover orchestration layers:
- Plan-Execute-Verify-Replan ↔ L0-L3 pipeline
- Agents as specialists ↔ 11-agent swarm
- Guardrails ↔ ProverWatchdog
- Sandbox testing ↔ Virtual FPGA tests
- Trajectory-aware eval ↔ BFS audit trail

5 gaps identified, 4 strengths confirmed
2026-05-07 00:27:02 -05:00

9 lines
917 B
Text

created: 20260507000000000
modified: 20260507000000000
tags: ResearchStack Lean Q16_16 FixedPoint
title: Fixed Point Algebra
type: text/vnd.tiddlywiki
! Fixed Point Algebra
Q16_16 fixed-point arithmetic formalized in `0-Core-Formalism/lean/Semantics/Semantics/FixedPoint.lean` — provides 16-bit integer + 16-bit fractional representation with formal proofs of algebraic properties. All physics computations in the stack use Q16_16 (per AGENTS.md §1.4). Includes arithmetic operations (add, sub, mul, div), comparison operators, conversion to/from floats, and formal theorems proving non-overflow bounds, associativity, and distributivity. The `FixedPointBridge.lean` connects Q16_16 to hardware extraction targets. Q32_32 variant under development with formal verification tools (`4-Infrastructure/shim/use_provers_to_fix_q32_32.py`). Related to the [[Lean Semantics Overview]] and hardware extraction pipeline.