arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1507.06778cs.LO
收藏

用于构建逻辑的组合框架中模板的语义

Semantics of templates in a compositional framework for building logics

Ingmar Dasseville, Matthias van der Hallen, Gerda Janssens, Marc Denecker

摘要:

对逻辑规约语言(如FO(.)和ASP.实现这些抽象的一种技术是模板(有时称为宏)。虽然模板的语义几乎总是通过一个语法重写方案来描述,我们提出了另一种看法模板作为二阶定义。为了扩展FO(.)的现有定义构造,二阶,我们介绍了一个强大的组合框架定义逻辑模块集成的逻辑结构指定为一个语法和语义归纳规则对。我们使用的框架来建立一个逻辑嵌套的二阶定义适合表达模板。我们表明,在适当的限制下,作为宏的模板的视图是语义上正确的,并且添加它们不会扩展基本逻辑的描述复杂性,这与现有方法的结果是一致的。

英文摘要:

There is a growing need for abstractions in logic specification languages such as FO(.) and ASP. One technique to achieve these abstractions are templates (sometimes called macros). While the semantics of templates are virtually always described through a syntactical rewriting scheme, we present an alternative view on templates as second order definitions. To extend the existing definition construct of FO(.) to second order, we introduce a powerful compositional framework for defining logics by modular integration of logic constructs specified as pairs of one syntactical and one semantical inductive rule. We use the framework to build a logic of nested second order definitions suitable to express templates. We show that under suitable restrictions, the view of templates as macros is semantically correct and that adding them does not extend the descriptive complexity of the base logic, which is in line with results of existing approaches.

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

↑