Basic lemmas for ℤˣ. #
This file contains lemmas on the units of ℤ.
Main results #
Int.units_eq_one_or: the invertible integers are 1 and -1.
See note [foundational algebra order theory].
Units #
theorem MonoidWithZeroHom.eq_one_or_neg_one {M : Type u_1} [MonoidWithZero M] (f : M →*₀ ℤ) {b : M} (hb : IsUnit b) :
The image of a unit under an arbitrary homomorphism to the integers is 1 or -1.
theorem MonoidWithZeroHom.sq_one {M : Type u_1} [MonoidWithZero M] (f : M →*₀ ℤ) {b : M} (hb : IsUnit b) :
The square of the image of 'b' under a homomorphism to the integers is 1 if 'b' is a unit.