index
:
aoc-2023
feature/day17
main
Advent of Code 2023 - I'm still learning Lean4, so please don't judge.
Andreas Grois
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
Common
/
BinaryHeap.lean
Commit message (
Expand
)
Author
Age
Files
Lines
*
Heap: Further nomenclature improvements.
Andreas Grois
2024-07-19
1
-28
/
+28
*
Make CompleteTree.heapRemoveLast private.
Andreas Grois
2024-07-19
1
-40
/
+38
*
Heap: Nomenclature clarified. Push and Pop now do what is expected.
Andreas Grois
2024-07-19
1
-111
/
+111
*
Heap: Exchange return values of the remove/replace functions.
Andreas Grois
2024-07-19
1
-56
/
+56
*
Factor out proofs of CompleteTree.popLast for readability
Andreas Grois
2024-07-19
1
-52
/
+44
*
Heap: Minor cleanup. Do a TODO.
Andreas Grois
2024-07-17
1
-92
/
+68
*
Finish BinaryHeap.RemoveAt.
Andreas Grois
2024-07-16
1
-25
/
+119
*
Continue on CompleteTree.heapReplaceElementAtIsHeap. Nearly done.
Andreas Grois
2024-07-15
1
-13
/
+72
*
Further work on heapReplaceElementAtIsHeap
Andreas Grois
2024-07-14
1
-2
/
+23
*
Continue at CompleteTree.heapReplaceElementAtIsHeap
Andreas Grois
2024-07-14
1
-1
/
+22
*
BinaryHeap.RemoveRoot added, and some proofs cleaned up a bit
Andreas Grois
2024-07-14
1
-22
/
+26
*
Finish CompleteTree.heapReplaceRootIsHeap.
Andreas Grois
2024-07-14
1
-9
/
+42
*
Continue proof for heapReplaceRootIsHeap (heapReplaceElementAtIsHeap)
Andreas Grois
2024-07-13
1
-7
/
+56
*
Squashed commit of the following:
Andreas Grois
2024-07-12
1
-165
/
+173
*
Continue on CompleteTree.heapReplaceElementAtIsHeap
Andreas Grois
2024-07-10
1
-9
/
+210
*
Finish CompleteTree.get implementation. Not proven to be correct yet.
Andreas Grois
2024-06-30
1
-6
/
+7
*
partial implementation of CompleteTree.get
Andreas Grois
2024-06-30
1
-0
/
+18
*
CompleteTree.replaceElementAt finished - now needs proof
Andreas Grois
2024-06-30
1
-22
/
+40
*
Partial implementation of CompleteTree.removeAtIndex
Andreas Grois
2024-06-30
1
-3
/
+57
*
CompleteTree.popLastIsHeap finished.
Andreas Grois
2024-06-29
1
-2
/
+14
*
Continue on popLast proof. popLastLeavesRoot finished.
Andreas Grois
2024-06-28
1
-13
/
+59
*
Continue on popLast validity proof. Still incomplete.
Andreas Grois
2024-06-27
1
-5
/
+57
*
Heap: Trivial part of popLastIsHeap proof.
Andreas Grois
2024-03-31
1
-0
/
+16
*
Make BinaryTree.PopLast function work with unfold
Andreas Grois
2024-01-30
1
-32
/
+34
*
Make Find function take a predicate. Simplify PopLast.
Andreas Grois
2024-01-25
1
-27
/
+26
*
Minor, rename wellDefinedLt to wellDefinedLe
Andreas Grois
2024-01-13
1
-4
/
+4
*
Change heap from less-than to less-than-or-equal.
Andreas Grois
2024-01-13
1
-148
/
+83
*
Fix Heap Insert preserves Heap Proof. Preconditions were wrong.
Andreas Grois
2024-01-13
1
-18
/
+59
*
Rename not_equal to antisymm, because that's what it is.
Andreas Grois
2024-01-10
1
-7
/
+7
*
(Finally) rename BalancedTree to CompleteTree
Andreas Grois
2024-01-10
1
-52
/
+52
*
Implement actual BinaryHeap.insert function.
Andreas Grois
2024-01-10
1
-0
/
+6
*
Proof that heap insert preserves a heap is done!
Andreas Grois
2024-01-10
1
-3
/
+73
*
Heap.insert: Insert-Left is proven now.
Andreas Grois
2024-01-10
1
-7
/
+45
*
More progress on heap.insert proof
Andreas Grois
2024-01-09
1
-8
/
+25
*
Further progress on heap insert proof.
Andreas Grois
2024-01-08
1
-12
/
+10
*
Progress on the proof that heap.insert keeps the heap intact.
Andreas Grois
2024-01-08
1
-0
/
+17
*
Unfinished proof that insert keeps heap a heap
Andreas Grois
2024-01-05
1
-31
/
+99
*
Even more cleanup in Heap
Andreas Grois
2023-12-18
1
-6
/
+0
*
More cleanup of code in BinaryHeap.
Andreas Grois
2023-12-18
1
-55
/
+1
*
Partial cleanup of Heap
Andreas Grois
2023-12-18
1
-119
/
+25
*
Heap now has balancing conditions complete
Andreas Grois
2023-12-18
1
-18
/
+174
*
Heap: At least one subtree needs to be perfect now.
Andreas Grois
2023-12-15
1
-13
/
+113
*
Rename file to BinaryHeap, as it isn't a BTree
Andreas Grois
2023-12-13
1
-0
/
+172