Theorems · Definition · combinatorics
Fintype.truncEquivFin
(α : Type u_4) → [DecidableEq α] → [inst : Fintype α] → Trunc (α ≃ Fin (Fintype.card α))
There is (computably) an equivalence between α and Fin (card α).
Since it is not unique and depends on which permutation
of the universe list is used, the equivalence is wrapped in Trunc to
preserve computability.
See Fintype.equivFin for the noncomputable version,
and Fintype.truncEquivFinOfCardEq and Fintype.equivFinOfCardEq
for an equiv α ≃ Fin n given Fintype.card α = n.
See Fintype.truncFinBijection for a version without [DecidableEq α].
- Defined in
- Mathlib.Data.Fintype.EquivFin
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 58 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- DecidableEqFintype
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites10
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Equivstatement · cited by 8,337
- Fintypestatement and proof · cited by 7,736
- Equiv.symmproof · cited by 3,681
- Finset.univproof · cited by 3,473
- Fintype.cardstatement · cited by 1,386
- Finset.valproof · cited by 438
- Truncstatement · cited by 39
- Trunc.mkproof · cited by 21
- Finset.mem_univ_valproof · cited by 2
- List.Nodup.getEquivOfForallMemListproof · cited by 2
Cited by7
Results whose statement or proof uses this declaration.
- Fintype.equivFinproof · cited by 51
- FinEnum.card_eq_fintypeCardproof · cited by 4
- Fintype.truncEquivFinOfCardEqproof · cited by 2
- Function.Embedding.truncOfCardLEproof · cited by 1
- Fintype.truncEquivOfCardEqproof · cited by 1
- Fintype.truncRecEmptyOptionproof · cited by 1
- Encodable.fintypeArrowproof · cited by 0