def u32_div

bend-collections-laws-math@1.0.0.0 · proofs/math/proof.bend:26

import bend-collections-laws-math@1.0.0.0/proofs/math/proof.bend as Proof
import Base
import bend-collections-laws-math@1.0.0.0/proofs/lib/u32div.bend as UD

26# U32 long division (Base's U32.div / U32.mod), every nonzero divisor
27def u32_div(+a: U32, +b: U32, +hb: {U32.is_zero(b) == False{} : Bool}) -> {U32.to_nat(U32.div(a, b)) == Nat.div(U32.to_nat(a), U32.to_nat(b)) : Nat}:
28  UD.div_nat(a, b, hb)

Uses (8)

Used by (0)

No other definition uses this definition.