def mod_small
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/natfuel.bend as Natfuelimport 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)