首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Hierarchy Builder: Algebraic hierarchies Made Easy in Coq with Elpi (System Description)
【24h】

Hierarchy Builder: Algebraic hierarchies Made Easy in Coq with Elpi (System Description)

机译:层次结构建设者:代数层次结构在COQ方面搭配ELPI(系统说明)

获取原文
       

摘要

It is nowadays customary to organize libraries of machine checked proofs around hierarchies of algebraic structures. One influential example is the Mathematical Components library on top of which the long and intricate proof of the Odd Order Theorem could be fully formalized. Still, building algebraic hierarchies in a proof assistant such as Coq requires a lot of manual labor and often a deep expertise in the internals of the prover. Moreover, according to our experience, making a hierarchy evolve without causing breakage in client code is equally tricky: even a simple refactoring such as splitting a structure into two simpler ones is hard to get right. In this paper we describe HB, a high level language to build hierarchies of algebraic structures and to make these hierarchies evolve without breaking user code. The key concepts are the ones of factory, builder and abbreviation that let the hierarchy developer describe an actual interface for their library. Behind that interface the developer can provide appropriate code to ensure backward compatibility. We implement the HB language in the hierarchy-builder addon for the Coq system using the Elpi extension language.
机译:如今,习惯于组织机器的图书馆检查代数结构的层次结构。一个有影响力的例子是最重要的数学分量库,其中可以完全正式化的奇数秩序定理的长而复杂的证明。尽管如此,在诸如COQ的证据助理中建造代数层次结构需要很多人工劳动力,并且通常在箴言内部进行深层专业知识。此外,根据我们的经验,在不造成客户端代码中的破损的情况下,制作层次结构同样棘手:即使是一个简单的重构,如将结构分成两个更简单的重构很难实现。在本文中,我们描述了HB,一种高级语言来构建代数结构的层次结构,并使这些层次结构在不破坏用户代码的情况下进化。关键概念是工厂,构建器和缩写中的概念,使层次结构开发人员描述其库的实际接口。在该接口后面,开发人员可以提供适当的代码以确保向后兼容。我们使用ELPI扩展语言在COQ系统的层次结构 - 构建器插件中实现HB语言。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号