Documentation

Mathlib.Algebra.Group.Int.Defs

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 #

@[instance_reducible]
Equations
  • One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
  • One or more equations did not get rendered due to their size.

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_reducible]
Equations
@[instance_reducible]
Equations
@[instance_reducible]
Equations
@[instance_reducible]
Equations
@[simp]
theorem Int.nsmul_eq_mul (n : ℕ) (a : ℤ) :
n • a = ↑n * a
@[simp]
theorem Int.zsmul_eq_mul (n a : ℤ) :
n • a = n * a
@[deprecated "use `zsmul_eq_mul`" (since := "2026-01-05")]
theorem zsmul_int_int (a b : ℤ) :
a • b = a * b
@[deprecated "use `zsmul_one`" (since := "2026-01-05")]
theorem zsmul_int_one (n : ℤ) :
n • 1 = n