def ops_quot

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

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/w64dmtop.bend as DT

89def ops_quot(+a: WU.U64, +b: WU.U64, +h: {Nat.is_eq(SG.u64_val(b), 0n) == False{} : Bool}) -> SI.Ops.quot(~WU.U64, ~I.u64_op, ~SG.u64_val, a, b, h):
90  DT.divmod_quot(a, b, nzb(b, h))

Uses (8)

Used by (5)