law add_mul_mod_self_left

bend-mathlib@0.8.1.0 · nat.bend:3486

import bend-mathlib@0.8.1.0/nat.bend as Nat
import 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}

Uses (6)

Used by (2)