The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V05. Groups

Mathlib.Algebra.Group.Int.Defs

13 declarations. Mathlib docs · Source

The integers form a group

This file contains the additive group and multiplicative monoid instances on the integers.

See note [foundational algebra order theory].

Instances

Extra instances to short-circuit type class resolution

These also prevent non-computable instances like Int.instNormedCommRing being used to construct these instances non-computably.

instance Int.instCommMonoid E0 #

CommMonoid ℤ

instance Int.instAddCommGroup E0 #

AddCommGroup ℤ

instance Int.instHasUniqueDiv E0 #

HasUniqueDiv ℤ

instance Int.instAddCommMonoid E0 #

AddCommMonoid ℤ

instance Int.instAddMonoid E0 #

AddMonoid ℤ

instance Int.instMonoid E0 #

Monoid ℤ

instance Int.instCommSemigroup E0 #

CommSemigroup ℤ

instance Int.instSemigroup E0 #

Semigroup ℤ

instance Int.instAddGroup E0 #

AddGroup ℤ

instance Int.instAddCommSemigroup E0 #

AddCommSemigroup ℤ

instance Int.instAddSemigroup E0 #

AddSemigroup ℤ

theorem Int.nsmul_eq_mul E0 #

∀ (n : ℕ) (a : ℤ), n • a = ↑n * a

theorem Int.zsmul_eq_mul E0 #

∀ (n a : ℤ), n • a = n * a