summaryrefslogtreecommitdiff
path: root/Common/List.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2025-11-16 14:24:46 +0100
committerAndreas Grois <andi@grois.info>2025-11-16 14:24:46 +0100
commit6d10b7594f487bdfbef99d05bda34405dd85c8b8 (patch)
tree42c630d3612322af6cabcd3ac197912507872e45 /Common/List.lean
parent4fbeb023e0b2c58895e8df8d169035e274159537 (diff)
Lean 4.23
Diffstat (limited to 'Common/List.lean')
-rw-r--r--Common/List.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common/List.lean b/Common/List.lean
index f6c0de5..9db3b86 100644
--- a/Common/List.lean
+++ b/Common/List.lean
@@ -23,7 +23,7 @@ def quicksortBy {α : Type} (pred : α → α → Bool): List α → List α
termination_by l => l.length
decreasing_by
all_goals
- simp +arith only [unattach_filter, unattach_attach, length_cons, gt_iff_lt, listFilterSmallerOrEqualList]
+ simp +arith only [unattach_filter, unattach_attach, length_cons, listFilterSmallerOrEqualList]
def quicksort {α : Type} [Ord α] : List α → List α := quicksortBy λ a b ↦ Ord.compare a b == Ordering.lt