Theorems · Definition · group theory
AddCommGroup.ModEq
{M : Type u_1} → [AddCommMonoid M] → M → M → M → Propa ≡ b [PMOD p] means that b is congruent to a modulo p.
If a, b are elements of an additive group,
then a ≡ b [PMOD p] iff m • p = b - a for some m : ℤ, see modEq_iff_zsmul below.
For additive commutative monoid, the definition is given by modEq_iff_nsmul.
Equivalently (as shown in Algebra.Order.ToIntervalMod), b does not lie in the open interval
(a, a + p) modulo p, or toIcoMod hp a disagrees with toIocMod hp a at b, or
toIcoDiv hp a disagrees with toIocDiv hp a at b.
- Defined in
- Mathlib.Algebra.Group.ModEq
- Cited by
- 107 results in Mathlib
- Foundations
- Depth 6 from the axioms, rests on 31 definitions · uses no axioms
- Assumes
- AddCommMonoid
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- AddCommMonoidstatement and proof · cited by 12,281
Cited by107
Results whose statement or proof uses this declaration.
- AddCommGroup.modEq_commstatement · cited by 11
- AddCommGroup.modEq_iff_nsmulstatement · cited by 11
- AddCommGroup.modEq_rflstatement · cited by 8
- AddCommGroup.modEq_iff_zsmulstatement · cited by 5
- AddCommGroup.ModEq.transstatement and proof · cited by 5
- AddCommGroup.modEq_iff_eq_add_zsmulstatement · cited by 4
- AddCommGroup.ModEq.add_iff_leftstatement and proof · cited by 3
- AddCommGroup.intCast_modEq_intCaststatement · cited by 3
- AddCommGroup.modEq_iff_toIcoMod_eq_leftstatement · cited by 3
- AddCommGroup.not_modEq_iff_toIcoDiv_eq_toIocDivstatement · cited by 3
- AddCommGroup.not_modEq_iff_toIcoMod_eq_toIocModstatement · cited by 3
- AddCommGroup.tfae_modEqstatement · cited by 3