aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-07-26 23:15:27 +0200
committerAndreas Grois <andi@grois.info>2024-07-26 23:15:27 +0200
commit13bb1e954d5bd3cb9a560d9318a8df751e393ccf (patch)
tree414b444d9d6fb190c5e1a2258d93cc44d32afd4d /TODO
parenta7d2b7cf0ffaa0134f65bc0cb3056b8162353517 (diff)
Partial implementation of heapRemoveLastWithIndexOnlyRemovesOneElement
Diffstat (limited to 'TODO')
-rw-r--r--TODO2
1 files changed, 1 insertions, 1 deletions
diff --git a/TODO b/TODO
index 382afc6..5f8f446 100644
--- a/TODO
+++ b/TODO
@@ -5,7 +5,7 @@ This is a rough outline of upcoming tasks:
[ ] 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
-[ ] Prove that CompleteTree.heapRemoveLastWithIndex indeed removes the last element
+[ ] 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
yield the same tree
- A potential approach is to show that any index in the resulting tree can be converted into an index