双射项编码
Bijective Term Encodings
摘要:
我们将Prolog术语编码/解码为唯一的自然数。我们的编码具有以下性质:a)是双射的b)自然数总是解码为语法上有效的项c)它们在表示的位大小中在低多项式时间内工作d)我们的编码的位大小在输入的语法表示的常数因子内。我们描述了编码的术语代数有限签名以及算法,分离的“结构”的一个术语,一个自然数编码的平衡括号的列表,从它的“内容”,一个列表的原子术语和Prolog变量。这篇论文是由\url{http://logic.cse.unt.edu/tarau/research/2011/bijenc.pl}提供的一个文学性的Prolog程序组织的。
英文摘要:
We encode/decode Prolog terms as unique natural numbers. Our encodings have the following properties: a) are bijective b) natural numbers always decode to syntactically valid terms c) they work in low polynomial time in the bitsize of the representations d) the bitsize of our encodings is within constant factor of the syntactic representation of the input. We describe encodings of term algebras with finite signature as well as algorithms that separate the "structure" of a term, a natural number encoding of a list of balanced parenthesis, from its "content", a list of atomic terms and Prolog variables. The paper is organized as a literate Prolog program available from \url{http://logic.cse.unt.edu/tarau/research/2011/bijenc.pl}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。