def add_lt
import bend-collections-laws-math@1.0.0.0/proofs/math/u64/u64.bend as U64import Base
183# the low-limb wrap test is the low-limb carry
184def add_lt(+x: U32, +y: U32) -> {U32.is_lt(U32.add(x, y), x) == carry32(x, y) : Bool}:
185 add_lt1(1n, {==}, x, y)
Uses (6)
Used by (10)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64m128:m128_value
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32laws:tests_add_over
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64dm:mul3264
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32mont:cadd
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64add:add_eq
- …