S-语义学--一个例子
S-semantics -- an example
摘要:
s-语义使得显式处理程序应答中的变量成为可能。所以它似乎适合使用非基础数据结构的程序,比如开放列表。然而,很难找到使用s-语义来推理特定程序的公开例子。在这里,我们应用s-语义来证明Frühlynth的$n$皇后程序的正确性和完整性。这是比较证明,发表在其他地方,基于标准的语义和Herbrand解释。
英文摘要:
The s-semantics makes it possible to explicitly deal with variables in program answers. So it seems suitable for programs using nonground data structures, like open lists. However it is difficult to find published examples of using the s-semantics to reason about particular programs. Here we apply s-semantics to prove correctness and completeness of Frühwirth's $n$ queens program. This is compared with a proof, published elsewhere, based on the standard semantics and Herbrand interpretations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。