def div_nat
import bend-collections-laws-math@1.0.0.0/proofs/lib/u32div.bend as U32divimport Base
222# THEOREM: div is Nat division.
223def div_nat(+a: U32, +b: U32, +hb: {U32.is_zero(b) == False{} : Bool}) -> {v(U32.div(a, b)) == Nat.div(v(a), v(b)) : Nat}:
224 div_of(a, b, div_mod(a, b, hb))
Uses (9)
Used by (8)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64bits:ef_g
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32laws:ops_quot
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix32:cdiv
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/shrn:div_p2
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64est:dpos
- …