Implementing, Specifying, and Verifying the QOI Format in Dafny: A Case Study
摘要
We present as a case study a verified implementation in Dafny for the Quite OK Image Format, a recently introduced lossless image compression/decompression algorithm that aims to be simple, have a good compression ratio and be fast to execute. We present the choices we make in the implementation and the specification, which enable the verification effort.