kirancodes.me
To Proof Maintenance & Beyond!

A Cost-Aware Probability Monad for Liquid Haskell

Matthias Hetzenberger, Georg Moser, Florian Zuleger

Abstract

Probabilistic algorithms and data structures are widely used to obtain favourable expected performance guarantees. While their mathematical analysis is often well understood, mechanising expected-cost analyses remains challenging, requiring reasoning about probability distributions, expectations, and recursive stochastic behaviour. Existing formal approaches frequently require substantial manual proof effort, since expected costs are often encoded separately from probabilistic computations and must therefore be propagated explicitly throughout proofs.

Related papers