arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1002.1833cs.LOcs.PL
收藏

高阶泛函-逻辑程序的全抽象问题

The Full Abstraction Problem for Higher Order Functional-Logic Programs

F. J. López-Fraguas, J. Rodríguez-Hortalá

摘要:

开发合适的形式语义对程序设计语言的理解、设计和实现有很大的帮助,并作为软件开发工具(如分析器或部分求值器)的指南。在这个意义上,完全抽象是一个非常理想的属性,表明语义和程序片段的可观察行为之间的完美对应。在这项工作中,我们解决了现代功能逻辑语言的家庭,其中的功能可以是更高的顺序和非确定性的,并通过非确定性的语义是\emph{call-time choice}的全面抽象的问题。我们表明,相对于自然概念的\emph{observation},任何语义的基础上\emph{extensional}功能是不合理的,相反,我们表明,高阶版本的\emph{CRWL},一个众所周知的现有的语义框架的功能逻辑编程,基于\emph{intensional}视图的功能,原来是完全抽象和组合。

英文摘要:

Developing suitable formal semantics can be of great help in the understanding, design and implementation of a programming language, and act as a guide for software development tools like analyzers or partial evaluators. In this sense, full abstraction is a highly desirable property, indicating a perfect correspondence between the semantics and the observable behavior of program pieces. In this work we address the question of full abstraction for the family of modern functional logic languages, in which functions can be higher order and non-deterministic, and where the semantics adopted for non-determinism is \emph{call-time choice}. We show that, with respect to natural notions of \emph{observation}, any semantics based on \emph{extensional} functions is necessarily unsound; in contrast, we show that the higher order version of \emph{CRWL}, a well-known existing semantic framework for functional logic programming, based on an \emph{intensional} view of functions, turns out to be fully abstract and compositional.

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

↑