A clean description of amortized analysis for imperative languages in Coq.