<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aoc-2023/Common/BinaryHeap.lean, branch main</title>
<subtitle>Advent of Code 2023 - I'm still learning Lean4, so please don't judge. </subtitle>
<id>https://git.grois.info/aoc-2023/atom/Common/BinaryHeap.lean?h=main</id>
<link rel='self' href='https://git.grois.info/aoc-2023/atom/Common/BinaryHeap.lean?h=main'/>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/'/>
<updated>2024-08-31T22:03:28Z</updated>
<entry>
<title>Move BinaryHeap to its own Github project.</title>
<updated>2024-08-31T22:03:28Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-08-31T22:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=539545228c4d78cc3fdbf369c3934ad27fd17b32'/>
<id>urn:sha1:539545228c4d78cc3fdbf369c3934ad27fd17b32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Heap: Nomenclature and namespace changes.</title>
<updated>2024-07-21T17:21:02Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-07-21T17:21:02Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=2b6a25a248d7e588cdef266d8d62f50568c5de10'/>
<id>urn:sha1:2b6a25a248d7e588cdef266d8d62f50568c5de10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify CompleteTree.heapRemoveLastWithIndexReturnsItemAtIndex</title>
<updated>2024-07-21T16:52:02Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-07-21T16:52:02Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=feb2542732913a57aad8ce06d7923cb8d6d546b4'/>
<id>urn:sha1:feb2542732913a57aad8ce06d7923cb8d6d546b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Finish CompleteTree.heapRemoveLastWithIndexReturnsItemAtIndex</title>
<updated>2024-07-21T13:34:01Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-07-21T13:34:01Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=0f19f8ee7578cded305dd309baa63c6de1f80f8e'/>
<id>urn:sha1:0f19f8ee7578cded305dd309baa63c6de1f80f8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Heap: Unfinished proof RemoveLastWithIndex returns consistent data.</title>
<updated>2024-07-20T17:45:13Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-07-20T17:45:13Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=7b10e3e65abc1ed509872f64a8c1dcd890775f06'/>
<id>urn:sha1:7b10e3e65abc1ed509872f64a8c1dcd890775f06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Minor: Replace some simp by simp only in BinaryHeap</title>
<updated>2024-07-20T15:32:44Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-07-20T15:32:44Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=e0faf20f446cbdb7723f2cc647c25590651815d6'/>
<id>urn:sha1:e0faf20f446cbdb7723f2cc647c25590651815d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove CompleteTree.indexOfLast, add CompleteTree.heapRemoveLastWithIndex</title>
<updated>2024-07-19T22:10:13Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-07-19T22:10:13Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=8659efb6bf0f3e21f0ab8d78e657739bc2238142'/>
<id>urn:sha1:8659efb6bf0f3e21f0ab8d78e657739bc2238142</id>
<content type='text'>
indexOfLast was going through the tree the same way as heapRemoveLast
did, so heapRemoveLast now can optionally compute the index.
</content>
</entry>
<entry>
<title>Heap: Further nomenclature improvements.</title>
<updated>2024-07-19T15:06:50Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-07-19T15:06:50Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=b22f0f04c6fdf378a4c586cab657975f7d49f992'/>
<id>urn:sha1:b22f0f04c6fdf378a4c586cab657975f7d49f992</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make CompleteTree.heapRemoveLast private.</title>
<updated>2024-07-19T15:03:45Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-07-19T15:03:45Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=4d67d2e1597d1ed976fb4d1eb0062171925a45cb'/>
<id>urn:sha1:4d67d2e1597d1ed976fb4d1eb0062171925a45cb</id>
<content type='text'>
It's confusing, because it uses breadth-first indexing, and regular
indices are depth-first.
Also, it's not needed in the public API, as there is the removeAt
function that can do the same.
</content>
</entry>
<entry>
<title>Heap: Nomenclature clarified. Push and Pop now do what is expected.</title>
<updated>2024-07-19T14:45:09Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2024-07-19T14:45:09Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/aoc-2023/commit/?id=fa9074b17a6afc73cdf1854da222ba961fc1cc5c'/>
<id>urn:sha1:fa9074b17a6afc73cdf1854da222ba961fc1cc5c</id>
<content type='text'>
</content>
</entry>
</feed>
