(* Author: Peter Lammich Tobias Nipkow (tuning) *) section ‹Binomial Heap› theory Binomial_Heap imports "HOL-Library.Pattern_Aliases" Complex_Main Priority_Queue_Specs Define_Time_Function begin text ‹ We formalize the binomial heap 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 Heap Datatype›