chore: fix test
This commit is contained in:
parent
8d9626dab7
commit
10d43492ba
1 changed files with 3 additions and 3 deletions
|
|
@ -4,8 +4,8 @@ heapSort.lean:61:30-61:35: warning: declaration uses 'sorry'
|
|||
heapSort.lean:110:29-110:34: warning: declaration uses 'sorry'
|
||||
@Array.heapSort.loop._eq_1 : ∀ {α : Type u_1} (lt : α → α → Bool) (a : BinaryHeap α fun y x => lt x y) (out : Array α),
|
||||
Array.heapSort.loop lt a out =
|
||||
match BinaryHeap.max a, (_ : BinaryHeap.max a = BinaryHeap.max a) with
|
||||
| none, e => out
|
||||
| some x, e =>
|
||||
match e : BinaryHeap.max a with
|
||||
| none => out
|
||||
| some x =>
|
||||
let_fun this := (_ : BinaryHeap.size (BinaryHeap.popMax a) < BinaryHeap.size a);
|
||||
Array.heapSort.loop lt (BinaryHeap.popMax a) (Array.push out x)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue