def ops_rem

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/u64laws.bend:92

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64laws.bend as U64laws
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/instances.bend as SI
import bend-collections-laws-math@1.0.0.0/spec/math/generic.bend as SG
import bend-collections-laws-math@1.0.0.0/src/math/instances.bend as I
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as WU
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64dmrem.bend as DR

92def ops_rem(+a: WU.U64, +b: WU.U64, +h: {Nat.is_eq(SG.u64_val(b), 0n) == False{} : Bool}) -> SI.Ops.rem(~WU.U64, ~I.u64_op, ~SG.u64_val, a, b, h):
93  DR.divmod_rem(a, b, nzb(b, h))

Uses (8)

Used by (5)