arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0312053cs.AI
收藏

稳定逻辑程序设计的可表达性

On the Expressibility of Stable Logic Programming

Victor W. Marek, Jeffrey B. Remmel

摘要:

(We Schlipf \cite{sch91}证明了稳定逻辑编程(SLP)可以解决所有的$\mathit{NP}$决策问题。我们推广了Schlipf的结果,证明了SLP解决了类$\mathit{NP}$中的所有搜索问题。此外,我们以\cite{mt99}中定义的统一方式执行此操作。具体地说,我们表明,有一个单一的$\mathrm{DATALOG}^{\neg}$程序$P_{\mathit{Trg}}$,使给定任何图灵机$M$,任何多项式$p$与非负整数系数和任何输入$σ$的大小$n$在一个固定的字母表$Σ$,有一个扩展数据库$\mathit{edb}_{M,p,σ}$,这样就有一对一的- 在$\mathit{edb}_{M,p,σ} \cup P_{\mathit{Trg}}$的稳定模型和在至多$p(n)$步骤中达到最终状态的机器$M$的接受计算之间的一个对应关系。此外,$\mathit{edb}_{M,p,σ}$可以在多项式时间内从$p$、$σ$和$M$的描述计算,并且从其对应的稳定模型$\mathit{edb}_{M,p,σ} \cup P_{\mathit{Trg}}$解码这样的接受计算可以在线性时间内计算。关于$Σ_2^\mathrm{P}$ -搜索问题\footnote{The proof of this result involves additional technical complications and will be a subject of another publication.},对默认逻辑也有类似的陈述.

英文摘要:

(We apologize for pidgin LaTeX) Schlipf \cite{sch91} proved that Stable Logic Programming (SLP) solves all $\mathit{NP}$ decision problems. We extend Schlipf's result to prove that SLP solves all search problems in the class $\mathit{NP}$. Moreover, we do this in a uniform way as defined in \cite{mt99}. Specifically, we show that there is a single $\mathrm{DATALOG}^{\neg}$ program $P_{\mathit{Trg}}$ such that given any Turing machine $M$, any polynomial $p$ with non-negative integer coefficients and any input $σ$ of size $n$ over a fixed alphabet $Σ$, there is an extensional database $\mathit{edb}_{M,p,σ}$ such that there is a one-to-one correspondence between the stable models of $\mathit{edb}_{M,p,σ} \cup P_{\mathit{Trg}}$ and the accepting computations of the machine $M$ that reach the final state in at most $p(n)$ steps. Moreover, $\mathit{edb}_{M,p,σ}$ can be computed in polynomial time from $p$, $σ$ and the description of $M$ and the decoding of such accepting computations from its corresponding stable model of $\mathit{edb}_{M,p,σ} \cup P_{\mathit{Trg}}$ can be computed in linear time. A similar statement holds for Default Logic with respect to $Σ_2^\mathrm{P}$-search problems\footnote{The proof of this result involves additional technical complications and will be a subject of another publication.}.

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

↑