Mathlib Map

Theorems · Definition · combinatorics

List.Nodup.getEquiv

{α : Type u_1} → [DecidableEq α] → (l : List α) → l.Nodup → Fin l.length ≃ { x // x ∈ l }

If l has no duplicates, then List.get defines an equivalence between Fin (length l) and the set of elements of l.

Defined in
Mathlib.Data.List.NodupEquivFin
Cited by
2 results in Mathlib
Foundations
Depth 56 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
DecidableEq

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites1

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

  • Equivstatement · cited by 8,337

Cited by3

Results whose statement or proof uses this declaration.