首页> 外文期刊>Science of Computer Programming >Exploration of language specifications by compilation to first-order logic
【24h】

Exploration of language specifications by compilation to first-order logic

机译:通过编译为一阶逻辑来探索语言规范

获取原文
获取原文并翻译 | 示例

摘要

Exploration of language specifications helps to discover errors and inconsistencies early during the development of a programming language. We propose exploration of language specifications via application of existing automated first-order theorem provers (ATPs). To this end, we translate language specifications and exploration tasks to first-order logic, which many ATPs accept as input. However, there are several different strategies for compiling a language specification to first-order logic, and even small variations in the translation may have a large impact on the time it takes ATPs to find proofs.In this paper, we first present a systematic empirical study on how to best compile language specifications to first-order logic such that existing ATPs can solve typical exploration tasks efficiently. We have developed a compiler product line that implements 36 different compilation strategies and used it to feed language specifications to 4 existing first-order theorem provers. As benchmarks, we developed language specifications for typed SQL and for a Questionnaire Language (QL), with 50 exploration goals each. Our study empirically confirms that the choice of a compilation strategy greatly influences prover performance in general and shows which strategies are advantageous for prover performance. Second, we extend our empirical study with 4 domain-specific strategies for axiom selection and find that axiom selection does not influence prover performance in our benchmark specifications.
机译:对语言规范的探索有助于在开发编程语言的早期发现错误和不一致之处。我们建议通过应用现有的自动一阶定理证明(ATP)来探索语言规范。为此,我们将语言规范和探索任务转换为许多ATP接受为输入的一阶逻辑。但是,将语言规范编译为一阶逻辑有几种不同的策略,即使翻译中的很小变化也可能对ATP查找证明的时间产生很大的影响。本文首先介绍了系统的经验研究如何将语言规范最佳地编译为一阶逻辑,以便现有的ATP可以有效地解决典型的探索任务。我们已经开发了一种编译器产品线,该产品线可实现36种不同的编译策略,并将其用于将语言规范提供给4个现有的一阶定理证明者。作为基准,我们开发了针对类型化SQL和问卷调查语言(QL)的语言规范,每个都有50个探索目标。我们的研究从经验上证实,编译策略的选择总体上会极大地影响证明者的表现,并表明哪种策略对证明者的表现有利。其次,我们用4种针对特定领域的公理选择策略扩展了我们的实证研究,并发现公理选择不会影响基准规范中的证明者性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号