fintype instances for sigma types #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
@[protected, instance]
Equations
- sigma.fintype β = {elems := finset.univ.sigma (λ (_x : α), finset.univ), complete := _}
@[simp]
theorem
finset.univ_sigma_univ
{α : Type u_1}
{β : α → Type u_2}
[fintype α]
[Π (a : α), fintype (β a)] :
finset.univ.sigma (λ (a : α), finset.univ) = finset.univ
@[protected, instance]
Equations
- psigma.fintype = fintype.of_equiv (Σ (i : α), β i) (equiv.psigma_equiv_sigma (λ (a : α), β a)).symm