Proof Pearl: Braun Trees
summary
Paper supplies verified code and machine-checked proofs that pin down concrete claims: computing size in log^2 time, building an all-equal tree with n nodes in log n time, converting a list to a Braun tree in linear time and — crucially — a new linear-time tree→list algorithm. Two practical priority-queue Delmin implementations are given (one sift‑down style, one merge/extract style) and used to sort in n log n. Complexity arguments are done by explicit recurrence/time functions proven against the implementations.
AI-written summary · about
chapters (7)
- 0:00Introduction to brown trees
- 1:33Defining brown tree properties
- 3:28Array operations
- 5:53Conversion algorithms
- 10:08Priority queue implementations
- 14:15Sorting and performance
- 17:23Q&A and conclusion
related talks
51mFun with Algorithms
15mSealing Pointer-Based Optimizations Behind Pure Functions
21mBonsai: Compiling Queries to Pruned Tree Traversals
36mLifting With Sunflowers
18mParameterized Algorithms and Complexity for Function Merging with Branch Reordering
01h 12mLightning Talks by Simons Institute Fellows
20mThe Functional Essence of Imperative Binary Search Trees
43mPriority Search Queues: 1.5 dimensional Tree Search
