Mathlib Map

Theorems · Definition · order theory

List.insertionSort

{α : Type u_1} → (r : α → α → Prop) → [DecidableRel r] → List α → List α

insertionSort l returns l sorted using the insertion sort algorithm.

Defined in
Mathlib.Data.List.Sort
Cited by
19 results in Mathlib
Foundations
Depth 8 from the axioms · uses no axioms
Assumes
DecidableRel

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.

Cited by19

Results whose statement or proof uses this declaration.