def add_over
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
66# a + b >= 2^64
67def add_over(+a: W.U64, +b: W.U64) -> Bool:
68 add_over_fin(U32.add(hi(a), hi(b)), hi(a), U32.is_lt(U32.add(lo(a), lo(b)), lo(a)))
Uses (7)
Used by (22)
- bend-collections-laws-math@1.0.0.0/src/math/instances:u64_is
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64laws:ops_add
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64m128:m128_value
- bend-collections-laws-math@1.0.0.0/src/math/w64:redc_p
- bend-collections-laws-math@1.0.0.0/src/math/fixed:u64_overflowing_add
- …