Theorems · Theorem · order theory
List.mergeSort_eq_insertionSort
∀ {α : Type u_1} (r : α → α → Prop) [inst : DecidableRel r] [Std.Total r] [IsTrans α r] [Std.Antisymm r] (l : List α),
(l.mergeSort fun x1 x2 => decide (r x1 x2)) = List.insertionSort r l- Defined in
- Mathlib.Data.List.Sort
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 58 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites6
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- IsTransstatement and proof · cited by 157
- List.insertionSortstatement · cited by 19
- List.Perm.eq_of_pairwise'proof · cited by 11
- List.pairwise_mergeSort'proof · cited by 5
- List.pairwise_insertionSortproof · cited by 4
- List.perm_insertionSortproof · cited by 3
Cited by1
Results whose statement or proof uses this declaration.
- Multiset.sort_consproof · cited by 1