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

共代数逻辑程序设计:从语义到实现

Coalgebraic Logic Programming: from Semantics to Implementation

Ekaterina Komendantskaya, John Power, Martin Schmidt

摘要:

共归纳定义,例如无限流的定义,通常可以用优雅的逻辑程序来描述,但是对于那些SLD-反驳没有价值的定义,因为SLD-推导会陷入无限循环。这样的定义引起了惰性共递归推导和并行性的问题,因为这样的逻辑程序的执行可以同时具有递归和共递归特性。观察语义学和共代数语义学已经被用来抽象地研究它们。方案拟订工作往往是单独进行的,而且通常是以执行为主导的。在这里,我们给出了一个连贯的语义为主导的帐户的问题,从抽象的范畴理论语义,发展coalgebra,自然产生的树,并着手实现一个新的方言,CoALP,逻辑编程,其特点是由看守懒惰corecursion和并行。

英文摘要:

Coinductive definitions, such as that of an infinite stream, may often be described by elegant logic programs, but ones for which SLD-refutation is of no value as SLD-derivations fall into infinite loops. Such definitions give rise to questions of lazy corecursive derivations and parallelism, as execution of such logic programs can have both recursive and corecursive features at once. Observational and coalgebraic semantics have been used to study them abstractly. The programming developments have often occurred separately and have usually been implementation-led. Here, we give a coherent semantics-led account of the issues, starting with abstract category theoretic semantics, developing coalgebra to characterise naturally arising trees, and proceeding towards implementation of a new dialect, CoALP, of logic programming, characterised by guarded lazy corecursion and parallelism.

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

↑