fintype instance for the product of two fintypes. #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
@[protected, instance]
Equations
- prod.fintype α β = {elems := finset.univ ×ˢ finset.univ, complete := _}
@[simp]
@[simp]
theorem
fintype.card_prod
(α : Type u_1)
(β : Type u_2)
[fintype α]
[fintype β] :
fintype.card (α × β) = fintype.card α * fintype.card β
@[protected, instance]
def
pi.infinite_of_left
{ι : Sort u_1}
{π : ι → Type u_2}
[∀ (i : ι), nontrivial (π i)]
[infinite ι] :
@[protected, instance]
Non-dependent version of pi.infinite_of_left
.
@[protected, instance]
Non-dependent version of pi.infinite_of_exists_right
and pi.infinite_of_right
.