首页> 外文期刊>Science of Computer Programming >E3: A logic for reasoning equationally in the presence of partiality
【24h】

E3: A logic for reasoning equationally in the presence of partiality

机译:E3:在存在局部性时进行方程式推理的逻辑

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

摘要

Partiality abounds in specifications and programs. We present a three-valued typed logic for reasoning equationally about programming in the presence of partial functions. The logic in essence is a combination of the equational logic E and typed LPF. Of course, there are already many logics in which some classical theorems acquire the status of neither-true--nor-false. What is distinctive here is that we preserve the equational reasoning style of E, as well as most of its main theorems. The principal losses among the theorems are the law of the excluded middle, the anti-symmetry of implication, a small complication in the trading law for existential quantification, and the requirement to show definedness when using instantiation. The main loss among proof methods is proof by mutual implication; we present some new proof strategies that make up for this loss. Some proofs are longer than in E, but the heuristics commonly used in the proof methodology of E remain valid. We present a Hilbert-style axiomatisation of the logic in which modus ponens and generalisation are the only inference rules. The axiomatisation is easily modified to yield a classical axiomatisation of E itself We suggest that the logic may be readily extended to a many-valued logic, and that this will have its uses.
机译:规范和程序中存在很多偏见。我们提出了一种三值类型的逻辑,用于在存在部分函数的情况下对编程进行方程式推理。逻辑本质上是等式逻辑E和类型LPF的组合。当然,已经有很多逻辑,其中一些经典定理获得了非真非假的状态。这里的独特之处在于,我们保留了E的方程式推理风格及其大多数主要定理。这些定理中的主要损失包括被排除的中间定律,蕴涵的反对称性,存在量化中交易定律的小复杂性以及使用实例化时必须表现出明确性的要求。证明方法中的主要损失是通过相互暗示进行证明。我们提出了一些弥补这种损失的新的证明策略。某些证明比E中的证明更长,但是E的证明方法中常用的试探法仍然有效。我们提出了逻辑的希尔伯特式公理化,其中惯用语和泛化是唯一的推理规则。公理化很容易被修改以产生E本身的经典公理化。我们建议逻辑可以容易地扩展为多值逻辑,并且将有其用途。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号