一句话:在 Agda 中构造可认证的全序列化器,并以 Huffman 编码作为形式化正确性证明的应用案例。
论文讨论在 Agda 证明助手中构造“可认证”且“全”的序列化器。作者从为 Agda 课程准备应用驱动式教材出发,希望为常见算法给出正确性证明,并以 Huffman 数据压缩作为核心案例。其目标不是只写出能运行的序列化/编码代码,而是让序列化器本身成为全函数,并携带机器检查的正确性保证;Huffman 编码则用于展示这类经认证的序列化器如何落实到具体压缩算法。摘要主要交代了动机与案例背景,技术细节和完整评估未在给出的摘要中展开;从标题与摘要可确认,贡献集中在 Agda 中的机械化正确性证明及其在 Huffman 编码上的应用。
The other day, I was assembling lecture material for a course on Agda. Pursuing an application-driven approach, I was looking for correctness proofs of popular algorithms. One of my all-time favourites is Huffman data compression (Huffman, 1952). Even though it is probably safe to assume that you are familiar with this algorithmic gem, a brief reminder of the essential idea may not be amiss.