arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0808.0555cs.LOcs.SC
收藏

Prolog中的配对函数、布尔求值和二元判定图

Pairing Functions, Boolean Evaluation and Binary Decision Diagrams in Prolog

Paul Tarau

摘要:

“配对函数”J将唯一自然数z与任何两个自然数x、y相关联,使得对于两个“非配对函数”K和L,等式K(J(x,y))=x、L(J(x,y))=y和J(K(z),L(z))=z成立。使用配对函数的自然数表示的真值表,我们推导出一个编码的二元决策图的独特属性,其布尔值评价忠实地模仿其结构转换到一个自然数,通过递归应用的匹配配对函数。然后,我们使用这个结果来导出BDD和减少的BDD的{\em排名}和{ \em unranking}函数。这篇论文是作为一个独立的文学Prolog程序组织的,可在www.example.com上获得http://logic.csci.unt.edu/tarau/research/2008/pBDD.zip。逻辑编程和计算数学,配对/非配对函数,布尔函数的编码,二元决策图,真值表的自然数表示

英文摘要:

A "pairing function" J associates a unique natural number z to any two natural numbers x,y such that for two "unpairing functions" K and L, the equalities K(J(x,y))=x, L(J(x,y))=y and J(K(z),L(z))=z hold. Using pairing functions on natural number representations of truth tables, we derive an encoding for Binary Decision Diagrams with the unique property that its boolean evaluation faithfully mimics its structural conversion to a a natural number through recursive application of a matching pairing function. We then use this result to derive {\em ranking} and {\em unranking} functions for BDDs and reduced BDDs. The paper is organized as a self-contained literate Prolog program, available at http://logic.csci.unt.edu/tarau/research/2008/pBDD.zip Keywords: logic programming and computational mathematics, pairing/unpairing functions, encodings of boolean functions, binary decision diagrams, natural number representations of truth tables

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

↑