Congruences modulo an integer #
This file defines the equivalence relation a ≡ b [ZMOD n] on the integers, similarly to how
Data.Nat.ModEq defines them for the natural numbers. The notation is short for n.ModEq a b,
which is defined to be a % n = b % n for integers a b n.
Tags #
modeq, congruence, mod, MOD, modulo, integers
a ≡ b [ZMOD n] when a % n = b % n.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Alias of the forward direction of Int.modEq_iff_dvd.
Alias of the reverse direction of Int.modEq_iff_dvd.