arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1303.7335cs.LOcs.AIcs.PL
收藏

正交重写系统汇流的形式化

Formalizing the Confluence of Orthogonal Rewriting Systems

Universidade de Brasília(巴西利亚大学)

Ana Cristina Rocha Oliveira, Mauricio Ayala-Rincón

摘要:

可确定性是一种编程原则,它以语法的方式保证功能规范的确定性。基本上,正交性一方面避免了非确定性的固有模糊性,禁止存在指定相同函数的不同规则并且可以同时应用(非模糊性),另一方面,它消除了在这些规则的左侧出现变量重复的可能性(左线性)。在术语重写系统(TRS)理论中,确定性被众所周知的汇合性质所捕获,该性质基本上表明,无论何时从一个术语进行不同的计算或简化都是可能的,计算出的答案应该一致。虽然证明在技术上是详尽的,但汇流是众所周知的正交性的结果。因此,正交性是递归函数的规范所固有的一个重要的数学学科,它自然地应用于函数式编程和规范。从形式化的理论TRS的证明助手PVS,这项工作描述了如何融合的正交TRS已正式化,公理化的基础上的属性的规则,位置和替代参与并行步骤的减少,在这个证明助手。证明了一些类似的,但限制性的性质,如非二义性和(左和右)线性TRS的合流的性质已经完全形式化。

英文摘要:

Orthogonality is a discipline of programming that in a syntactic manner guarantees determinism of functional specifications. Essentially, orthogonality avoids, on the one side, the inherent ambiguity of non determinism, prohibiting the existence of different rules that specify the same function and that may apply simultaneously (non-ambiguity), and, on the other side, it eliminates the possibility of occurrence of repetitions of variables in the left-hand side of these rules (left linearity). In the theory of term rewriting systems (TRSs) determinism is captured by the well-known property of confluence, that basically states that whenever different computations or simplifications from a term are possible, the computed answers should coincide. Although the proofs are technically elaborated, confluence is well-known to be a consequence of orthogonality. Thus, orthogonality is an important mathematical discipline intrinsic to the specification of recursive functions that is naturally applied in functional programming and specification. Starting from a formalization of the theory of TRSs in the proof assistant PVS, this work describes how confluence of orthogonal TRSs has been formalized, based on axiomatizations of properties of rules, positions and substitutions involved in parallel steps of reduction, in this proof assistant. Proofs for some similar but restricted properties such as the property of confluence of non-ambiguous and (left and right) linear TRSs have been fully formalized.

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

↑