FLOC 2018: FEDERATED LOGIC CONFERENCE 2018
Verified Analysis of Random Binary Tree Structures

Authors: Manuel Eberl, Max W. Haslbeck and Tobias Nipkow

Paper Information

Title:Verified Analysis of Random Binary Tree Structures
Authors:Manuel Eberl, Max W. Haslbeck and Tobias Nipkow
Proceedings:ITP Papers
Editors: Jeremy Avigad and Assia Mahboubi
Keywords:probabilistic, randomised, Quicksort, binary search tree, treap, Isabelle
Abstract:

ABSTRACT. This work is a case study of the formal verification and complexity analysis of some famous probabilistic data structures and algorithms in the proof assistant Isabelle/HOL: – the expected number of comparisons in randomised Quicksort – the average-case analysis of deterministic Quicksort – the expected shape of an unbalanced random Binary Search Tree – the expected shape of a Treap The last two have, to our knowledge, never been analysed in a theorem prover before and the last one is particularly interesting because the analysis involves continuous distributions. The verification builds on the existing probability and measure theory in Isabelle/HOL. Algorithms are shallowly embedded and expressed in the Giry monad, which allows for a very natural and high-level presentation.

Pages:19
Talk:Jul 12 16:30 (Session 78B)
Paper: