law add_mul_mod_self_left
import bend-mathlib@0.8.1.0/nat.bend as Natimport Base
3486# Adding a multiple of the divisor keeps the remainder: (a + b * c) % b = a % b.
3487law add_mul_mod_self_left:
3488 for a: Nat
3489 for b: Nat
3490 for c: Nat
3491 {Nat.mod(Nat.add(a, Nat.mul(b, c)), b) == Nat.mod(a, b) : Nat}