Theorems · Definition · combinatorics
List.SortedLT.getIso
{α : Type u_1} → [inst : Preorder α] → [DecidableEq α] → (l : List α) → l.SortedLT → Fin l.length ≃o { x // x ∈ l }If l is a list sorted w.r.t. (<), then List.get defines an order isomorphism 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 69 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- PreorderDecidableEq
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites5
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Equivproof · cited by 8,337
- Preorderstatement and proof · cited by 7,952
- OrderIsostatement · cited by 874
- List.SortedLTstatement and proof · cited by 66
- List.Nodup.getEquivproof · cited by 2
Cited by3
Results whose statement or proof uses this declaration.
- Finset.orderIsoOfFinproof · cited by 7
- List.SortedLT.coe_getIso_symm_applystatement · cited by 0
- List.SortedLT.coe_getIso_applystatement · cited by 0