In this paper, the theory of McCarthy's extensional arrays enriched with a maxdiff operation (this operation returns the biggest index where two given arrays differ) is proposed. It is known from the literature that a diff operation is required for the theory of arrays in order to enjoy the Craig interpolation property at the quantifier-free level. However, the diff operation introduced in the literature is merely instrumental to this purpose and has only a purely formal meaning (it is obtained from the Skolemization of the extensionality axiom). Our maxdiff operation significantly increases the level of expressivity; however, obtaining interpolation results for the resulting theory becomes a surprisingly hard task. We obtain such results via a thorough semantic analysis of the models of the theory and of their amalgamation properties. The results are modular with respect to the index theory and it is shown how to convert them into concrete interpolation algorithms via a hierarchical approach.
翻译:在本文中,提出了McCarthy的扩展阵列的理论,该理论在最大操作中丰富了最大功率(此操作返回了两个给定阵列不同的最大指数) 。 从文献中可以知道,为了在无限定值水平上享受Craig内插属性,对阵列理论需要进行 diff 操作,以享受Craig内插属性。然而,文献中引入的 diff 操作只是对这一目的有用,而且只有纯粹的形式意义( 它来自扩展性Axiom的Skolemiz化 ) 。 我们的最大化操作极大地提高了表达性; 然而, 获取由此得出的理论的内插结果是一项令人惊讶的艰巨任务。 我们通过对理论模型及其合并特性的模型进行彻底的语义分析来获得这样的结果。 其结果与指数理论有关是模块化的,并展示了如何通过等级方法将其转换为具体的内插算法。