首页 > 最新文献

Theory and Practice of Logic Programming最新文献

英文 中文
FOLD-RM: A Scalable, Efficient, and Explainable Inductive Learning Algorithm for Multi-Category Classification of Mixed Data FOLD-RM:一种可扩展、高效、可解释的混合数据多类别分类归纳学习算法
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2022-02-14 DOI: 10.1017/S1471068422000205
Huaduo Wang, Farhad Shakerin, Gopal Gupta
Abstract FOLD-RM is an automated inductive learning algorithm for learning default rules for mixed (numerical and categorical) data. It generates an (explainable) answer set programming (ASP) rule set for multi-category classification tasks while maintaining efficiency and scalability. The FOLD-RM algorithm is competitive in performance with the widely used, state-of-the-art algorithms such as XGBoost and multi-layer perceptrons, however, unlike these algorithms, the FOLD-RM algorithm produces an explainable model. FOLD-RM outperforms XGBoost on some datasets, particularly large ones. FOLD-RM also provides human-friendly explanations for predictions.
摘要FOLD-RM是一种自动归纳学习算法,用于学习混合(数字和分类)数据的默认规则。它为多类别分类任务生成一个(可解释的)答案集编程(ASP)规则集,同时保持效率和可扩展性。FOLD-RM算法在性能上与广泛使用的最先进的算法(如XGBoost和多层感知器)具有竞争力,然而,与这些算法不同,FOLD-RM算法产生了一个可解释的模型。FOLD-RM在某些数据集,特别是大型数据集上的性能优于XGBoost。FOLD-RM还为预测提供了人性化的解释。
{"title":"FOLD-RM: A Scalable, Efficient, and Explainable Inductive Learning Algorithm for Multi-Category Classification of Mixed Data","authors":"Huaduo Wang, Farhad Shakerin, Gopal Gupta","doi":"10.1017/S1471068422000205","DOIUrl":"https://doi.org/10.1017/S1471068422000205","url":null,"abstract":"Abstract FOLD-RM is an automated inductive learning algorithm for learning default rules for mixed (numerical and categorical) data. It generates an (explainable) answer set programming (ASP) rule set for multi-category classification tasks while maintaining efficiency and scalability. The FOLD-RM algorithm is competitive in performance with the widely used, state-of-the-art algorithms such as XGBoost and multi-layer perceptrons, however, unlike these algorithms, the FOLD-RM algorithm produces an explainable model. FOLD-RM outperforms XGBoost on some datasets, particularly large ones. FOLD-RM also provides human-friendly explanations for predictions.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"22 1","pages":"658 - 677"},"PeriodicalIF":1.4,"publicationDate":"2022-02-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"42400228","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}
引用次数: 5
Answer Set Planning: A Survey 答案集计划:一项调查
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2022-02-11 DOI: 10.1017/s1471068422000072
Tran Cao Son, Enrico Pontelli, M. Balduccini, Torsten Schaub
Answer Set Planning refers to the use of Answer Set Programming (ASP) to compute plans, that is, solutions to planning problems, that transform a given state of the world to another state. The development of efficient and scalable answer set solvers has provided a significant boost to the development of ASP-based planning systems. This paper surveys the progress made during the last two and a half decades in the area of answer set planning, from its foundations to its use in challenging planning domains. The survey explores the advantages and disadvantages of answer set planning. It also discusses typical applications of answer set planning and presents a set of challenges for future research.
答案集计划是指使用答案集编程(ASP)来计算计划,即计划问题的解决方案,将给定的世界状态转换为另一种状态。高效且可扩展的答案集求解器的开发极大地促进了基于asp的规划系统的开发。本文调查了过去25年答题集规划领域的进展,从它的基础到它在具有挑战性的规划领域的应用。该调查探讨了答案集规划的优点和缺点。它还讨论了答案集规划的典型应用,并提出了未来研究的一系列挑战。
{"title":"Answer Set Planning: A Survey","authors":"Tran Cao Son, Enrico Pontelli, M. Balduccini, Torsten Schaub","doi":"10.1017/s1471068422000072","DOIUrl":"https://doi.org/10.1017/s1471068422000072","url":null,"abstract":"\u0000 Answer Set Planning refers to the use of Answer Set Programming (ASP) to compute plans, that is, solutions to planning problems, that transform a given state of the world to another state. The development of efficient and scalable answer set solvers has provided a significant boost to the development of ASP-based planning systems. This paper surveys the progress made during the last two and a half decades in the area of answer set planning, from its foundations to its use in challenging planning domains. The survey explores the advantages and disadvantages of answer set planning. It also discusses typical applications of answer set planning and presents a set of challenges for future research.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"19 1","pages":"226-298"},"PeriodicalIF":1.4,"publicationDate":"2022-02-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"86620304","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
MV-Datalog+-: Effective Rule-based Reasoning with Uncertain Observations MV Datalog+-:具有不确定观测的有效基于规则的推理
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2022-02-03 DOI: 10.1017/S1471068422000199
Matthias Lanzinger, Stefano Sferrazza, G. Gottlob
Abstract Modern applications combine information from a great variety of sources. Oftentimes, some of these sources, like machine-learning systems, are not strictly binary but associated with some degree of (lack of) confidence in the observation. We propose MV-Datalog and $mathrm{MV-Datalog}^pm$ as extensions of Datalog and $mathrm{Datalog}^pm$ , respectively, to the fuzzy semantics of infinite-valued Łukasiewicz logic $mathbf{L}$ as languages for effectively reasoning in scenarios where such uncertain observations occur. We show that the semantics of MV-Datalog exhibits similar model theoretic properties as Datalog. In particular, we show that (fuzzy) entailment can be decided via minimal fuzzy models. We show that when they exist, such minimal fuzzy models are unique and can be characterised in terms of a linear optimisation problem over the output of a fixed-point procedure. On the basis of this characterisation, we propose similar many-valued semantics for rules with existential quantification in the head, extending $mathrm{Datalog}^pm$ .
摘要现代应用程序结合了来自各种来源的信息。通常,其中一些来源,如机器学习系统,并不是严格的二进制,而是与观察中的某种程度的(缺乏)信心有关。我们提出MV-Datalog和$mathrm{MV-Datalog}^pm$分别作为Datalog和$athrm{Datalog}^pm$的扩展,以无限值ukasiewicz逻辑$mathbf{L}$的模糊语义作为在发生这种不确定观测的场景中进行有效推理的语言。我们证明了MV数据日志的语义表现出与数据日志相似的模型理论性质。特别地,我们证明了(模糊)蕴涵可以通过最小模糊模型来确定。我们证明,当它们存在时,这种最小模糊模型是唯一的,并且可以用定点过程输出上的线性优化问题来表征。基于这一特征,我们为头部具有存在量化的规则提出了类似的多值语义,扩展了$mathrm{Datalog}^pm$。
{"title":"MV-Datalog+-: Effective Rule-based Reasoning with Uncertain Observations","authors":"Matthias Lanzinger, Stefano Sferrazza, G. Gottlob","doi":"10.1017/S1471068422000199","DOIUrl":"https://doi.org/10.1017/S1471068422000199","url":null,"abstract":"Abstract Modern applications combine information from a great variety of sources. Oftentimes, some of these sources, like machine-learning systems, are not strictly binary but associated with some degree of (lack of) confidence in the observation. We propose MV-Datalog and \u0000$mathrm{MV-Datalog}^pm$\u0000 as extensions of Datalog and \u0000$mathrm{Datalog}^pm$\u0000 , respectively, to the fuzzy semantics of infinite-valued Łukasiewicz logic \u0000$mathbf{L}$\u0000 as languages for effectively reasoning in scenarios where such uncertain observations occur. We show that the semantics of MV-Datalog exhibits similar model theoretic properties as Datalog. In particular, we show that (fuzzy) entailment can be decided via minimal fuzzy models. We show that when they exist, such minimal fuzzy models are unique and can be characterised in terms of a linear optimisation problem over the output of a fixed-point procedure. On the basis of this characterisation, we propose similar many-valued semantics for rules with existential quantification in the head, extending \u0000$mathrm{Datalog}^pm$\u0000 .","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"22 1","pages":"678 - 692"},"PeriodicalIF":1.4,"publicationDate":"2022-02-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"46881676","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}
引用次数: 3
An ASP Approach for Reasoning on Neural Networks under a Finitely Many-Valued Semantics for Weighted Conditional Knowledge Bases 加权条件知识库有限多值语义下神经网络推理的ASP方法
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2022-02-02 DOI: 10.1017/S1471068422000163
Laura Giordano, Daniele Theseider Dupré
Abstract Weighted knowledge bases for description logics with typicality have been recently considered under a “concept-wise” multipreference semantics (in both the two-valued and fuzzy case), as the basis of a logical semantics of multilayer perceptrons (MLPs). In this paper we consider weighted conditional $mathcal{ALC}$ knowledge bases with typicality in the finitely many-valued case, through three different semantic constructions. For the boolean fragment $mathcal{LC}$ of $mathcal{ALC}$ we exploit answer set programming and asprin for reasoning with the concept-wise multipreference entailment under a $varphi$ -coherent semantics, suitable to characterize the stationary states of MLPs. As a proof of concept, we experiment the proposed approach for checking properties of trained MLPs.
具有典型性的描述逻辑的抽象加权知识库最近被认为是在“概念方面”的多参考语义下(在二值和模糊的情况下),作为多层感知器(MLP)的逻辑语义的基础。在本文中,我们通过三种不同的语义结构,考虑在有限多值情况下具有典型性的加权条件$mathcal{ALC}$知识库。对于$mathcal{ALC}$的布尔片段$mathical{LC}$,我们利用答案集编程和asprin,在$varphi$相干语义下,利用概念多参考蕴涵进行推理,适用于表征MLP的平稳状态。作为概念验证,我们对所提出的检查训练MLP属性的方法进行了实验。
{"title":"An ASP Approach for Reasoning on Neural Networks under a Finitely Many-Valued Semantics for Weighted Conditional Knowledge Bases","authors":"Laura Giordano, Daniele Theseider Dupré","doi":"10.1017/S1471068422000163","DOIUrl":"https://doi.org/10.1017/S1471068422000163","url":null,"abstract":"Abstract Weighted knowledge bases for description logics with typicality have been recently considered under a “concept-wise” multipreference semantics (in both the two-valued and fuzzy case), as the basis of a logical semantics of multilayer perceptrons (MLPs). In this paper we consider weighted conditional \u0000$mathcal{ALC}$\u0000 knowledge bases with typicality in the finitely many-valued case, through three different semantic constructions. For the boolean fragment \u0000$mathcal{LC}$\u0000 of \u0000$mathcal{ALC}$\u0000 we exploit answer set programming and asprin for reasoning with the concept-wise multipreference entailment under a \u0000$varphi$\u0000 -coherent semantics, suitable to characterize the stationary states of MLPs. As a proof of concept, we experiment the proposed approach for checking properties of trained MLPs.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"22 1","pages":"589 - 605"},"PeriodicalIF":1.4,"publicationDate":"2022-02-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"42646909","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}
引用次数: 16
Fifty Years of Prolog and Beyond 《五十年前瞻
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2022-01-26 DOI: 10.1017/s1471068422000102
Philipp Korner, M. Leuschel, Joao Barbosa, V. S. Costa, V. Dahl, M. Hermenegildo, J. Morales, J. Wielemaker, Daniel Diaz, Salvador Abreu, Giovanni Ciatto
Both logic programming in general and Prolog in particular have a long and fascinating history, intermingled with that of many disciplines they inherited from or catalyzed. A large body of research has been gathered over the last 50 years, supported by many Prolog implementations. Many implementations are still actively developed, while new ones keep appearing. Often, the features added by different systems were motivated by the interdisciplinary needs of programmers and implementors, yielding systems that, while sharing the “classic” core language, in particular, the main aspects of the ISO-Prolog standard, also depart from each other in other aspects. This obviously poses challenges for code portability. The field has also inspired many related, but quite different languages that have created their own communities. This article aims at integrating and applying the main lessons learned in the process of evolution of Prolog. It is structured into three major parts. First, we overview the evolution of Prolog systems and the community approximately up to the ISO standard, considering both the main historic developments and the motivations behind several Prolog implementations, as well as other logic programming languages influenced by Prolog. Then, we discuss the Prolog implementations that are most active after the appearance of the standard: their visions, goals, commonalities, and incompatibilities. Finally, we perform a SWOT analysis in order to better identify the potential of Prolog and propose future directions along with which Prolog might continue to add useful features, interfaces, libraries, and tools, while at the same time improving compatibility between implementations.
一般的逻辑编程和Prolog都有着悠久而迷人的历史,与它们继承或催化的许多学科交织在一起。在过去的50年里,在许多Prolog实现的支持下,已经收集了大量的研究。许多实现仍在积极开发中,而新的实现不断出现。通常,由不同系统添加的特性是由程序员和实现者的跨学科需求所驱动的,产生的系统虽然共享“经典”核心语言,特别是ISO-Prolog标准的主要方面,但在其他方面也彼此不同。这显然对代码可移植性提出了挑战。这个领域也启发了许多相关的,但完全不同的语言,它们创建了自己的社区。本文旨在整合和运用Prolog在演进过程中的主要经验教训。它分为三个主要部分。首先,我们概述了Prolog系统和社区的演变,大致达到ISO标准,考虑到主要的历史发展和几个Prolog实现背后的动机,以及受Prolog影响的其他逻辑编程语言。然后,我们讨论在标准出现后最活跃的Prolog实现:它们的愿景、目标、共性和不兼容性。最后,我们进行了SWOT分析,以便更好地识别Prolog的潜力,并提出Prolog可能继续添加有用的功能、接口、库和工具的未来方向,同时提高实现之间的兼容性。
{"title":"Fifty Years of Prolog and Beyond","authors":"Philipp Korner, M. Leuschel, Joao Barbosa, V. S. Costa, V. Dahl, M. Hermenegildo, J. Morales, J. Wielemaker, Daniel Diaz, Salvador Abreu, Giovanni Ciatto","doi":"10.1017/s1471068422000102","DOIUrl":"https://doi.org/10.1017/s1471068422000102","url":null,"abstract":"\u0000 Both logic programming in general and Prolog in particular have a long and fascinating history, intermingled with that of many disciplines they inherited from or catalyzed. A large body of research has been gathered over the last 50 years, supported by many Prolog implementations. Many implementations are still actively developed, while new ones keep appearing. Often, the features added by different systems were motivated by the interdisciplinary needs of programmers and implementors, yielding systems that, while sharing the “classic” core language, in particular, the main aspects of the ISO-Prolog standard, also depart from each other in other aspects. This obviously poses challenges for code portability. The field has also inspired many related, but quite different languages that have created their own communities. This article aims at integrating and applying the main lessons learned in the process of evolution of Prolog. It is structured into three major parts. First, we overview the evolution of Prolog systems and the community approximately up to the ISO standard, considering both the main historic developments and the motivations behind several Prolog implementations, as well as other logic programming languages influenced by Prolog. Then, we discuss the Prolog implementations that are most active after the appearance of the standard: their visions, goals, commonalities, and incompatibilities. Finally, we perform a SWOT analysis in order to better identify the potential of Prolog and propose future directions along with which Prolog might continue to add useful features, interfaces, libraries, and tools, while at the same time improving compatibility between implementations.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"88 1","pages":"776-858"},"PeriodicalIF":1.4,"publicationDate":"2022-01-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"91334975","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}
引用次数: 14
A Brief History of Updates of Answer-Set Programs 答案集程序更新简史
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-12-27 DOI: 10.1017/s1471068422000060
João Leite, Martin Slota
Over the last couple of decades, there has been a considerable effort devoted to the problem of updating logic programs under the stable model semantics (a.k.a. answer-set programs) or, in other words, the problem of characterising the result of bringing up-to-date a logic program when the world it describes changes. Whereas the state-of-the-art approaches are guided by the same basic intuitions and aspirations as belief updates in the context of classical logic, they build upon fundamentally different principles and methods, which have prevented a unifying framework that could embrace both belief and rule updates. In this paper, we will overview some of the main approaches and results related to answer-set programming updates, while pointing out some of the main challenges that research in this topic has faced.
在过去的几十年里,已经有相当多的努力致力于在稳定模型语义下更新逻辑程序的问题(又名答案集程序),或者换句话说,当逻辑程序所描述的世界发生变化时,描述更新逻辑程序的结果的问题。尽管最先进的方法是由与经典逻辑背景下的信念更新相同的基本直觉和愿望指导的,但它们建立在根本不同的原则和方法之上,这阻碍了一个可以同时包含信念和规则更新的统一框架。在本文中,我们将概述与答案集编程更新相关的一些主要方法和结果,同时指出该主题研究面临的一些主要挑战。
{"title":"A Brief History of Updates of Answer-Set Programs","authors":"João Leite, Martin Slota","doi":"10.1017/s1471068422000060","DOIUrl":"https://doi.org/10.1017/s1471068422000060","url":null,"abstract":"\u0000 Over the last couple of decades, there has been a considerable effort devoted to the problem of updating logic programs under the stable model semantics (a.k.a. answer-set programs) or, in other words, the problem of characterising the result of bringing up-to-date a logic program when the world it describes changes. Whereas the state-of-the-art approaches are guided by the same basic intuitions and aspirations as belief updates in the context of classical logic, they build upon fundamentally different principles and methods, which have prevented a unifying framework that could embrace both belief and rule updates. In this paper, we will overview some of the main approaches and results related to answer-set programming updates, while pointing out some of the main challenges that research in this topic has faced.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"18 1","pages":"57-110"},"PeriodicalIF":1.4,"publicationDate":"2021-12-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"83042488","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
Linear-Time Temporal Answer Set Programming 线性时间时态答案集规划
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-12-27 DOI: 10.1017/s1471068421000557
Felicidad Aguado, Pedro Cabalar, Martín Diéguez, Gilberto Pérez, Torsten Schaub, Anna Schuhmann, Concepción Vidal Martín
In this survey, we present an overview on (Modal) Temporal Logic Programming in view of its application to Knowledge Representation and Declarative Problem Solving. The syntax of this extension of logic programs is the result of combining usual rules with temporal modal operators, as in Linear-time Temporal Logic (LTL). In the paper, we focus on the main recent results of the non-monotonic formalism called Temporal Equilibrium Logic (TEL) that is defined for the full syntax of LTL but involves a model selection criterion based on Equilibrium Logic, a well known logical characterization of Answer Set Programming (ASP). As a result, we obtain a proper extension of the stable models semantics for the general case of temporal formulas in the syntax of LTL. We recall the basic definitions for TEL and its monotonic basis, the temporal logic of Here-and-There (THT), and study the differences between finite and infinite trace length. We also provide further useful results, such as the translation into other formalisms like Quantified Equilibrium Logic and Second-order LTL, and some techniques for computing temporal stable models based on automata constructions. In the remainder of the paper, we focus on practical aspects, defining a syntactic fragment called (modal) temporal logic programs closer to ASP, and explaining how this has been exploited in the construction of the solver telingo, a temporal extension of the well-known ASP solver clingo that uses its incremental solving capabilities.
在这篇综述中,我们介绍了(模态)时间逻辑规划在知识表示和陈述性问题解决中的应用。这种逻辑程序扩展的语法是将常规规则与时间模态运算符相结合的结果,如线性时间时间逻辑(LTL)。在本文中,我们重点讨论了称为时间均衡逻辑(TEL)的非单调形式主义的主要最新结果,该形式主义是为LTL的完整语法定义的,但涉及基于均衡逻辑的模型选择标准,均衡逻辑是答案集规划(ASP)的一个众所周知的逻辑表征。结果,我们得到了LTL语法中一般情况下时间公式的稳定模型语义的适当推广。我们回顾了TEL及其单调基的基本定义,这里和那里(THT)的时间逻辑,并研究了有限和无限迹长之间的区别。我们还提供了进一步有用的结果,例如转换为其他形式,如量化平衡逻辑和二阶LTL,以及基于自动机结构计算时间稳定模型的一些技术。在本文的其余部分中,我们将重点关注实际方面,定义一个称为(模态)时态逻辑程序的语法片段,更接近ASP,并解释如何在求解器telingo的构建中利用它,telingo是众所周知的ASP求解器clingo的时间扩展,使用其增量求解功能。
{"title":"Linear-Time Temporal Answer Set Programming","authors":"Felicidad Aguado, Pedro Cabalar, Martín Diéguez, Gilberto Pérez, Torsten Schaub, Anna Schuhmann, Concepción Vidal Martín","doi":"10.1017/s1471068421000557","DOIUrl":"https://doi.org/10.1017/s1471068421000557","url":null,"abstract":"\u0000 In this survey, we present an overview on (Modal) Temporal Logic Programming in view of its application to Knowledge Representation and Declarative Problem Solving. The syntax of this extension of logic programs is the result of combining usual rules with temporal modal operators, as in Linear-time Temporal Logic (LTL). In the paper, we focus on the main recent results of the non-monotonic formalism called Temporal Equilibrium Logic (TEL) that is defined for the full syntax of LTL but involves a model selection criterion based on Equilibrium Logic, a well known logical characterization of Answer Set Programming (ASP). As a result, we obtain a proper extension of the stable models semantics for the general case of temporal formulas in the syntax of LTL. We recall the basic definitions for TEL and its monotonic basis, the temporal logic of Here-and-There (THT), and study the differences between finite and infinite trace length. We also provide further useful results, such as the translation into other formalisms like Quantified Equilibrium Logic and Second-order LTL, and some techniques for computing temporal stable models based on automata constructions. In the remainder of the paper, we focus on practical aspects, defining a syntactic fragment called (modal) temporal logic programs closer to ASP, and explaining how this has been exploited in the construction of the solver telingo, a temporal extension of the well-known ASP solver clingo that uses its incremental solving capabilities.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"96 1","pages":"2-56"},"PeriodicalIF":1.4,"publicationDate":"2021-12-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"77196150","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}
引用次数: 11
Symbolic Specialization of Rewriting Logic Theories with Presto 用Presto重写逻辑理论的符号专门化
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-12-19 DOI: 10.1017/s1471068421000600
M. Alpuente, D. Ballis, Santiago Escobar, J. Sapiña
This paper introduces $tt{{Presto}}$ , a symbolic partial evaluator for Maude’s rewriting logic theories that can improve system analysis and verification. In $tt{{Presto}}$ , the automated optimization of a conditional rewrite theory $mathcal{R}$ (whose rules define the concurrent transitions of a system) is achieved by partially evaluating, with respect to the rules of $mathcal{R}$ , an underlying, companion equational logic theory $mathcal{E}$ that specifies the algebraic structure of the system states of $mathcal{R}$ . This can be particularly useful for specializing an overly general equational theory $mathcal{E}$ whose operators may obey complex combinations of associativity, commutativity, and/or identity axioms, when being plugged into a host rewrite theory $mathcal{R}$ as happens, for instance, in protocol analysis, where sophisticated equational theories for cryptography are used. $tt{{Presto}}$ implements different unfolding operators that are based on folding variant narrowing (the symbolic engine of Maude’s equational theories). When combined with an appropriate abstraction algorithm, they allow the specialization to be adapted to the theory termination behavior and bring significant improvement while ensuring strong correctness and termination of the specialization. We demonstrate the effectiveness of $tt{{Presto}}$ in several examples of protocol analysis where it achieves a significant speed-up. Actually, the transformation provided by $tt{{Presto}}$ may cut down an infinite folding variant narrowing space to a finite one, and moreover, some of the costly algebraic axioms and rule conditions may be eliminated as well. As far as we know, this is the first partial evaluator for Maude that respects the semantics of functional, logic, concurrent, and object-oriented computations.
本文介绍了Maude重写逻辑理论的符号部分求值器$tt{{Presto}}$,它可以提高系统的分析和验证能力。在$tt{{Presto}}$中,条件重写理论$mathcal{R}$(其规则定义系统的并发转换)的自动优化是通过对$mathcal{R}$的规则进行部分求值来实现的,该规则是对$mathcal{R}$的规则进行部分求值的,该规则指定$mathcal{R}$的系统状态的代数结构。当插入到主机重写理论$mathcal{R}$时,这对于专化一个过于一般的方程理论$mathcal{E}$特别有用,该理论的运算符可能服从结合性、交换性和/或恒等公理的复杂组合,例如,在协议分析中,使用复杂的加密方程理论。$tt{{Presto}}$实现了不同的展开运算符,这些运算符基于折叠变型窄化(Maude方程理论的符号引擎)。当与适当的抽象算法相结合时,它们允许专门化适应理论终止行为,并在确保专门化的强正确性和终止性的同时带来显著的改进。我们在几个协议分析示例中演示了$tt{{Presto}}$的有效性,在这些示例中,它实现了显著的加速。实际上,$tt{{Presto}}$提供的变换可以将无限的折叠变型缩小到有限的空间,而且可以省去一些代价高昂的代数公理和规则条件。据我们所知,这是Maude的第一个部分求值器,它尊重函数式、逻辑、并发和面向对象计算的语义。
{"title":"Symbolic Specialization of Rewriting Logic Theories with Presto","authors":"M. Alpuente, D. Ballis, Santiago Escobar, J. Sapiña","doi":"10.1017/s1471068421000600","DOIUrl":"https://doi.org/10.1017/s1471068421000600","url":null,"abstract":"\u0000 This paper introduces \u0000 \u0000 \u0000 \u0000$tt{{Presto}}$\u0000\u0000 \u0000 , a symbolic partial evaluator for Maude’s rewriting logic theories that can improve system analysis and verification. In \u0000 \u0000 \u0000 \u0000$tt{{Presto}}$\u0000\u0000 \u0000 , the automated optimization of a conditional rewrite theory \u0000 \u0000 \u0000 \u0000$mathcal{R}$\u0000\u0000 \u0000 (whose rules define the concurrent transitions of a system) is achieved by partially evaluating, with respect to the rules of \u0000 \u0000 \u0000 \u0000$mathcal{R}$\u0000\u0000 \u0000 , an underlying, companion equational logic theory \u0000 \u0000 \u0000 \u0000$mathcal{E}$\u0000\u0000 \u0000 that specifies the algebraic structure of the system states of \u0000 \u0000 \u0000 \u0000$mathcal{R}$\u0000\u0000 \u0000 . This can be particularly useful for specializing an overly general equational theory \u0000 \u0000 \u0000 \u0000$mathcal{E}$\u0000\u0000 \u0000 whose operators may obey complex combinations of associativity, commutativity, and/or identity axioms, when being plugged into a host rewrite theory \u0000 \u0000 \u0000 \u0000$mathcal{R}$\u0000\u0000 \u0000 as happens, for instance, in protocol analysis, where sophisticated equational theories for cryptography are used. \u0000 \u0000 \u0000 \u0000$tt{{Presto}}$\u0000\u0000 \u0000 implements different unfolding operators that are based on folding variant narrowing (the symbolic engine of Maude’s equational theories). When combined with an appropriate abstraction algorithm, they allow the specialization to be adapted to the theory termination behavior and bring significant improvement while ensuring strong correctness and termination of the specialization. We demonstrate the effectiveness of \u0000 \u0000 \u0000 \u0000$tt{{Presto}}$\u0000\u0000 \u0000 in several examples of protocol analysis where it achieves a significant speed-up. Actually, the transformation provided by \u0000 \u0000 \u0000 \u0000$tt{{Presto}}$\u0000\u0000 \u0000 may cut down an infinite folding variant narrowing space to a finite one, and moreover, some of the costly algebraic axioms and rule conditions may be eliminated as well. As far as we know, this is the first partial evaluator for Maude that respects the semantics of functional, logic, concurrent, and object-oriented computations.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"33 1","pages":"444-495"},"PeriodicalIF":1.4,"publicationDate":"2021-12-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"79472569","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
as Input Language for Answer Set Solvers 作为答案集求解器的输入语言
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-11-19 DOI: 10.1017/s1471068421000351
Kylian Van Dessel, Jo Devriendt, Joost Vennekens
Technological progress in Answer Set Programming (ASP) has been stimulated by the use of common standards, such as the ASP-Core-2 language. While ASP has its roots in nonmonotonic reasoning, efforts have also been made to reconcile ASP with classical first-order (FO) logic. This has resulted in the development of FO(·), an expressive extension of FO, which allows ASP-like problem solving in a purely classical setting. This language may be more accessible to domain experts already familiar with FO and may be easier to combine with other formalisms that are based on classical logic. It is supported by the IDP inference system, which has successfully competed in a number of ASP competitions. Here, however, technological progress has been hampered by the limited number of systems that are available for FO(·). In this paper, we aim to address this gap by means of a translation tool that transforms an FO(·) specification into ASP-Core-2, thereby allowing ASP-Core-2 solvers to be used as solvers for FO(·) as well. We present experimental results to show that the resulting combination of our translation with an off-the-shelf ASP solver is competitive with the IDP system as a way of solving problems formulated in FO(·).
使用通用标准(如ASP- core -2语言)刺激了答案集编程(ASP)的技术进步。虽然ASP植根于非单调推理,但人们也在努力使ASP与经典的一阶逻辑(FO)相协调。这导致了FO(·)的发展,这是FO的一种表达性扩展,它允许在纯经典设置中解决类似asp的问题。对于已经熟悉FO的领域专家来说,这种语言可能更容易访问,并且可能更容易与基于经典逻辑的其他形式化结合起来。它由IDP推理系统支持,该系统已成功参加了多个ASP竞赛。然而,在这里,技术进步受到可用于FO(·)的系统数量有限的阻碍。在本文中,我们的目标是通过将FO(·)规范转换为ASP-Core-2的翻译工具来解决这一差距,从而允许ASP-Core-2求解器也被用作FO(·)的求解器。我们提出的实验结果表明,我们的翻译与现成的ASP求解器相结合,作为解决FO(·)中表述的问题的一种方式,与IDP系统相竞争。
{"title":"as Input Language for Answer Set Solvers","authors":"Kylian Van Dessel, Jo Devriendt, Joost Vennekens","doi":"10.1017/s1471068421000351","DOIUrl":"https://doi.org/10.1017/s1471068421000351","url":null,"abstract":"\u0000 Technological progress in Answer Set Programming (ASP) has been stimulated by the use of common standards, such as the ASP-Core-2 language. While ASP has its roots in nonmonotonic reasoning, efforts have also been made to reconcile ASP with classical first-order (FO) logic. This has resulted in the development of FO(·), an expressive extension of FO, which allows ASP-like problem solving in a purely classical setting. This language may be more accessible to domain experts already familiar with FO and may be easier to combine with other formalisms that are based on classical logic. It is supported by the IDP inference system, which has successfully competed in a number of ASP competitions. Here, however, technological progress has been hampered by the limited number of systems that are available for FO(·). In this paper, we aim to address this gap by means of a translation tool that transforms an FO(·) specification into ASP-Core-2, thereby allowing ASP-Core-2 solvers to be used as solvers for FO(·) as well. We present experimental results to show that the resulting combination of our translation with an off-the-shelf ASP solver is competitive with the IDP system as a way of solving problems formulated in FO(·).","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"104 1","pages":"785-801"},"PeriodicalIF":1.4,"publicationDate":"2021-11-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"75736156","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
Aggregate Semantics for Propositional Answer Set Programs 命题答案集程序的聚合语义
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-09-17 DOI: 10.1017/s1471068422000047
Mario Alviano, Wolfgang Faber, M. Gebser
Answer set programming (ASP) emerged in the late 1990s as a paradigm for knowledge representation and reasoning. The attractiveness of ASP builds on an expressive high-level modeling language along with the availability of powerful off-the-shelf solving systems. While the utility of incorporating aggregate expressions in the modeling language has been realized almost simultaneously with the inception of the first ASP solving systems, a general semantics of aggregates and its efficient implementation have been long-standing challenges. Aggregates have been proposed and widely used in database systems, and also in the deductive database language Datalog, which is one of the main precursors of ASP. The use of aggregates was, however, still restricted in Datalog (by either disallowing recursion or only allowing monotone aggregates), while several ways to integrate unrestricted aggregates evolved in the context of ASP. In this survey, we pick up at this point of development by presenting and comparing the main aggregate semantics that have been proposed for propositional ASP programs. We highlight crucial properties such as computational complexity and expressive power, and outline the capabilities and limitations of different approaches by illustrative examples.
答案集编程(ASP)作为知识表示和推理的范式出现于20世纪90年代末。ASP的吸引力建立在具有表现力的高级建模语言以及强大的现成解决系统的可用性之上。虽然在建模语言中整合聚合表达式的实用程序几乎与第一个ASP求解系统同时实现,但聚合的一般语义及其有效实现一直是长期存在的挑战。在数据库系统中,以及演绎数据库语言Datalog中,已经提出并广泛使用了aggregation, Datalog是ASP的主要先驱之一。然而,在Datalog中,聚合的使用仍然受到限制(要么不允许递归,要么只允许单调聚合),而在ASP环境中,有几种方法可以集成不受限制的聚合。在这项调查中,我们通过展示和比较已经为命题ASP程序提出的主要聚合语义,从这一点开始。我们强调了计算复杂性和表达能力等关键属性,并通过说明性示例概述了不同方法的功能和局限性。
{"title":"Aggregate Semantics for Propositional Answer Set Programs","authors":"Mario Alviano, Wolfgang Faber, M. Gebser","doi":"10.1017/s1471068422000047","DOIUrl":"https://doi.org/10.1017/s1471068422000047","url":null,"abstract":"\u0000 Answer set programming (ASP) emerged in the late 1990s as a paradigm for knowledge representation and reasoning. The attractiveness of ASP builds on an expressive high-level modeling language along with the availability of powerful off-the-shelf solving systems. While the utility of incorporating aggregate expressions in the modeling language has been realized almost simultaneously with the inception of the first ASP solving systems, a general semantics of aggregates and its efficient implementation have been long-standing challenges. Aggregates have been proposed and widely used in database systems, and also in the deductive database language Datalog, which is one of the main precursors of ASP. The use of aggregates was, however, still restricted in Datalog (by either disallowing recursion or only allowing monotone aggregates), while several ways to integrate unrestricted aggregates evolved in the context of ASP. In this survey, we pick up at this point of development by presenting and comparing the main aggregate semantics that have been proposed for propositional ASP programs. We highlight crucial properties such as computational complexity and expressive power, and outline the capabilities and limitations of different approaches by illustrative examples.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"8 1","pages":"157-194"},"PeriodicalIF":1.4,"publicationDate":"2021-09-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"85589569","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}
引用次数: 5
期刊
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