law mod_add_div

bend-mathlib@0.8.1.0 · nat.bend:2114

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

Uses (9)

Used by (3)