Module docstring
{"# Rings and Fin
This file collects some basic results involving rings and the Fin type
Main results
RingEquiv.piFinTwo: The product overFin 2of some rings is the cartesian product
"}
{"# Rings and Fin
This file collects some basic results involving rings and the Fin type
RingEquiv.piFinTwo: The product over Fin 2 of some rings is the cartesian product"}
RingEquiv.piFinTwo
definition
(R : Fin 2 → Type*) [∀ i, Semiring (R i)] : (∀ i : Fin 2, R i) ≃+* R 0 × R 1
/-- The product over `Fin 2` of some rings is just the cartesian product of these rings. -/
@[simps]
def RingEquiv.piFinTwo (R : Fin 2 → Type*) [∀ i, Semiring (R i)] :
(∀ i : Fin 2, R i) ≃+* R 0 × R 1 :=
{ piFinTwoEquiv R with
toFun := piFinTwoEquiv R
map_add' := fun _ _ => rfl
map_mul' := fun _ _ => rfl }