arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1304.6626cs.HC
收藏

PIDE作为Coq的前端技术

PIDE as front-end technology for Coq

Makarius Wenzel

摘要:

Isabelle/PIDE是Isabelle当前的Prover IDE技术。在过去的4-5年里,它已经在ML和Scala中为这个特殊的证明助手开发,但对其他系统持开放态度。PIDE基于异步文档模型,其中证明器连续接收编辑并相应地更新其内部状态。编辑的解释和校样文档处理的政策由证明者决定。编辑器前端仅负责正式文档内容的视觉呈现。在这里,我们报告了将Coq连接到Isabelle的PIDE基础设施的实验。这就需要在OCaml中重新实现Isabelle/ML的核心PIDE协议层。在现有CoqIde功能的意义上,用于证明文档内容的语义处理的有效载荷被限制为词法分析。这足以作为PIDE连接性的概念验证。实际的证明处理是将Coq改进为无时间和无状态的证明处理,独立于PIDE技术。实现工作顺利,只需对Isabelle 2013的改进PIDE架构进行最小的更改。本实验证实了PIDE作为验证者相互作用的一般方法。它说明了如何更大的ITP家庭的其他证明人可以参与以下类似的改革经典的TTY循环是为伊莎贝尔在过去几年。

英文摘要:

Isabelle/PIDE is the current Prover IDE technology for Isabelle. It has been developed in ML and Scala in the past 4-5 years for this particular proof assistant, but with an open mind towards other systems. PIDE is based on an asynchronous document model, where the prover receives edits continuously and updates its internal state accordingly. The interpretation of edits and the policies for proof document processing are determined by the prover. The editor front-end merely takes care of visual rendering of formal document content. Here we report on an experiment to connect Coq to the PIDE infrastructure of Isabelle. This requires to re-implement the core PIDE protocol layer of Isabelle/ML in OCaml. The payload for semantic processing of proof document content is restricted to lexical analysis in the sense of existing CoqIde functionality. This is sufficient as proof-of-concept for PIDE connectivity. Actual proof processing is then a matter of improving Coq towards timeless and stateless proof processing, independently of PIDE technicalities. The implementation worked out smoothly and required minimal changes to the refined PIDE architecture of Isabelle2013. This experiment substantiates PIDE as general approach to prover interaction. It illustrates how other provers of the greater ITP family can participate by following similar reforms of the classic TTY loop as was done for Isabelle in the past few years.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑