Coq中操作数的形式化
A Formalization of Operads in Coq
摘要:
什么为编程语言中执行的正确性提供最高级别的保证?一个答案,特别是我们的解决方案,这个问题是提供一个形式化的,如果它存在,编程语言的指称语义。实现这样的形式化为确保编程语言的构造正确性提供了黄金标准。在DARPA V-SPELLS计划中,我们使用一个称为运算符的数学对象,为元语言的指称语义提供了基础。这个对象具有组合属性,这对于从较小的块构建语言至关重要。在本文中,我们讨论了我们的形式化的证明助手Coq的操作数。此外,我们在Coq中的定义能够证明Coq中指定的对象是操作数。Coq中的这项工作为我们在V-SPELLS中的元语言开发提供了正式的数学基础。我们的工作还提供了,据我们所知,第一个已知的形式化的操作在一个证明助理,具有显着的自动化,以及一个模型,可以复制没有同伦类型理论的知识。
英文摘要:
What provides the highest level of assurance for correctness of execution within a programming language? One answer, and our solution in particular, to this problem is to provide a formalization for, if it exists, the denotational semantics of a programming language. Achieving such a formalization provides a gold standard for ensuring a programming language is correct-by-construction. In our effort on the DARPA V-SPELLS program, we worked to provide a foundation for the denotational semantics of a meta-language using a mathematical object known as an operad. This object has compositional properties which are vital to building languages from smaller pieces. In this paper, we discuss our formalization of an operad in the proof assistant Coq. Moreover, our definition within Coq is capable of providing proofs that objects specified within Coq are operads. This work within Coq provides a formal mathematical basis for our meta-language development within V-SPELLS. Our work also provides, to our knowledge, the first known formalization of operads within a proof assistant that has significant automation, as well as a model that can be replicated without knowledge of Homotopy Type Theory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。