Research-Stack/0-Core-Formalism
Devin AI 8e741199bf refactor(lean): remove Float from FixedPoint core, implement integer-only sqrt/log2/expNeg
Core FixedPoint.lean is now fully Float-free:
- Q16_16.sqrt: integer Newton method (intSqrt, 64-step fuel)
- Q16_16.log2: bit-position extraction + linear interpolation
- Q16_16.expNeg: 7-segment piecewise-linear (~0.02 max error)
- Q0_16.log2: bit extraction with 1/ln(2) scaling

Removed from core: ofFloat, toFloat, ln (Q16_16); toFloat, ofFloat
(Q0_16); q0_64ScaleFloat, ofFloat, toFloat (Q0_64).

Created Semantics.FixedPointBoundary for I/O boundary Float
conversions. 14 downstream files updated to import boundary module.

Build: 3573 jobs, 0 errors (lake build)
Co-Authored-By: Allaun Silverfox <bigdataiscoming+9i37y6j2@protonmail.com>
2026-06-15 02:07:21 +00:00
..
core fix(adversarial-review): resolve 35 critical coding bugs across 8 subsystems 2026-05-31 23:38:03 -05:00
lean refactor(lean): remove Float from FixedPoint core, implement integer-only sqrt/log2/expNeg 2026-06-15 02:07:21 +00: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