Congruences modulo a natural number #
This file defines the equivalence relation a ≡ b [MOD n] on the natural numbers,
and proves basic properties about it such as the Chinese Remainder Theorem
modEq_and_modEq_iff_modEq_mul.
Notations #
a ≡ b [MOD n] is notation for nat.ModEq n a b, which is defined to mean a % n = b % n.
Tags #
ModEq, congruence, mod, MOD, modulo
Equations
- Nat.ModEq.instTrans = { trans := ⋯ }