bend-lawful-stdlib
Search uses release 0.1.0.0 · 248 definitions
Definitions (248)
- type Tree
- def reduce
- def to_list.gothe leaves, left to right, in front of acc
- def to_list
- def builda balanced tree with 2^d leaves f(lo), f(lo+1), ..., so both halves of each parallel call do the same amount of work
- law reduce_foldrreduce agrees with foldr.
- def bit
- law cmp_bitscomparing bit + 2*rest compares the rests first, then the bits, which is what Word.cmp.fin does
- law Word.cmp_nat
- law cmp_nat
- def LEa <= b on U32
- law is_lt_nata result of U32.is_lt is the same result of Nat.is_lt on the numbers
- law min_le_r.go
- law min_le_rmin(a, b) <= b
- law le_max_r.go
- law le_max_rb <= max(a, b)
- law clamp_le_hiclamp(x, lo, hi) <= hi, even when lo > hi
- law lo_le_clamp.go
- law lo_le_clamplo <= clamp(x, lo, hi) when lo <= hi
- law Word.sub_add(a + b + c) - b, with carry not(c), is a.
- law Word.sub_add.armone bit: the bit is kept, and e is the law for the rest at the carry k
- law Word.add_sub(a - b) + b, with carry not(c), is a
- law Word.add_sub.armone bit: the bit is kept, and e is the law for the rest at the carry k
- law sub_addsubtracting b undoes adding b, with wraparound
- law add_subadding b undoes subtracting b, with wraparound
- def groupwrapping + and - as a C.Group