def DivMod.rem

bend-collections-laws-crypto@1.0.0.0 · spec/math/w64.bend:92

import bend-collections-laws-crypto@1.0.0.0/spec/math/w64.bend as W64
import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as X

92def DivMod.rem(+a: W.U64, +b: W.U64, +hb: {X.is_zero(b) == False{} : Bool}) -> Type:
93  {value(X.rem(a, b)) == Nat.mod(value(a), value(b)) : Nat}

Uses (7)

Used by (1)