aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-08-02 20:15:39 +0200
committerAndreas Grois <andi@grois.info>2024-08-02 20:15:39 +0200
commitede4ba0d37480186f333ad7d7bb2e3d48a7e7d52 (patch)
tree7a550c27457a0acc4e09637064aa3cf1ed7810dc /TODO
parentdb153666201f32f8ad5aa67f69abd6efccc525b6 (diff)
Proves about heapRemoveLast.
Diffstat (limited to 'TODO')
-rw-r--r--TODO6
1 files changed, 3 insertions, 3 deletions
diff --git a/TODO b/TODO
index c4ed7da..4a6c8e4 100644
--- a/TODO
+++ b/TODO
@@ -3,10 +3,10 @@ This is a rough outline of upcoming tasks:
[ ] Prove that an index exists such that after CompleteTree.heapPush the pushed element can be obtained by
CompleteTree.get
[ ] Prove that CompleteTree.heapUpdateAt returns the element at the given index
-[ ] Prove that CompleteTree.heapRemoveLastWithIndex and CompleteTree.heapRemoveLast yield the same tree
-[ ] Prove that CompleteTree.heapRemoveLastWithIndex and CompleteTree.heapRemoveLast yield the same element
+[x] Prove that CompleteTree.heapRemoveLastWithIndex and CompleteTree.heapRemoveLast yield the same tree
+[x] Prove that CompleteTree.heapRemoveLastWithIndex and CompleteTree.heapRemoveLast yield the same element
[x] Prove that CompleteTree.heapRemoveLastWithIndex only removes one element and leaves the rest unchanged
- - This automatically serves as a proof for CompleteTree.heapRemoveLast, once it is shown that they
+ [x] This automatically serves as a proof for CompleteTree.heapRemoveLast, once it is shown that they
yield the same tree
- Done by showing that each element of the input tree is in the output tree, except for the one at the
returned index.