Documentation

Mathlib.Data.Nat.Cast.Commute

Cast of natural numbers: lemmas about Commute #

theorem Nat.cast_commute {α : Type u_1} [NonAssocSemiring α] (n : ) (x : α) :
Commute (n) x
theorem Commute.ofNat_left {α : Type u_1} [NonAssocSemiring α] (n : ) [Nat.AtLeastTwo n] (x : α) :
theorem Nat.cast_comm {α : Type u_1} [NonAssocSemiring α] (n : ) (x : α) :
n * x = x * n
theorem Nat.commute_cast {α : Type u_1} [NonAssocSemiring α] (x : α) (n : ) :
Commute x n
theorem Commute.ofNat_right {α : Type u_1} [NonAssocSemiring α] (x : α) (n : ) [Nat.AtLeastTwo n] :