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

正规嵌套回答集程序:语法、语义和逻辑演算

Normal Nested Answer Set Programs: Syntactics, Semantics and Logical Calculi

Gonzalo E. Imaz

AI总结:

本文定义了正规嵌套程序(NNP)的语法、语义及嵌套逻辑演算,填补了嵌套回答集程序推理能力的空白,并证明了相关计算复杂性。

摘要:

嵌套回答集程序设计(NASP; Lifschitz等人,1999)通过在规则体和规则头中允许嵌套表达式来推广回答集程序设计(ASP),因此,NASP旨在利用程序的简洁性。然而,尽管NASP的表达能力无疑优于ASP,但前者的推理能力仍未被探索。这一现状似乎源于以下现有的广泛差距:正规嵌套程序(NNP)尚不为人知,换言之,嵌套正规-析取边界迄今为止尚未被识别。这种不利情况与ASP的情况相反,因为其正规程序(NP)对推动ASP至关重要。我们将通过定义NNP、其语义及其相关的嵌套逻辑演算来填补这一空白。此外,虽然计算嵌套程序唯一已知的方法是将它们展开还原,但我们提议在其原始形式下进行计算。首先,我们给出NNP的语法。为此,我们首先定义正Horn嵌套表达式,然后将NNP规则定义为规则头(相应地,规则体)为正Horn(相应地,一般)嵌套表达式的规则。其次,我们通过将经典NP概念提升到嵌套级别来建立NNP的语义,这些概念包括:回答集、最小和最小模型、封闭性、支持性、直接推论算子和程序一致性。我们还表明,限制于ASP的NNP与NP一致。第三,我们引入嵌套逻辑演算,具体而言,是嵌套单一归结和嵌套超单一归结,并证明它们在ASP设置中恢复单一归结和超单一归结。我们还展示了这两种嵌套逻辑演算如何允许处理无not的NNP程序的最小模型。最后,我们证明计算(相应地,无not的)NNP程序的回答集是(相应地,P完全的)NP完全的。

英文摘要:

Nested answer set programming (NASP; Lifschitz et al., 1999) generalizes answer set programming (ASP) by admitting nested expressions in rule bodies and heads, and thus, NASP aims at exploiting program succinctness. Yet, although NASP expressiveness is undoubtedly superior to ASP one, the former's reasoning capabilities remain unexplored. This reality seems subsequent to the next existing wide-ranging gap: normal nested programs (NNPs) are not known, or in other words, the nested normal-disjunctive boundary is unidentified thus far. Such an unfavorable situation is yet antagonistic to that of ASP as its normal programs (NPs) have been vital for propelling ASP. We will fill such a gap by defining the NNPs, their semantics and their associated nested logical calculi. Besides, while the unique known way to compute nested programs is unfold them back, we propose to do so in their original form. Firstly, we give the syntax of NNPs. For that, we initially define the positive-Horn nested-expressions and then an NNP rule as one whose head (resp. body) is a positive-Horn (resp. general) nested-expression. Secondly, we set up the semantics of NNPs by lifting to the nesting level, classical NP notions including: answer set, minimal and least model, closedness, supported-ness, immediate consequence operator and program consistency. We besides show that NNP restricted to ASP coincides with NP. Thirdly, we introduce nested logical calculi, concretely, nested unit-resolution and nested hyper unit-resolution, proving that they recover unit-resolution and hyper unit-resolution in the ASP setting. We also show how both nested logical calculi allow to process the least model of not-free NNP programs. To end, we demonstrate that computing answer sets of (resp. not-free) NNP programs is (resp. P-complete) NP-complete.

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

↑