首页> 外文会议>International Symposium on Formal Methods >An Implementation of Deflate in Coq
【24h】

An Implementation of Deflate in Coq

机译:COQ中缩小的实施

获取原文

摘要

The widely-used compression format "Deflate" is defined in RFC 1951 and is based on prefix-free codings and backreferences. There are unclear points about the way these codings are specified, and several sources for confusion in the standard. We tried to fix this problem by giving a rigorous mathematical specification, which we formalized in Coq. We produced a verified implementation in Coq which achieves competitive performance on inputs of several megabytes. In this paper we present the several parts of our implementation: a fully verified implementation of canonical prefix-free codings, which can be used in other compression formats as well, and an elegant formalism for specifying sophisticated formats, which we used to implement both a compression and decompression algorithm in Coq which we formally prove inverse to each other - the first time this has been achieved to our knowledge. The compatibility to other Deflate implementations can be shown empirically. We furthermore discuss some of the difficulties, specifically regarding memory and runtime requirements, and our approaches to overcome them.
机译:广泛使用的压缩格式“缩小”在RFC 1951中定义,基于无前缀编码和后退。关于指定这些编码的方式有目的不明确,以及标准中的几种混淆来源。我们试图通过提供严格的数学规范来解决这个问题,我们在COQ中正式化。我们在COQ中生产了验证的实施,这在几兆字节的输入上实现了竞争性能。在本文中,我们介绍了我们实现的几个部分:可以以其他压缩格式使用的规范前缀编码的完全验证实现,以及用于指定复杂格式的优雅形式主义,我们曾经实现过CoQ中的压缩和解压缩算法我们正式证明彼此反向 - 这是我们知识的第一次实现。可以凭经验显示对其他放气实现的兼容性。我们还讨论了一些困难,特别是关于内存和运行时要求的困难,以及我们克服它们的方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号