Commit graph

4 commits

Author SHA1 Message Date
Brandon Schneider
10d4c65ee7 fix: correct Q16_16 add/sub signed/unsigned bug, add missing lemmas
- 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.
2026-05-18 00:31:44 -05:00
Devin AI
745fbcdc5f fix: update AI-Newton submodule to valid commit
The AI-Newton submodule was pinned to commit dd1b3cd7 which no longer
exists in the upstream repo (Science-Discovery/AI-Newton). This caused
the snapshot build to fail with 'upload-pack: not our ref' when cloning
with --recurse-submodules.

Updated to the current HEAD (c143e865) of the upstream main branch.

Co-Authored-By: Allaun Silverfox <bigdataiscoming+9i37y6j2@protonmail.com>
2026-05-17 12:20:54 -05:00
Brandon Schneider
1f9182a211 chore: update AI-Newton submodule (merge conflict fix) 2026-05-06 23:44:25 -05:00
Brandon Schneider
acaa321992 Fix external repository references 2026-05-05 21:15:26 -05:00