迈向可扩展的证明引擎:面向Coq的高性能原型重写原语
Towards a Scalable Proof Engine: A Performant Prototype Rewriting Primitive for Coq
AI总结:
针对系统规模与复杂度增长下的验证规模化难题,提出研究高性能证明引擎的议程,开发了基于反射证明的Coq重写原型模块,经Fiat Cryptography验证使提取的编译器提速约1000倍且证明更简洁,为规模化验证奠基。
摘要:
我们应对验证工作规模化的挑战,以匹配系统日益增长的复杂度和规模。我们提出了一项研究议程,旨在通过研究证明引擎的渐近性能并重新设计其构建模块,打造高性能证明引擎。作为案例研究,我们探究了等式重写,并引入了一种用于Coq中重写的新型原型证明引擎构建模块,利用反射式证明来提升性能。\n我们的原型实现可显著改进已验证编译器的开发,这一点在Fiat Cryptography工具链的案例研究中得到了验证。最终提取出的命令行编译器速度提升约1000倍,同时编译器特定的证明也更简洁。这项工作为验证工作的规模化奠定了一定基础,并为开发具备良好渐近性能的证明引擎这一更宏大目标作出了贡献,最终目标是实现更大规模、更复杂系统的验证。
英文摘要:
We address the challenges of scaling verification efforts to match the increasing complexity and size of systems. We propose a research agenda aimed at building a performant proof engine by studying the asymptotic performance of proof engines and redesigning their building blocks. As a case study, we explore equational rewriting and introduce a novel prototype proof engine building block for rewriting in Coq, utilizing proof by reflection for enhanced performance. Our prototype implementation can significantly improve the development of verified compilers, as demonstrated in a case study with the Fiat Cryptography toolchain. The resulting extracted command-line compiler is about 1000$\times$ faster while featuring simpler compiler-specific proofs. This work lays some foundation for scaling verification efforts and contributes to the broader goal of developing a proof engine with good asymptotic performance, ultimately aimed at enabling the verification of larger and more complex systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。