Dedukti is a very expressive logical framework which unlike most frameworks, such as the Edinburgh Logical Framework (LF), allows for the representation of computation alongside deduction. However, unlike LF encodings, Dedukti encodings proposed until now do not feature an adequacy theorem -- i.e., a bijection between terms in the encoded system and in its encoding. Moreover, many of them also do not have a conservativity result, which compromises the ability of Dedukti to check proofs written in such encodings. We propose a different approach for Dedukti encodings which do not only allow for simpler conservativity proofs, but which also restore the adequacy of encodings. More precisely, we propose in this work adequate (and thus conservative) encodings for Functional Pure Type Systems. However, in contrast with LF encodings, ours is computational -- that is, represents computation directly as computation. Therefore, our work is the first to present and prove correct an approach allowing for encodings that are both adequate and computational in Dedukti.
翻译:Dedukti是一个非常清晰的逻辑框架,与大多数框架(如爱丁堡逻辑框架(LF))不同,它允许在推算中代表计算。然而,与LF编码不同,迄今为止提议的Dedukti编码目前并不包含一个适当的理论理论,即编码系统中的术语与其编码中的术语之间的双偏角。此外,其中许多术语也没有一个保守性结果,这损害了Dedukti核对这类编码中写成的证明的能力。我们为Dedukti编码提出了一个不同的方法,它不仅允许简单的保守证据,而且还恢复编码的充足性。更准确地说,我们在此工作中建议功能纯类型系统的充分(因而是保守的)编码。然而,与LF编码不同,我们的编码是计算法,它直接代表计算。因此,我们的工作是首先提出并证明正确的方法,允许编码既适当又计算在Dedukti的编码。