Basic
📁 Source: Batteries/Data/BinaryHeap/Basic.lean
Statistics
| Metric | Count |
|---|---|
DefinitionsheapSort, toBinaryHeap, arr, decreaseKey, empty, extractMax, get, heapifyDown, heapifyUp, increaseKey, insert, insertExtractMax, instEmptyCollection, instInhabited, max, mkHeap, popMax, replaceMax, singleton, size, toBinaryHeap | 21 |
| 3 | |
| Total | 24 |
Array
Definitions
| Name | Category | Theorems |
|---|---|---|
heapSort 📖 | CompOp | — |
toBinaryHeap 📖 | CompOp | — |
Batteries.BinaryHeap
Definitions
| Name | Category | Theorems |
|---|---|---|
arr 📖 | CompOp | — |
decreaseKey 📖 | CompOp | — |
empty 📖 | CompOp | — |
extractMax 📖 | CompOp | — |
get 📖 | CompOp | — |
heapifyDown 📖 | CompOp | — |
heapifyUp 📖 | CompOp | — |
increaseKey 📖 | CompOp | — |
insert 📖 | CompOp | |
insertExtractMax 📖 | CompOp | — |
instEmptyCollection 📖 | CompOp | — |
instInhabited 📖 | CompOp | — |
max 📖 | CompOp | — |
mkHeap 📖 | CompOp | — |
popMax 📖 | CompOp | |
replaceMax 📖 | CompOp | — |
singleton 📖 | CompOp | — |
size 📖 | CompOp |
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
size_insert 📖 | mathematical | — | sizeinsert | — | — |
size_popMax 📖 | mathematical | — | sizepopMax | — | — |
size_pos_of_max 📖 | mathematical | max | size | — | — |
Batteries.Vector
Definitions
| Name | Category | Theorems |
|---|---|---|
toBinaryHeap 📖 | CompOp | — |
---