bend-collections-laws-math
Search uses release 1.0.0.0 · 5,526 definitions
Definitions (5,526)
- def sc
- def uw
- def boa bit worth `one`
- def bo_bit
- def lt1
- def lt1r
- def wbevery n-bit word is below 2^n
- def uniqr1 + 2^n x == r2 + 2^n y with both r below 2^n forces r1 == r2
- def add_exactaddition below 2^n is exact
- def mul_exactmultiplication below 2^n is exact
- def sub_wrapIf x + 2^n == d + b with d < 2^n, the machine difference x - b is d.
- def ob
- def ow
- def shl_con
- def shl_nil
- def shl_outthe out-shifted bit and word together hold c + 2w
- def shl_out1the same with the out-shifted bit worth `one`
- def add_inner
- def add_alglow limbs l with carry c0, high limbs t = ah + bh (carry c1), then h = t + c0 (carry c2): the two-limb sum loses exactly 2^(2n) (c1 + c2).
- def carry_ltthe carry out of an addition is the wrap-around test sum < x
- def not_join
- def onesevery bit set
- def incif
- def inc_joinincrementing a joined word carries into the high part iff the low part is all ones
- def eq_fin_tf
- def eq_fin_ff
- def inc_zeroan increment is zero iff it wrapped from all ones
- def one_word
- def add_oneadding one is incrementing
- def maskthe low k bits set
- def hi_partthe bits of x above the low k
- def and_false_bv
- def and_zero
- def low0
- def mask_splitx == (x & mask k) + 2^k (bits above k)
- def sc_pos
- def mask_ltx & mask k is below 2^k
- def pw2^k as an n-bit word
- def pw_val
- def pwva word known to be 2^k has value 2^k (the word stays a variable)
- def inc_exactan increment below 2^n is exact
- def dm_e2
- def dm_l2
- def dm_eqv == (v / n) n + v mod n (Mathlib Nat.div_add_mod)
- def dm_ltv mod n < n (Mathlib Nat.mod_lt)
- def div_ofthe quotient and remainder are unique
- def mod_of
- def add_cancelc + a == c + b gives a == b (Mathlib Nat.add_left_cancel)
- def mul_cancelx c == y c with c > 0 gives x == y (Mathlib Nat.eq_of_mul_eq_mul_right)
- def le_add_canceld + x <= d + y is x <= y
- def le_div_g
- def le_divx <= n / d is x d <= n (Mathlib Nat.le_div_iff_mul_le)
- def zsub
- def sub_cancel_l
- def mul_sub(x - y) c == x c - y c (Mathlib Nat.mul_sub_right_distrib)
- def absorb(q n + r) mod n == r mod n (Mathlib Nat.mul_add_mod)