(* Author: Peter Lammich Tobias Nipkow (tuning) *) section ‹Binomial Priority Queue› theory Binomial_Heap imports "HOL-Library.Pattern_Aliases" Complex_Main Priority_Queue_Specs Time_Funs begin text ‹ We formalize the presentation from Okasaki's book. We show the functional correctness and complexity of all operations. The presentation is engineered for simplicity, and most proofs are straightforward and automatic. › subsection ‹Binomial Tree and Forest Types›