Theory Pairing_Heap_LLVM.Ordered_Pairing_Heap_List2
section ‹Pairing Heap According to Oksaki (Modified)›
theory Ordered_Pairing_Heap_List2
imports
"HOL-Library.Multiset"
"HOL-Data_Structures.Priority_Queue_Specs"
begin
chapter ‹Pairing heaps›
text ‹
To make it useful we simply parametrized the formalization by the order. We ruse the formalization
of Tobias Nipkow, but make it ∗‹useful› for refinement by separating node and score. We also need
to add way to increase the score.›
subsection ‹Definitions›
text ‹This version of pairing heaps is a modified version
of the one by Okasaki \cite{Okasaki} that avoids structural invariants.›