【24h】

TWAM: A Certifying Abstract Machine for Logic Programs

机译:TWAM:用于逻辑程序的证明抽象机

获取原文

摘要

Type-preserving (or typed) compilation uses typing derivations to certify correctness properties of compilation. We have designed and implemented a typed compiler for an idealized logic programming language we call T-Prolog. The crux of our approach is a new certifying abstract machine which we call the Typed Warren Abstract Machine (TWAM). The TWAM has a dependent type system strong enough to show programs obey a semantics based on provability in first-order logic (FOL). We present a soundness metatheorem which (going beyond the guarantees provided by most typed compilers) constitutes a partial behavior correctness guarantee: well-typed TWAM programs are sound proof search procedures with respect to a FOL signature. We argue why this guarantee is a natural choice for significant classes of logic programs. This metatheorem justifies our design and implementation of a certifying compiler from T-Prolog to TWAM.
机译:类型保留(或键入的)编译使用键入派生来证明编译的正确性属性。我们为我们呼叫T-Prolog调用的理想化逻辑编程语言设计和实现了一个类型化的编译器。我们的方法的关键是一种新的认证抽象机,我们称之为沃伦抽象机(TWAM)。 TWAM具有足够强大的依赖型系统,以显示程序根据一阶逻辑(fol)的可加速度遵守语义。我们提出了一个合理的Metatheorem(超越大多数键入编译器提供的保证)构成了部分行为正确性保证:良好的TWAM程序是关于FOL签名的可靠搜索过程。我们争辩为什么这项保证是重要逻辑计划的自然选择。此Metatheorem对我们的设计和实施是从T-Prolog到TWAM的认证编译器的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号