Documentation

Mathlib.Algebra.Group.Int

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.normedCommRing being used to construct these instances non-computably.

Equations
Equations
Equations
Equations

Miscellaneous lemmas #

@[simp]
theorem Int.cast_id {n : ℤ} :
↑n = n
theorem Int.natAbs_pow (n : ℤ) (k : ℕ) :
theorem Int.coe_nat_strictMono :
StrictMono fun (x : ℕ) => ↑x
theorem Int.toAdd_pow (a : Multiplicative ℤ) (b : ℕ) :
Multiplicative.toAdd (a ^ b) = Multiplicative.toAdd a * ↑b
theorem Int.toAdd_zpow (a : Multiplicative ℤ) (b : ℤ) :
Multiplicative.toAdd (a ^ b) = Multiplicative.toAdd a * b
@[simp]
theorem Int.ofAdd_mul (a : ℤ) (b : ℤ) :
Multiplicative.ofAdd (a * b) = Multiplicative.ofAdd a ^ b
theorem zsmul_int_int (a : ℤ) (b : ℤ) :
a • b = a * b
theorem zsmul_int_one (n : ℤ) :
n • 1 = n