law mod_add_div
import bend-mathlib@0.8.1.0/nat.bend as Natimport Base
2114# The remainder plus the divisor times the quotient is the dividend: a % b + b * (a / b) = a.
2115law mod_add_div:
2116 for a: Nat
2117 for b: Nat
2118 {Nat.add(Nat.mod(a, b), Nat.mul(b, Nat.div(a, b))) == a : Nat}