Documentation

Mathlib.Data.Int.Cast.Prod

The product of two AddGroupWithOnes. #

instance Prod.instAddGroupWithOne {α : Type u_1} {β : Type u_2} [AddGroupWithOne α] [AddGroupWithOne β] :
Equations
@[simp]
theorem Prod.fst_intCast {α : Type u_1} {β : Type u_2} [AddGroupWithOne α] [AddGroupWithOne β] (n : ) :
(↑n).1 = n
@[simp]
theorem Prod.snd_intCast {α : Type u_1} {β : Type u_2} [AddGroupWithOne α] [AddGroupWithOne β] (n : ) :
(↑n).2 = n