Further results about mod
. #
This file proves some results about mod
that are useful for bitblasting,
in particular
Nat.mod_mul : x % (a * b) = x % a + a * (x / a % b)
and its corollary
Nat.mod_pow_succ : x % b ^ (k + 1) = x % b ^ k + b ^ k * ((x / b ^ k) % b)
.
It contains the necesssary preliminary results relating order and *
and /
,
which should probably be moved to their own file.