The product of two AddGroupWithOne
s. #
instance
Prod.instAddGroupWithOneProd
{α : Type u_1}
{β : Type u_2}
[AddGroupWithOne α]
[AddGroupWithOne β]
:
AddGroupWithOne (α × β)
Equations
- Prod.instAddGroupWithOneProd = 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