Documentation

Mathlib.Analysis.Normed.Ring.Int

The integers as normed ring #

This file contains basic facts about the integers as normed ring.

Recall that ‖n‖ denotes the norm of n as real number. This norm is always nonnegative, so we can bundle the norm together with this fact, to obtain a term of type NNReal (the nonnegative real numbers). The resulting nonnegative real number is denoted by ‖n‖₊.

@[deprecated Int.nnNorm_coe_units (since := "2026-10-31")]
theorem Int.nnnorm_coe_units (e : ℤˣ) :
‖↑e‖₊ = 1

Alias of Int.nnNorm_coe_units.

theorem Int.norm_coe_units (e : ℤˣ) :
‖↑e‖ = 1
@[simp]
theorem Int.nnNorm_natCast (n : ℕ) :
‖↑n‖₊ = ↑n
@[deprecated Int.nnNorm_natCast (since := "2026-10-31")]
theorem Int.nnnorm_natCast (n : ℕ) :
‖↑n‖₊ = ↑n

Alias of Int.nnNorm_natCast.

@[simp]
theorem Int.eNorm_natCast (n : ℕ) :
‖↑n‖ₑ = ↑n
@[deprecated Int.eNorm_natCast (since := "2026-11-06")]
theorem Int.enorm_natCast (n : ℕ) :
‖↑n‖ₑ = ↑n

Alias of Int.eNorm_natCast.

@[deprecated Int.toNat_add_toNat_neg_eq_nnNorm (since := "2026-10-31")]

Alias of Int.toNat_add_toNat_neg_eq_nnNorm.

@[simp]