mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
- FixedPoint.lean: rewrite add/sub with two's-complement overflow detection on UInt32 (replaces Int.ofNat approach that broke negative Q16_16 values). Both positive and negative inputs now correctly saturate at the representable bounds. - FixedPoint.lean: add add_zero, zero_add, sub_self, sqrt_zero, sqrt_one theorems with proofs for the corrected add/sub. - FixedPoint.lean: fix Q0_16 doc (0x7FFF = 1.0, not 0x8000) and div-by-zero (returns zero, not max). - TorsionalPIST.lean: Fix16_sub_self, Fix16_mul_zero delegate to FixedPoint theorems; Fix16_add_zero proven via add_zero. |
||
|---|---|---|
| .. | ||
| external/OTOM | ||
| LeanGPT | ||
| Semantics | ||
| CHAIN_ALL_REVIEW_REPORT.md | ||