Documentation

Mathlib.Data.Int.Cast.Prod

The product of two AddGroupWithOnes. #

instance Prod.instAddGroupWithOne {α : Type u_1} {β : Type u_2} [AddGroupWithOne α] [AddGroupWithOne β] :
Equations
  • Prod.instAddGroupWithOne = let __src := Prod.instAddMonoidWithOne; let __src_1 := Prod.instAddGroup; AddGroupWithOne.mk SubNegMonoid.zsmul
@[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