首页 > 最新文献

Theory and Practice of Logic Programming最新文献

英文 中文
A Survey of the Proof-Theoretic Foundations of Logic Programming 逻辑规划的证明理论基础综述
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-09-03 DOI: 10.1017/s1471068421000533
D. Miller
Several formal systems, such as resolution and minimal model semantics, provide a framework for logic programming. In this article, we will survey the use of structural proof theory as an alternative foundation. Researchers have been using this foundation for the past 35 years to elevate logic programming from its roots in first-order classical logic into higher-order versions of intuitionistic and linear logic. These more expressive logic programming languages allow for capturing stateful computations and rich forms of abstractions, including higher-order programming, modularity, and abstract data types. Term-level bindings are another kind of abstraction, and these are given an elegant and direct treatment within both proof theory and these extended logic programming languages. Logic programming has also inspired new results in proof theory, such as those involving polarity and focused proofs. These recent results provide a high-level means for presenting the differences between forward-chaining and backward-chaining style inferences. Anchoring logic programming in proof theory has also helped identify its connections and differences with functional programming, deductive databases, and model checking.
一些形式化的系统,如分辨率和最小模型语义,为逻辑编程提供了一个框架。在本文中,我们将调查结构证明理论作为替代基础的使用。在过去的35年里,研究人员一直在使用这个基础,将逻辑规划从一阶经典逻辑的根源提升到直觉逻辑和线性逻辑的高阶版本。这些更具表现力的逻辑编程语言允许捕获有状态计算和丰富的抽象形式,包括高阶编程、模块化和抽象数据类型。术语级绑定是另一种抽象,它们在证明理论和这些扩展逻辑编程语言中都得到了优雅而直接的处理。逻辑编程也激发了证明理论的新结果,例如那些涉及极性和聚焦证明的结果。这些最近的结果提供了一种高级的方法来展示前向链接和后向链接风格推断之间的差异。在证明理论中锚定逻辑编程也有助于识别其与函数式编程、演绎数据库和模型检查的联系和差异。
{"title":"A Survey of the Proof-Theoretic Foundations of Logic Programming","authors":"D. Miller","doi":"10.1017/s1471068421000533","DOIUrl":"https://doi.org/10.1017/s1471068421000533","url":null,"abstract":"\u0000 Several formal systems, such as resolution and minimal model semantics, provide a framework for logic programming. In this article, we will survey the use of structural proof theory as an alternative foundation. Researchers have been using this foundation for the past 35 years to elevate logic programming from its roots in first-order classical logic into higher-order versions of intuitionistic and linear logic. These more expressive logic programming languages allow for capturing stateful computations and rich forms of abstractions, including higher-order programming, modularity, and abstract data types. Term-level bindings are another kind of abstraction, and these are given an elegant and direct treatment within both proof theory and these extended logic programming languages. Logic programming has also inspired new results in proof theory, such as those involving polarity and focused proofs. These recent results provide a high-level means for presenting the differences between forward-chaining and backward-chaining style inferences. Anchoring logic programming in proof theory has also helped identify its connections and differences with functional programming, deductive databases, and model checking.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"62 1","pages":"859-904"},"PeriodicalIF":1.4,"publicationDate":"2021-09-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"86064928","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Introduction to the 37th International Conference on Logic Programming Special Issue I 第37届逻辑程序设计国际会议导论第一期
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-09-01 DOI: 10.1017/S1471068421000442
A. Brik, A. Formisano, Yanhong A. Liu, Joost Vennekens
programming, Constraint logic programming, Answer set programming, Interaction with SAT, SMT and CSP solvers, Theorem proving, Argumentation, Probabilistic programming, Machine learning.
编程,约束逻辑编程,答案集编程,与SAT的交互,SMT和CSP求解器,定理证明,论证,概率编程,机器学习。
{"title":"Introduction to the 37th International Conference on Logic Programming Special Issue I","authors":"A. Brik, A. Formisano, Yanhong A. Liu, Joost Vennekens","doi":"10.1017/S1471068421000442","DOIUrl":"https://doi.org/10.1017/S1471068421000442","url":null,"abstract":"programming, Constraint logic programming, Answer set programming, Interaction with SAT, SMT and CSP solvers, Theorem proving, Argumentation, Probabilistic programming, Machine learning.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"521 - 526"},"PeriodicalIF":1.4,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"48787012","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Thirty years of Epistemic Specifications 三十年的认知规范
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-17 DOI: 10.1017/s147106842100048x
Jorge Fandinno, Wolfgang Faber, M. Gelfond
The language of epistemic specifications and epistemic logic programs extends disjunctive logic programs under the stable model semantics with modal constructs called subjective literals. Using subjective literals, it is possible to check whether a regular literal is true in every or some stable models of the program, those models, in this context also called belief sets, being collected in a set called world view. This allows for representing, within the language, whether some proposition should be understood accordingly to the open or the closed world assumption. Several attempts for capturing the intuitions underlying the language by means of a formal semantics were given, resulting in a multitude of proposals that makes it difficult to understand the current state of the art. In this article, we provide an overview of the inception of the field and the knowledge representation and reasoning tasks it is suitable for. We also provide a detailed analysis of properties of proposed semantics, and an outlook of challenges to be tackled by future research in the area.
认识论规范和认识论逻辑程序的语言在稳定的模型语义下通过称为主观字面的模态构念扩展析取逻辑程序。使用主观字面量,可以检查常规字面量在程序的每个或某些稳定模型中是否为真,这些模型,在这里也称为信念集,被收集在一个叫做世界观的集合中。这允许在语言中表示某些命题是否应该根据开放世界或封闭世界的假设来理解。有几次尝试通过形式语义来捕捉语言底层的直觉,结果产生了大量的建议,使得很难理解当前的技术状态。在本文中,我们概述了该领域的起源以及它适合的知识表示和推理任务。我们还详细分析了所提出的语义的性质,并展望了该领域未来研究需要解决的挑战。
{"title":"Thirty years of Epistemic Specifications","authors":"Jorge Fandinno, Wolfgang Faber, M. Gelfond","doi":"10.1017/s147106842100048x","DOIUrl":"https://doi.org/10.1017/s147106842100048x","url":null,"abstract":"\u0000 The language of epistemic specifications and epistemic logic programs extends disjunctive logic programs under the stable model semantics with modal constructs called subjective literals. Using subjective literals, it is possible to check whether a regular literal is true in every or some stable models of the program, those models, in this context also called belief sets, being collected in a set called world view. This allows for representing, within the language, whether some proposition should be understood accordingly to the open or the closed world assumption. Several attempts for capturing the intuitions underlying the language by means of a formal semantics were given, resulting in a multitude of proposals that makes it difficult to understand the current state of the art. In this article, we provide an overview of the inception of the field and the knowledge representation and reasoning tasks it is suitable for. We also provide a detailed analysis of properties of proposed semantics, and an outlook of challenges to be tackled by future research in the area.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"13 1","pages":"1043-1083"},"PeriodicalIF":1.4,"publicationDate":"2021-08-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"91323082","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Planning with Incomplete Information in Quantified Answer Set Programming 定量答案集规划中不完全信息的规划
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-13 DOI: 10.1017/S1471068421000259
Jorge Fandinno, Franccois Laferriere, J. Romero, Torsten Schaub, Tran Cao Son New Mexico State University, Usa, Omaha State University, U. Potsdam, H Germany
Abstract We present a general approach to planning with incomplete information in Answer Set Programming (ASP). More precisely, we consider the problems of conformant and conditional planning with sensing actions and assumptions. We represent planning problems using a simple formalism where logic programs describe the transition function between states, the initial states and the goal states. For solving planning problems, we use Quantified Answer Set Programming (QASP), an extension of ASP with existential and universal quantifiers over atoms that is analogous to Quantified Boolean Formulas (QBFs). We define the language of quantified logic programs and use it to represent the solutions different variants of conformant and conditional planning. On the practical side, we present a translation-based QASP solver that converts quantified logic programs into QBFs and then executes a QBF solver, and we evaluate experimentally the approach on conformant and conditional planning benchmarks.
摘要给出了答案集规划(ASP)中不完全信息规划的一般方法。更准确地说,我们考虑一致性和条件规划的问题与传感行动和假设。我们使用一个简单的形式来表示规划问题,其中逻辑程序描述状态、初始状态和目标状态之间的过渡函数。为了解决计划问题,我们使用量化答案集规划(QASP),它是ASP的扩展,具有原子上的存在量词和全称量词,类似于量化布尔公式(QBFs)。我们定义了量化逻辑程序的语言,并用它来表示一致性和条件规划的不同变体的解。在实践方面,我们提出了一个基于翻译的QASP求解器,它将量化的逻辑程序转换为QBF,然后执行QBF求解器,并在一致性和条件规划基准上对该方法进行了实验评估。
{"title":"Planning with Incomplete Information in Quantified Answer Set Programming","authors":"Jorge Fandinno, Franccois Laferriere, J. Romero, Torsten Schaub, Tran Cao Son New Mexico State University, Usa, Omaha State University, U. Potsdam, H Germany","doi":"10.1017/S1471068421000259","DOIUrl":"https://doi.org/10.1017/S1471068421000259","url":null,"abstract":"Abstract We present a general approach to planning with incomplete information in Answer Set Programming (ASP). More precisely, we consider the problems of conformant and conditional planning with sensing actions and assumptions. We represent planning problems using a simple formalism where logic programs describe the transition function between states, the initial states and the goal states. For solving planning problems, we use Quantified Answer Set Programming (QASP), an extension of ASP with existential and universal quantifiers over atoms that is analogous to Quantified Boolean Formulas (QBFs). We define the language of quantified logic programs and use it to represent the solutions different variants of conformant and conditional planning. On the practical side, we present a translation-based QASP solver that converts quantified logic programs into QBFs and then executes a QBF solver, and we evaluate experimentally the approach on conformant and conditional planning benchmarks.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"663 - 679"},"PeriodicalIF":1.4,"publicationDate":"2021-08-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"46738828","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 6
Temporal Minimal-World Query Answering over Sparse ABoxes 稀疏框上的时间最小世界查询应答
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-11 DOI: 10.1017/s1471068421000119
Stefan Borgwardt, Walter Forkel, Alisa Kovtunova
Ontology-mediated query answering is a popular paradigm for enriching answers to user queries with background knowledge. For querying the absence of information, however, there exist only few ontology-based approaches. Moreover, these proposals conflate the closed-domain and closed-world assumption and, therefore, are not suited to deal with the anonymous objects that are common in ontological reasoning. Many real-world applications, like processing electronic health records, also contain a temporal dimension and require efficient reasoning algorithms. Moreover, since medical data are not recorded on a regular basis, reasoners must deal with sparse data with potentially large temporal gaps. Our contribution consists of two main parts: In the first part, we introduce a new closed-world semantics for answering conjunctive queries (CQs) with negation over ontologies formulated in the description logic $${mathcal E}{mathcal L}{{mathcal H}_ bot }$$ , which is based on the minimal canonical model. We propose a rewriting strategy for dealing with negated query atoms, which shows that query answering is possible in polynomial time in data complexity. In the second part, we extend this minimal-world semantics for answering metric temporal CQs with negation over the lightweight temporal logic and obtain similar rewritability and complexity results.
本体介导的查询应答是一种流行的范例,用于用背景知识丰富对用户查询的回答。然而,对于信息缺失的查询,基于本体的方法很少。此外,这些建议混淆了封闭域和封闭世界的假设,因此,不适合处理在本体论推理中常见的匿名对象。许多现实世界的应用程序,如处理电子健康记录,也包含时间维度,需要有效的推理算法。此外,由于医疗数据不是定期记录的,推理者必须处理可能存在较大时间间隔的稀疏数据。我们的贡献包括两个主要部分:在第一部分中,我们引入了一个新的封闭世界语义,用于回答具有描述逻辑$${mathcal E}{mathcal L}{{mathcal H}_ bot }$$中表述的本体否定的连接查询(cq),该语义基于最小规范模型。我们提出了一种处理否定查询原子的重写策略,表明在数据复杂度的多项式时间内可以实现查询应答。在第二部分中,我们将这种最小世界语义扩展到回答轻量级时态逻辑上的度量时态cq,并获得了类似的可重写性和复杂性结果。
{"title":"Temporal Minimal-World Query Answering over Sparse ABoxes","authors":"Stefan Borgwardt, Walter Forkel, Alisa Kovtunova","doi":"10.1017/s1471068421000119","DOIUrl":"https://doi.org/10.1017/s1471068421000119","url":null,"abstract":"Ontology-mediated query answering is a popular paradigm for enriching answers to user queries with background knowledge. For querying the absence of information, however, there exist only few ontology-based approaches. Moreover, these proposals conflate the closed-domain and closed-world assumption and, therefore, are not suited to deal with the anonymous objects that are common in ontological reasoning. Many real-world applications, like processing electronic health records, also contain a temporal dimension and require efficient reasoning algorithms. Moreover, since medical data are not recorded on a regular basis, reasoners must deal with sparse data with potentially large temporal gaps. Our contribution consists of two main parts: In the first part, we introduce a new closed-world semantics for answering conjunctive queries (CQs) with negation over ontologies formulated in the description logic $${mathcal E}{mathcal L}{{mathcal H}_ bot }$$ , which is based on the minimal canonical model. We propose a rewriting strategy for dealing with negated query atoms, which shows that query answering is possible in polynomial time in data complexity. In the second part, we extend this minimal-world semantics for answering metric temporal CQs with negation over the lightweight temporal logic and obtain similar rewritability and complexity results.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"3 1","pages":"193-228"},"PeriodicalIF":1.4,"publicationDate":"2021-08-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"86639784","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Determining Action Reversibility in STRIPS Using Answer Set and Epistemic Logic Programming 用答案集和认识逻辑程序确定STRIPS中的动作可逆性
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-11 DOI: 10.1017/S1471068421000429
L. Chrpa, Wolfgang Faber, Daniel Fiser, Michael Morak
Abstract In the context of planning and reasoning about actions and change, we call an action reversible when its effects can be reverted by applying other actions, returning to the original state. Renewed interest in this area has led to several results in the context of the PDDL language, widely used for describing planning tasks. In this paper, we propose several solutions to the computational problem of deciding the reversibility of an action. In particular, we leverage an existing translation from PDDL to Answer Set Programming (ASP), and then use several different encodings to tackle the problem of action reversibility for the STRIPS fragment of PDDL. For these, we use ASP, as well as Epistemic Logic Programming (ELP), an extension of ASP with epistemic operators, and compare and contrast their strengths and weaknesses.
在对行动和变化进行规划和推理的背景下,当一个行动的效果可以通过应用其他行动而恢复到原来的状态时,我们称之为可逆的行动。在PDDL语言(广泛用于描述规划任务)的上下文中,对这一领域重新燃起的兴趣导致了几个结果。在本文中,我们提出了决定一个动作可逆性的计算问题的几种解法。特别地,我们利用从PDDL到答案集编程(ASP)的现有翻译,然后使用几种不同的编码来解决PDDL的条带片段的动作可逆性问题。对于这些问题,我们使用ASP,以及带有认知运算符的ASP扩展的认知逻辑编程(ELP),并比较和对比它们的优缺点。
{"title":"Determining Action Reversibility in STRIPS Using Answer Set and Epistemic Logic Programming","authors":"L. Chrpa, Wolfgang Faber, Daniel Fiser, Michael Morak","doi":"10.1017/S1471068421000429","DOIUrl":"https://doi.org/10.1017/S1471068421000429","url":null,"abstract":"Abstract In the context of planning and reasoning about actions and change, we call an action reversible when its effects can be reverted by applying other actions, returning to the original state. Renewed interest in this area has led to several results in the context of the PDDL language, widely used for describing planning tasks. In this paper, we propose several solutions to the computational problem of deciding the reversibility of an action. In particular, we leverage an existing translation from PDDL to Answer Set Programming (ASP), and then use several different encodings to tackle the problem of action reversibility for the STRIPS fragment of PDDL. For these, we use ASP, as well as Epistemic Logic Programming (ELP), an extension of ASP with epistemic operators, and compare and contrast their strengths and weaknesses.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"646 - 662"},"PeriodicalIF":1.4,"publicationDate":"2021-08-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"41551960","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Refactoring the Whitby Intelligent Tutoring System for Clean Architecture 面向Clean架构的Whitby智能辅导系统重构
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-10 DOI: 10.1017/s1471068421000326
Paul S. Brown, V. Dimitrova, G. Hart, A. Cohn, P. Moura
Whitby is the server-side of an Intelligent Tutoring System application for learning System-Theoretic Process Analysis (STPA), a methodology used to ensure the safety of anything that can be represented with a systems model. The underlying logic driving the reasoning behind Whitby is Situation Calculus, which is a many-sorted logic with situation, action, and object sorts. The Situation Calculus is applied to Ontology Authoring and Contingent Scaffolding: the primary activities within Whitby. Thus many fluents and actions are aggregated in Whitby from these two sub-applications and from Whitby itself, but all are available through a common situation query interface that does not depend upon any of the fluents or actions. Each STPA project in Whitby is a single situation term, which is queried for fluents that include the ontology, and to determine what pedagogical interventions to offer. Initially Whitby was written in Prolog using a module system. In the interest of a cleaner architecture and implementation with improved code reuse and extensibility, the initial application was refactored into Logtalk. This refactoring includes decoupling the Situation Calculus reasoner, Ontology Authoring framework, and Contingent Scaffolding framework into third-party libraries that can be reused in other applications. This extraction was achieved by inverting dependencies via Logtalk protocols and categories, which are reusable interfaces and components that provide functionally cohesive sets of predicate declarations and predicate definitions. In this paper the architectures of two iterations of Whitby are evaluated with respect to the motivations behind the refactor: clean architecture enabling code reuse and extensibility.
Whitby是一个用于学习系统理论过程分析(System- theoretical Process Analysis, STPA)的智能辅导系统应用程序的服务器端,STPA是一种用于确保任何可以用系统模型表示的事物的安全性的方法。驱动Whitby背后推理的底层逻辑是情景演算(Situation Calculus),这是一种包含情景、动作和对象排序的多排序逻辑。情境演算应用于本体创作和偶然脚手架:惠特比的主要活动。因此,Whitby从这两个子应用程序和Whitby本身聚合了许多流畅度和操作,但所有这些都可以通过一个不依赖于任何流畅度或操作的公共情况查询接口获得。Whitby的每个STPA项目都是一个单独的情境术语,它被查询包括本体的流利程度,并确定提供什么样的教学干预。最初Whitby是用Prolog使用模块系统编写的。为了更清晰的体系结构和实现,以及改进的代码重用和可扩展性,最初的应用程序被重构到Logtalk中。这种重构包括将Situation Calculus推理器、本体创作框架和Contingent Scaffolding框架解耦到可以在其他应用程序中重用的第三方库中。这种提取是通过Logtalk协议和类别反转依赖关系实现的,这些协议和类别是可重用的接口和组件,提供功能上内聚的谓词声明和谓词定义集。在本文中,Whitby的两次迭代的架构根据重构背后的动机进行了评估:干净的架构支持代码重用和可扩展性。
{"title":"Refactoring the Whitby Intelligent Tutoring System for Clean Architecture","authors":"Paul S. Brown, V. Dimitrova, G. Hart, A. Cohn, P. Moura","doi":"10.1017/s1471068421000326","DOIUrl":"https://doi.org/10.1017/s1471068421000326","url":null,"abstract":"\u0000 Whitby is the server-side of an Intelligent Tutoring System application for learning System-Theoretic Process Analysis (STPA), a methodology used to ensure the safety of anything that can be represented with a systems model. The underlying logic driving the reasoning behind Whitby is Situation Calculus, which is a many-sorted logic with situation, action, and object sorts. The Situation Calculus is applied to Ontology Authoring and Contingent Scaffolding: the primary activities within Whitby. Thus many fluents and actions are aggregated in Whitby from these two sub-applications and from Whitby itself, but all are available through a common situation query interface that does not depend upon any of the fluents or actions. Each STPA project in Whitby is a single situation term, which is queried for fluents that include the ontology, and to determine what pedagogical interventions to offer. Initially Whitby was written in Prolog using a module system. In the interest of a cleaner architecture and implementation with improved code reuse and extensibility, the initial application was refactored into Logtalk. This refactoring includes decoupling the Situation Calculus reasoner, Ontology Authoring framework, and Contingent Scaffolding framework into third-party libraries that can be reused in other applications. This extraction was achieved by inverting dependencies via Logtalk protocols and categories, which are reusable interfaces and components that provide functionally cohesive sets of predicate declarations and predicate definitions. In this paper the architectures of two iterations of Whitby are evaluated with respect to the motivations behind the refactor: clean architecture enabling code reuse and extensibility.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"818-834"},"PeriodicalIF":1.4,"publicationDate":"2021-08-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"88912907","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Modal Logic S5 Satisfiability in Answer Set Programming 回答集程序设计中的模态逻辑S5的可满足性
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-09 DOI: 10.1017/S1471068421000247
Mario Alviano, Sotiris Batsakis, George Baryannis
Abstract Modal logic S5 has attracted significant attention and has led to several practical applications, owing to its simplified approach to dealing with nesting modal operators. Efficient implementations for evaluating satisfiability of S5 formulas commonly rely on Skolemisation to convert them into propositional logic formulas, essentially by introducing copies of propositional atoms for each set of interpretations (possible worlds). This approach is simple, but often results into large formulas that are too difficult to process, and therefore more parsimonious constructions are required. In this work, we propose to use Answer Set Programming for implementing such constructions, and in particular for identifying the propositional atoms that are relevant in every world by means of a reachability relation. The proposed encodings are designed to take advantage of other properties such as entailment relations of subformulas rooted by modal operators. An empirical assessment of the proposed encodings shows that the reachability relation is very effective and leads to comparable performance to a state-of-the-art S5 solver based on SAT, while entailment relations are possibly too expensive to reason about and may result in overhead.
抽象模态逻辑S5由于其处理嵌套模态算子的简化方法而引起了人们的极大关注,并带来了一些实际应用。评估S5公式可满足性的有效实现通常依赖于Skolemisation将它们转换为命题逻辑公式,本质上是通过为每组解释(可能的世界)引入命题原子的副本。这种方法很简单,但通常会导致难以处理的大型公式,因此需要更简约的构造。在这项工作中,我们建议使用答案集编程来实现这种构造,特别是通过可达性关系来识别在每个世界中相关的命题原子。所提出的编码是为了利用其他性质,如模态算子根的子形式的蕴涵关系。对所提出的编码的经验评估表明,可达性关系非常有效,并导致与最先进的基于SAT的S5求解器相当的性能,而隐含关系可能过于昂贵,难以推理,并且可能导致开销。
{"title":"Modal Logic S5 Satisfiability in Answer Set Programming","authors":"Mario Alviano, Sotiris Batsakis, George Baryannis","doi":"10.1017/S1471068421000247","DOIUrl":"https://doi.org/10.1017/S1471068421000247","url":null,"abstract":"Abstract Modal logic S5 has attracted significant attention and has led to several practical applications, owing to its simplified approach to dealing with nesting modal operators. Efficient implementations for evaluating satisfiability of S5 formulas commonly rely on Skolemisation to convert them into propositional logic formulas, essentially by introducing copies of propositional atoms for each set of interpretations (possible worlds). This approach is simple, but often results into large formulas that are too difficult to process, and therefore more parsimonious constructions are required. In this work, we propose to use Answer Set Programming for implementing such constructions, and in particular for identifying the propositional atoms that are relevant in every world by means of a reachability relation. The proposed encodings are designed to take advantage of other properties such as entailment relations of subformulas rooted by modal operators. An empirical assessment of the proposed encodings shows that the reachability relation is very effective and leads to comparable performance to a state-of-the-art S5 solver based on SAT, while entailment relations are possibly too expensive to reason about and may result in overhead.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"527 - 542"},"PeriodicalIF":1.4,"publicationDate":"2021-08-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"49488199","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Planning for an Efficient Implementation of Hypothetical Bousi∼Prolog 有效实施假设Bousi ~ Prolog的规划
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-08 DOI: 10.1017/S1471068421000405
Pascual Julián-Iranzo, F. Sáenz-Pérez
Abstract This paper explores the integration of hypothetical reasoning into an efficient implementation of the fuzzy logic language Bousi∼Prolog. To this end, we first analyse what would be expected from a logic inference system, equipped with what is called embedded implication, to model solving goals with respect to assumptions. We start with a propositional system and incrementally build more complex systems and implementations to satisfy the requirements imposed by a system like Bousi∼Prolog. Finally, we propose an inference system, operational semantics and the translation function to generate efficient Prolog programmes from Bousi∼Prolog programmes.
摘要本文探讨了将假设推理整合到模糊逻辑语言Bousi ~ Prolog的有效实现中。为此,我们首先分析了逻辑推理系统的期望,该系统配备了所谓的嵌入式含义,以根据假设对解决目标进行建模。我们从命题系统开始,逐步构建更复杂的系统和实现,以满足像Bousi ~ Prolog这样的系统所施加的要求。最后,我们提出了一个推理系统、操作语义和翻译函数,以从Bousi ~ Prolog程序生成高效的Prolog程序。
{"title":"Planning for an Efficient Implementation of Hypothetical Bousi∼Prolog","authors":"Pascual Julián-Iranzo, F. Sáenz-Pérez","doi":"10.1017/S1471068421000405","DOIUrl":"https://doi.org/10.1017/S1471068421000405","url":null,"abstract":"Abstract This paper explores the integration of hypothetical reasoning into an efficient implementation of the fuzzy logic language Bousi∼Prolog. To this end, we first analyse what would be expected from a logic inference system, equipped with what is called embedded implication, to model solving goals with respect to assumptions. We start with a propositional system and incrementally build more complex systems and implementations to satisfy the requirements imposed by a system like Bousi∼Prolog. Finally, we propose an inference system, operational semantics and the translation function to generate efficient Prolog programmes from Bousi∼Prolog programmes.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"680 - 697"},"PeriodicalIF":1.4,"publicationDate":"2021-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"47865918","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
A Logical Characterization of the Preferred Models of Logic Programs with Ordered Disjunction 具有有序位错的逻辑程序优选模型的一个逻辑表征
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-07 DOI: 10.1017/S1471068421000235
A. Charalambidis, P. Rondogiannis, Antonis Troumpoukis
Abstract Logic programs with ordered disjunction (LPODs) extend classical logic programs with the capability of expressing alternatives with decreasing degrees of preference in the heads of program rules. Despite the fact that the operational meaning of ordered disjunction is clear, there exists an important open issue regarding its semantics. In particular, there does not exist a purely model-theoretic approach for determining the most preferred models of an LPOD. At present, the selection of the most preferred models is performed using a technique that is not based exclusively on the models of the program and in certain cases produces counterintuitive results. We provide a novel, model-theoretic semantics for LPODs, which uses an additional truth value in order to identify the most preferred models of a program. We demonstrate that the proposed approach overcomes the shortcomings of the traditional semantics of LPODs. Moreover, the new approach can be used to define the semantics of a natural class of logic programs that can have both ordered and classical disjunctions in the heads of clauses. This allows programs that can express not only strict levels of preferences but also alternatives that are equally preferred.
摘要有序析取逻辑程序是对经典逻辑程序的扩展,它具有在程序规则头部表示具有递减偏好度的可选方案的能力。尽管有序析取的运算意义是明确的,但它的语义存在一个重要的开放性问题。特别是,不存在一种纯粹的模型理论方法来确定LPOD的最优选模型。目前,最优选模型的选择是使用一种技术来执行的,这种技术不是完全基于程序的模型,在某些情况下产生反直觉的结果。我们为LPODs提供了一种新颖的模型理论语义,它使用一个额外的真值来识别程序的最优选模型。我们证明了所提出的方法克服了lpod传统语义的缺点。此外,新方法可用于定义自然类逻辑程序的语义,这些逻辑程序可以在子句头部同时具有有序和经典析取。这使得程序不仅可以表达严格级别的偏好,还可以表达同等偏好的替代方案。
{"title":"A Logical Characterization of the Preferred Models of Logic Programs with Ordered Disjunction","authors":"A. Charalambidis, P. Rondogiannis, Antonis Troumpoukis","doi":"10.1017/S1471068421000235","DOIUrl":"https://doi.org/10.1017/S1471068421000235","url":null,"abstract":"Abstract Logic programs with ordered disjunction (LPODs) extend classical logic programs with the capability of expressing alternatives with decreasing degrees of preference in the heads of program rules. Despite the fact that the operational meaning of ordered disjunction is clear, there exists an important open issue regarding its semantics. In particular, there does not exist a purely model-theoretic approach for determining the most preferred models of an LPOD. At present, the selection of the most preferred models is performed using a technique that is not based exclusively on the models of the program and in certain cases produces counterintuitive results. We provide a novel, model-theoretic semantics for LPODs, which uses an additional truth value in order to identify the most preferred models of a program. We demonstrate that the proposed approach overcomes the shortcomings of the traditional semantics of LPODs. Moreover, the new approach can be used to define the semantics of a natural class of logic programs that can have both ordered and classical disjunctions in the heads of clauses. This allows programs that can express not only strict levels of preferences but also alternatives that are equally preferred.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"629 - 645"},"PeriodicalIF":1.4,"publicationDate":"2021-08-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"46828846","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
期刊
Theory and Practice of Logic Programming
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1