def mod_small

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/natfuel.bend:247

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/natfuel.bend as Natfuel
import Base
import bend-collections-laws-math@1.0.0.0/proofs/math/natural/arith.bend as NR

247def mod_small(+mp: Nat, +d: Nat, +h: {Nat.is_lt(d, 1n+mp) == True{} : Bool}) -> {Nat.mod(d, 1n+mp) == d : Nat}:
248  NR.mod_of(0n, mp, d, h)

Uses (5)

Used by (3)