首页 > 最新文献

Theory and Practice of Logic Programming最新文献

英文 中文
Solution Enumeration by Optimality in Answer Set Programming 答案集规划中的最优解枚举
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-07 DOI: 10.1017/S1471068421000375
J. Pajunen, T. Janhunen
Given a combinatorial search problem, it may be highly useful to enumerate its (all) solutions besides just finding one solution, or showing that none exists. The same can be stated about optimal solutions if an objective function is provided. This work goes beyond the bare enumeration of optimal solutions and addresses the computational task of solution enumeration by optimality (SEO). This task is studied in the context of answer set programming (ASP) where (optimal) solutions of a problem are captured with the answer sets of a logic program encoding the problem. Existing answer set solvers already support the enumeration of all (optimal) answer sets. However, in this work, we generalize the enumeration of optimal answer sets beyond strictly optimal ones, giving rise to the idea of answer set enumeration in the order of optimality (ASEO). This approach is applicable up to the best k answer sets or in an unlimited setting, which amounts to a process of sorting answer sets based on the objective function. As the main contribution of this work, we present the first general algorithms for the aforementioned tasks of answer set enumeration. Moreover, we illustrate the potential use cases of ASEO. First, we study how efficiently access to the next-best solutions can be achieved in a number of optimization problems that have been formalized and solved in ASP. Second, we show that ASEO provides us with an effective sampling technique for Bayesian networks.
给定一个组合搜索问题,除了找到一个解决方案或显示不存在解决方案之外,枚举其(所有)解决方案可能非常有用。如果提供了目标函数,则最优解也是如此。这项工作超越了最优解决方案的简单枚举,并通过最优性(SEO)解决了解决方案枚举的计算任务。这个任务是在答案集编程(ASP)的背景下研究的,其中一个问题的(最优)解决方案是用编码该问题的逻辑程序的答案集捕获的。现有的答案集求解器已经支持枚举所有(最优)答案集。然而,在这项工作中,我们将最优答案集的枚举推广到严格最优答案集之外,从而产生了最优顺序答案集枚举(ASEO)的思想。该方法适用于最优k个答案集或无限设置,这相当于基于目标函数对答案集进行排序的过程。作为这项工作的主要贡献,我们提出了上述答案集枚举任务的第一个通用算法。此外,我们还说明了ASEO的潜在用例。首先,我们研究如何有效地访问次优解决方案,可以在许多优化问题中实现,这些优化问题已经形式化并在ASP中解决了。其次,我们证明了ASEO为贝叶斯网络提供了一种有效的采样技术。
{"title":"Solution Enumeration by Optimality in Answer Set Programming","authors":"J. Pajunen, T. Janhunen","doi":"10.1017/S1471068421000375","DOIUrl":"https://doi.org/10.1017/S1471068421000375","url":null,"abstract":"\u0000 Given a combinatorial search problem, it may be highly useful to enumerate its (all) solutions besides just finding one solution, or showing that none exists. The same can be stated about optimal solutions if an objective function is provided. This work goes beyond the bare enumeration of optimal solutions and addresses the computational task of solution enumeration by optimality (SEO). This task is studied in the context of answer set programming (ASP) where (optimal) solutions of a problem are captured with the answer sets of a logic program encoding the problem. Existing answer set solvers already support the enumeration of all (optimal) answer sets. However, in this work, we generalize the enumeration of optimal answer sets beyond strictly optimal ones, giving rise to the idea of answer set enumeration in the order of optimality (ASEO). This approach is applicable up to the best k answer sets or in an unlimited setting, which amounts to a process of sorting answer sets based on the objective function. As the main contribution of this work, we present the first general algorithms for the aforementioned tasks of answer set enumeration. Moreover, we illustrate the potential use cases of ASEO. First, we study how efficiently access to the next-best solutions can be achieved in a number of optimization problems that have been formalized and solved in ASP. Second, we show that ASEO provides us with an effective sampling technique for Bayesian networks.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"2 1","pages":"750-767"},"PeriodicalIF":1.4,"publicationDate":"2021-08-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"76302885","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
Nonground Abductive Logic Programming with Probabilistic Integrity Constraints 具有概率完整性约束的非圆展开逻辑规划
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-06 DOI: 10.1017/S1471068421000417
Elena Bellodi, M. Gavanelli, Riccardo Zese, E. Lamma, Fabrizio Riguzzi
Abstract Uncertain information is being taken into account in an increasing number of application fields. In the meantime, abduction has been proved a powerful tool for handling hypothetical reasoning and incomplete knowledge. Probabilistic logical models are a suitable framework to handle uncertain information, and in the last decade many probabilistic logical languages have been proposed, as well as inference and learning systems for them. In the realm of Abductive Logic Programming (ALP), a variety of proof procedures have been defined as well. In this paper, we consider a richer logic language, coping with probabilistic abduction with variables. In particular, we consider an ALP program enriched with integrity constraints à la IFF, possibly annotated with a probability value. We first present the overall abductive language and its semantics according to the Distribution Semantics. We then introduce a proof procedure, obtained by extending one previously presented, and prove its soundness and completeness.
摘要不确定信息在越来越多的应用领域中被考虑在内。与此同时,诱拐已被证明是处理假设推理和不完全知识的有力工具。概率逻辑模型是处理不确定信息的合适框架,在过去的十年里,已经提出了许多概率逻辑语言,以及它们的推理和学习系统。在派生逻辑编程(ALP)领域,也定义了各种证明过程。在本文中,我们考虑了一种更丰富的逻辑语言,处理变量的概率推理。特别是,我们考虑了一个ALP程序,该程序富含完整性约束,如IFF,可能用概率值进行注释。我们首先根据分布语义学给出了整体溯因语言及其语义。然后,我们引入了一个证明过程,通过扩展先前提出的一个证明程序获得,并证明了它的合理性和完整性。
{"title":"Nonground Abductive Logic Programming with Probabilistic Integrity Constraints","authors":"Elena Bellodi, M. Gavanelli, Riccardo Zese, E. Lamma, Fabrizio Riguzzi","doi":"10.1017/S1471068421000417","DOIUrl":"https://doi.org/10.1017/S1471068421000417","url":null,"abstract":"Abstract Uncertain information is being taken into account in an increasing number of application fields. In the meantime, abduction has been proved a powerful tool for handling hypothetical reasoning and incomplete knowledge. Probabilistic logical models are a suitable framework to handle uncertain information, and in the last decade many probabilistic logical languages have been proposed, as well as inference and learning systems for them. In the realm of Abductive Logic Programming (ALP), a variety of proof procedures have been defined as well. In this paper, we consider a richer logic language, coping with probabilistic abduction with variables. In particular, we consider an ALP program enriched with integrity constraints à la IFF, possibly annotated with a probability value. We first present the overall abductive language and its semantics according to the Distribution Semantics. We then introduce a proof procedure, obtained by extending one previously presented, and prove its soundness and completeness.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"557 - 574"},"PeriodicalIF":1.4,"publicationDate":"2021-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"42681636","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
Utilizing Treewidth for Quantitative Reasoning on Epistemic Logic Programs 利用树宽度对认识逻辑程序进行定量推理
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-06 DOI: 10.1017/S1471068421000399
Viktor Besin, Markus Hecher, S. Woltran
Abstract Extending the popular answer set programming paradigm by introspective reasoning capacities has received increasing interest within the last years. Particular attention is given to the formalism of epistemic logic programs (ELPs) where standard rules are equipped with modal operators which allow to express conditions on literals for being known or possible, that is, contained in all or some answer sets, respectively. ELPs thus deliver multiple collections of answer sets, known as world views. Employing ELPs for reasoning problems so far has mainly been restricted to standard decision problems (complexity analysis) and enumeration (development of systems) of world views. In this paper, we take a next step and contribute to epistemic logic programming in two ways: First, we establish quantitative reasoning for ELPs, where the acceptance of a certain set of literals depends on the number (proportion) of world views that are compatible with the set. Second, we present a novel system that is capable of efficiently solving the underlying counting problems required to answer such quantitative reasoning problems. Our system exploits the graph-based measure treewidth and works by iteratively finding and refining (graph) abstractions of an ELP program. On top of these abstractions, we apply dynamic programming that is combined with utilizing existing search-based solvers like (e)clingo for hard combinatorial subproblems that appear during solving. It turns out that our approach is competitive with existing systems that were introduced recently.
摘要通过内省推理能力扩展流行的答案集编程范式在过去几年中受到了越来越多的关注。特别注意认识逻辑程序(ELP)的形式主义,其中标准规则配备了模态运算符,这些运算符允许在文字上表达已知或可能的条件,即分别包含在所有或某些答案集中。ELP因此提供了多个答案集集合,称为世界观。到目前为止,将ELP用于推理问题主要局限于世界观的标准决策问题(复杂性分析)和枚举(系统开发)。在本文中,我们采取下一步行动,以两种方式为认识逻辑编程做出贡献:首先,我们为ELP建立定量推理,其中对某组文字的接受程度取决于与该组文字兼容的世界观的数量(比例)。其次,我们提出了一种新的系统,它能够有效地解决回答此类定量推理问题所需的潜在计数问题。我们的系统利用了基于图的度量树宽度,并通过迭代查找和细化ELP程序的(图)抽象来工作。在这些抽象之上,我们将动态编程与利用现有的基于搜索的求解器(如(e)cliso)相结合,用于求解过程中出现的硬组合子问题。事实证明,我们的方法与最近引入的现有系统相比具有竞争力。
{"title":"Utilizing Treewidth for Quantitative Reasoning on Epistemic Logic Programs","authors":"Viktor Besin, Markus Hecher, S. Woltran","doi":"10.1017/S1471068421000399","DOIUrl":"https://doi.org/10.1017/S1471068421000399","url":null,"abstract":"Abstract Extending the popular answer set programming paradigm by introspective reasoning capacities has received increasing interest within the last years. Particular attention is given to the formalism of epistemic logic programs (ELPs) where standard rules are equipped with modal operators which allow to express conditions on literals for being known or possible, that is, contained in all or some answer sets, respectively. ELPs thus deliver multiple collections of answer sets, known as world views. Employing ELPs for reasoning problems so far has mainly been restricted to standard decision problems (complexity analysis) and enumeration (development of systems) of world views. In this paper, we take a next step and contribute to epistemic logic programming in two ways: First, we establish quantitative reasoning for ELPs, where the acceptance of a certain set of literals depends on the number (proportion) of world views that are compatible with the set. Second, we present a novel system that is capable of efficiently solving the underlying counting problems required to answer such quantitative reasoning problems. Our system exploits the graph-based measure treewidth and works by iteratively finding and refining (graph) abstractions of an ELP program. On top of these abstractions, we apply dynamic programming that is combined with utilizing existing search-based solvers like (e)clingo for hard combinatorial subproblems that appear during solving. It turns out that our approach is competitive with existing systems that were introduced recently.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"575 - 592"},"PeriodicalIF":1.4,"publicationDate":"2021-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"49615796","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
Transformation-Enabled Precondition Inference 支持转换的前提条件推理
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-06 DOI: 10.1017/S1471068421000272
Bishoksan Kafle, G. Gange, Peter James Stuckey, P. Schachte, H. Søndergaard
Precondition inference is a non-trivial problem with important applications in program analysis and verification. We present a novel iterative method for automatically deriving preconditions for the safety and unsafety of programs. Each iteration maintains over-approximations of the set of safe and unsafe initial states, which are used to partition the program’s initial states into those known to be safe, known to be unsafe and unknown. We then construct revised programs with those unknown initial states and iterate the procedure until the approximations are disjoint or some termination criteria are met. An experimental evaluation of the method on a set of software verification benchmarks shows that it can infer precise preconditions (sometimes optimal) that are not possible using previous methods.
前提推理是一个重要的问题,在程序分析和验证中有着重要的应用。我们提出了一种新的迭代方法来自动推导程序的安全性和不安全性的前提条件。每次迭代维护安全和不安全初始状态集合的过近似值,这些初始状态用于将程序的初始状态划分为已知的安全状态、已知的不安全状态和未知状态。然后,我们用这些未知的初始状态构造修正程序,并迭代该过程,直到逼近不相交或满足某些终止条件。在一组软件验证基准上对该方法进行的实验评估表明,它可以推断出使用以前的方法不可能实现的精确前提条件(有时是最优的)。
{"title":"Transformation-Enabled Precondition Inference","authors":"Bishoksan Kafle, G. Gange, Peter James Stuckey, P. Schachte, H. Søndergaard","doi":"10.1017/S1471068421000272","DOIUrl":"https://doi.org/10.1017/S1471068421000272","url":null,"abstract":"\u0000 Precondition inference is a non-trivial problem with important applications in program analysis and verification. We present a novel iterative method for automatically deriving preconditions for the safety and unsafety of programs. Each iteration maintains over-approximations of the set of safe and unsafe initial states, which are used to partition the program’s initial states into those known to be safe, known to be unsafe and unknown. We then construct revised programs with those unknown initial states and iterate the procedure until the approximations are disjoint or some termination criteria are met. An experimental evaluation of the method on a set of software verification benchmarks shows that it can infer precise preconditions (sometimes optimal) that are not possible using previous methods.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"69 1","pages":"700-716"},"PeriodicalIF":1.4,"publicationDate":"2021-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"79464963","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
Reasoning on Multirelational Contextual Hierarchies via Answer Set Programming with Algebraic Measures 基于代数测度的回答集规划的多关系上下文层次推理
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-06 DOI: 10.1017/S1471068421000284
Loris Bozzato, Thomas Eiter, Rafael Kiesel
Abstract Dealing with context-dependent knowledge has led to different formalizations of the notion of context. Among them is the Contextualized Knowledge Repository (CKR) framework, which is rooted in description logics but links on the reasoning side strongly to logic programs and Answer Set Programming (ASP) in particular. The CKR framework caters for reasoning with defeasible axioms and exceptions in contexts, which was extended to knowledge inheritance across contexts in a coverage (specificity) hierarchy. However, the approach supports only this single type of contextual relation and the reasoning procedures work only for restricted hierarchies, due to nontrivial issues with model preference under exceptions. In this paper, we overcome these limitations and present a generalization of CKR hierarchies to multiple contextual relations, along with their interpretation of defeasible axioms and preference. To support reasoning, we use ASP with algebraic measures, which is a recent extension of ASP with weighted formulas over semirings that allows one to associate quantities with interpretations depending on the truth values of propositional atoms. Notably, we show that for a relevant fragment of CKR hierarchies with multiple contextual relations, query answering can be realized with the popular asprin framework. The algebraic measures approach is more powerful and enables, for example, reasoning with epistemic queries over CKRs, which opens interesting perspectives for the use of quantitative ASP extensions in other applications.
对上下文相关知识的处理导致了上下文概念的不同形式化。其中包括情境化知识库(CKR)框架,它植根于描述逻辑,但在推理方面与逻辑程序和答案集编程(ASP)紧密相连。CKR框架迎合了在上下文中使用可否定的公理和例外的推理,它被扩展到覆盖(特异性)层次结构中跨上下文的知识继承。然而,该方法只支持这种单一类型的上下文关系,并且由于例外情况下模型偏好的重要问题,推理过程仅适用于受限制的层次结构。在本文中,我们克服了这些限制,并提出了CKR层次结构对多个上下文关系的推广,以及它们对可否定公理和偏好的解释。为了支持推理,我们使用带有代数度量的ASP,这是ASP在半环上的加权公式的最新扩展,它允许人们将数量与依赖于命题原子的真值的解释联系起来。值得注意的是,我们表明,对于具有多个上下文关系的CKR层次结构的相关片段,可以使用流行的asprin框架实现查询应答。代数度量方法更强大,例如,支持对ckr进行认知查询的推理,这为在其他应用程序中使用定量ASP扩展开辟了有趣的前景。
{"title":"Reasoning on Multirelational Contextual Hierarchies via Answer Set Programming with Algebraic Measures","authors":"Loris Bozzato, Thomas Eiter, Rafael Kiesel","doi":"10.1017/S1471068421000284","DOIUrl":"https://doi.org/10.1017/S1471068421000284","url":null,"abstract":"Abstract Dealing with context-dependent knowledge has led to different formalizations of the notion of context. Among them is the Contextualized Knowledge Repository (CKR) framework, which is rooted in description logics but links on the reasoning side strongly to logic programs and Answer Set Programming (ASP) in particular. The CKR framework caters for reasoning with defeasible axioms and exceptions in contexts, which was extended to knowledge inheritance across contexts in a coverage (specificity) hierarchy. However, the approach supports only this single type of contextual relation and the reasoning procedures work only for restricted hierarchies, due to nontrivial issues with model preference under exceptions. In this paper, we overcome these limitations and present a generalization of CKR hierarchies to multiple contextual relations, along with their interpretation of defeasible axioms and preference. To support reasoning, we use ASP with algebraic measures, which is a recent extension of ASP with weighted formulas over semirings that allows one to associate quantities with interpretations depending on the truth values of propositional atoms. Notably, we show that for a relevant fragment of CKR hierarchies with multiple contextual relations, query answering can be realized with the popular asprin framework. The algebraic measures approach is more powerful and enables, for example, reasoning with epistemic queries over CKRs, which opens interesting perspectives for the use of quantitative ASP extensions in other applications.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"593 - 609"},"PeriodicalIF":1.4,"publicationDate":"2021-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"44286029","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}
引用次数: 9
Optimizing Probabilities in Probabilistic Logic Programs 概率逻辑程序中的概率优化
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-06 DOI: 10.1017/S1471068421000260
Damiano Azzolini, Fabrizio Riguzzi
Abstract Probabilistic logic programming is an effective formalism for encoding problems characterized by uncertainty. Some of these problems may require the optimization of probability values subject to constraints among probability distributions of random variables. Here, we introduce a new class of probabilistic logic programs, namely probabilistic optimizable logic programs, and we provide an effective algorithm to find the best assignment to probabilities of random variables, such that a set of constraints is satisfied and an objective function is optimized.
摘要概率逻辑编程是一种有效的编码形式,其特征是不确定性。这些问题中的一些可能需要在随机变量的概率分布之间受到约束的概率值的优化。在这里,我们介绍了一类新的概率逻辑程序,即概率可优化逻辑程序,并提供了一种有效的算法来找到随机变量概率的最佳分配,从而满足一组约束并优化目标函数。
{"title":"Optimizing Probabilities in Probabilistic Logic Programs","authors":"Damiano Azzolini, Fabrizio Riguzzi","doi":"10.1017/S1471068421000260","DOIUrl":"https://doi.org/10.1017/S1471068421000260","url":null,"abstract":"Abstract Probabilistic logic programming is an effective formalism for encoding problems characterized by uncertainty. Some of these problems may require the optimization of probability values subject to constraints among probability distributions of random variables. Here, we introduce a new class of probabilistic logic programs, namely probabilistic optimizable logic programs, and we provide an effective algorithm to find the best assignment to probabilities of random variables, such that a set of constraints is satisfied and an objective function is optimized.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"543 - 556"},"PeriodicalIF":1.4,"publicationDate":"2021-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"45883536","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
I-DLV-sr: A Stream Reasoning System based on I-DLV I-DLV-sr:一个基于I-DLV的流推理系统
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-05 DOI: 10.1017/S147106842100034X
Francesco Calimeri, M. Manna, Elena Mastria, Maria Concetta Morelli, S. Perri, J. Zangari
Abstract We introduce a novel logic-based system for reasoning over data streams, which relies on a framework enabling a tight, fine-tuned interaction between Apache Flink and the $${{mathcal I}^2}$$ -DLV system. The architecture allows to take advantage from both the powerful distributed stream processing capabilities of Flink and the incremental reasoning capabilities of $${{mathcal I}^2}$$ -DLV, based on overgrounding techniques. Besides the system architecture, we illustrate the supported input language and its modeling capabilities, and discuss the results of an experimental activity aimed at assessing the viability of the approach.
我们介绍了一种新的基于逻辑的数据流推理系统,它依赖于一个框架,使Apache Flink和$${{mathcal I}^2}$$ -DLV系统之间的紧密、微调交互成为可能。该架构允许利用Flink强大的分布式流处理能力和$${{mathcal I}^2}$$ -DLV基于接地技术的增量推理能力。除了系统架构之外,我们还说明了支持的输入语言及其建模能力,并讨论了旨在评估该方法可行性的实验活动的结果。
{"title":"I-DLV-sr: A Stream Reasoning System based on I-DLV","authors":"Francesco Calimeri, M. Manna, Elena Mastria, Maria Concetta Morelli, S. Perri, J. Zangari","doi":"10.1017/S147106842100034X","DOIUrl":"https://doi.org/10.1017/S147106842100034X","url":null,"abstract":"Abstract We introduce a novel logic-based system for reasoning over data streams, which relies on a framework enabling a tight, fine-tuned interaction between Apache Flink and the $${{mathcal I}^2}$$ -DLV system. The architecture allows to take advantage from both the powerful distributed stream processing capabilities of Flink and the incremental reasoning capabilities of $${{mathcal I}^2}$$ -DLV, based on overgrounding techniques. Besides the system architecture, we illustrate the supported input language and its modeling capabilities, and discuss the results of an experimental activity aimed at assessing the viability of the approach.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"21 1","pages":"610 - 628"},"PeriodicalIF":1.4,"publicationDate":"2021-08-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"47173660","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
Analysis and Transformation of Constrained Horn Clauses for Program Verification 约束角子句在程序验证中的分析与转换
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-08-02 DOI: 10.1017/s1471068421000211
E. D. Angelis, F. Fioravanti, J. Gallagher, M. Hermenegildo, A. Pettorossi, M. Proietti
This paper surveys recent work on applying analysis and transformation techniques that originate in the field of constraint logic programming (CLP) to the problem of verifying software systems. We present specialization-based techniques for translating verification problems for different programming languages, and in general software systems, into satisfiability problems for constrained Horn clauses (CHCs), a term that has become popular in the verification field to refer to CLP programs. Then, we describe static analysis techniques for CHCs that may be used for inferring relevant program properties, such as loop invariants. We also give an overview of some transformation techniques based on specialization and fold/unfold rules, which are useful for improving the effectiveness of CHC satisfiability tools. Finally, we discuss future developments in applying these techniques.
本文综述了将约束逻辑编程(CLP)领域的分析和转换技术应用于软件系统验证问题的最新工作。我们提出了基于专门化的技术,用于将不同编程语言和一般软件系统的验证问题转换为约束Horn子句(CHCs)的可满足性问题,该术语在验证领域已流行,指的是CLP程序。然后,我们描述了可用于推断相关程序属性(如循环不变量)的chc的静态分析技术。我们还概述了一些基于专门化和折叠/展开规则的转换技术,这些技术有助于提高CHC满意度工具的有效性。最后,我们讨论了应用这些技术的未来发展。
{"title":"Analysis and Transformation of Constrained Horn Clauses for Program Verification","authors":"E. D. Angelis, F. Fioravanti, J. Gallagher, M. Hermenegildo, A. Pettorossi, M. Proietti","doi":"10.1017/s1471068421000211","DOIUrl":"https://doi.org/10.1017/s1471068421000211","url":null,"abstract":"\u0000 This paper surveys recent work on applying analysis and transformation techniques that originate in the field of constraint logic programming (CLP) to the problem of verifying software systems. We present specialization-based techniques for translating verification problems for different programming languages, and in general software systems, into satisfiability problems for constrained Horn clauses (CHCs), a term that has become popular in the verification field to refer to CLP programs. Then, we describe static analysis techniques for CHCs that may be used for inferring relevant program properties, such as loop invariants. We also give an overview of some transformation techniques based on specialization and fold/unfold rules, which are useful for improving the effectiveness of CHC satisfiability tools. Finally, we discuss future developments in applying these techniques.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"4 1","pages":"974-1042"},"PeriodicalIF":1.4,"publicationDate":"2021-08-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"76351517","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}
引用次数: 15
Efficient TBox Reasoning with Value Restrictions using the ℱℒ0wer reasoner 利用_ (_)_ (_)wer推理器进行具有值限制的高效TBox推理
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-07-27 DOI: 10.1017/s1471068421000466
F. Baader, P. Koopmann, Friedrich Michel, Anni-Yasmin Turhan, Benjamin Zarrieß
The inexpressive Description Logic (DL) ${cal F}{{cal L}_0}$ , which has conjunction and value restriction as its only concept constructors, had fallen into disrepute when it turned out that reasoning in ${cal F}{{cal L}_0}$ w.r.t. general TBoxes is ExpTime-complete, that is, as hard as in the considerably more expressive logic ${cal A}{cal L}{cal C}$ . In this paper, we rehabilitate ${cal F}{{cal L}_0}$ by presenting a dedicated subsumption algorithm for ${cal F}{{cal L}_0}$ , which is much simpler than the tableau-based algorithms employed by highly optimized DL reasoners. Our experiments show that the performance of our novel algorithm, as prototypically implemented in our ${cal F}{{cal L}_0}$ wer reasoner, compares very well with that of the highly optimized reasoners. ${cal F}{{cal L}_0}$ wer can also deal with ontologies written in the extension ${cal F}{{cal L}_ bot }$ of ${cal F}{{cal L}_0}$ with the top and the bottom concept by employing a polynomial-time reduction, shown in this paper, which eliminates top and bottom. We also investigate the complexity of reasoning in DLs related to the Horn-fragments of ${cal F}{{cal L}_0}$ and ${cal F}{{cal L}_ bot }$ .
无表达描述逻辑(DL) ${cal F}{{cal L}_0}$以连接和值限制作为其唯一的概念构造函数,当发现在${cal F}{{cal L}_0}$ w.r.t. general TBoxes中的推理是ExpTime-complete时,它就声名狼藉了,也就是说,它和在更具表达性的逻辑${cal A}{cal L}{cal C}$中的推理一样困难。在本文中,我们通过提出${cal F}{{cal L}_0}$的专用包容算法来恢复${cal F}{{cal L}_0}$,该算法比高度优化的深度学习推理器使用的基于表的算法简单得多。我们的实验表明,在我们的${cal F}{{cal L}_0}$ wer推理器中原型实现的新算法的性能与高度优化的推理器的性能相比非常好。${cal F}{{cal L}_0}$ wer也可以处理用${cal F}{{cal L}_0}$的扩展${cal F}{{cal L}_ bot}$编写的本体,采用本文所示的多项式时间约简,消除了顶部和底部的概念。我们还研究了与${cal F}{{cal L}_0}$和${cal F}{{cal L}_ bot}$的角片段相关的dl推理的复杂性。
{"title":"Efficient TBox Reasoning with Value Restrictions using the ℱℒ0wer reasoner","authors":"F. Baader, P. Koopmann, Friedrich Michel, Anni-Yasmin Turhan, Benjamin Zarrieß","doi":"10.1017/s1471068421000466","DOIUrl":"https://doi.org/10.1017/s1471068421000466","url":null,"abstract":"\u0000 The inexpressive Description Logic (DL) \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_0}$\u0000\u0000 \u0000 , which has conjunction and value restriction as its only concept constructors, had fallen into disrepute when it turned out that reasoning in \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_0}$\u0000\u0000 \u0000 w.r.t. general TBoxes is ExpTime-complete, that is, as hard as in the considerably more expressive logic \u0000 \u0000 \u0000 \u0000${cal A}{cal L}{cal C}$\u0000\u0000 \u0000 . In this paper, we rehabilitate \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_0}$\u0000\u0000 \u0000 by presenting a dedicated subsumption algorithm for \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_0}$\u0000\u0000 \u0000 , which is much simpler than the tableau-based algorithms employed by highly optimized DL reasoners. Our experiments show that the performance of our novel algorithm, as prototypically implemented in our \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_0}$\u0000\u0000 \u0000 wer reasoner, compares very well with that of the highly optimized reasoners. \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_0}$\u0000\u0000 \u0000 wer can also deal with ontologies written in the extension \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_ bot }$\u0000\u0000 \u0000 of \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_0}$\u0000\u0000 \u0000 with the top and the bottom concept by employing a polynomial-time reduction, shown in this paper, which eliminates top and bottom. We also investigate the complexity of reasoning in DLs related to the Horn-fragments of \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_0}$\u0000\u0000 \u0000 and \u0000 \u0000 \u0000 \u0000${cal F}{{cal L}_ bot }$\u0000\u0000 \u0000 .","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"15 1","pages":"162-192"},"PeriodicalIF":1.4,"publicationDate":"2021-07-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"86796754","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
Constraint Answer Set Programming: Integrational and Translational (or SMT-based) Approaches 约束答案集规划:集成和转换(或基于smt的)方法
IF 1.4 2区 数学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING Pub Date : 2021-07-17 DOI: 10.1017/s1471068421000478
Y. Lierler
Constraint answer set programming or CASP, for short, is a hybrid approach in automated reasoning putting together the advances of distinct research areas such as answer set programming, constraint processing, and satisfiability modulo theories. CASP demonstrates promising results, including the development of a multitude of solvers: acsolver, clingcon, ezcsp, idp, inca, dingo, mingo, aspmt2smt, clingo[l,dl], and ezsmt. It opens new horizons for declarative programming applications such as solving complex train scheduling problems. Systems designed to find solutions to constraint answer set programs can be grouped according to their construction into, what we call, integrational or translational approaches. The focus of this paper is an overview of the key ingredients of the design of constraint answer set solvers drawing distinctions and parallels between integrational and translational approaches. The paper also provides a glimpse at the kind of programs its users develop by utilizing a CASP encoding of Traveling Salesman problem for illustration. In addition, we place the CASP technology on the map among its automated reasoning peers as well as discuss future possibilities for the development of CASP.
约束答案集规划或简称CASP,是自动推理中的一种混合方法,将不同研究领域的进展结合在一起,如答案集规划、约束处理和可满足模理论。CASP展示了有希望的结果,包括大量求解器的开发:acsolver、clingcon、ezcsp、idp、inca、dingo、mingo、aspmt2smt、clingo[1,dl]和ezsmt。它为声明式编程应用程序(如解决复杂的列车调度问题)开辟了新的视野。设计用于寻找约束答案集程序的解决方案的系统可以根据其结构分为我们所说的集成或转换方法。本文的重点是概述了约束答案集求解器设计的关键成分,并在整合和翻译方法之间建立了区别和相似之处。本文还以旅行推销员问题的CASP编码为例,简要介绍了用户开发的程序类型。此外,我们将CASP技术置于其自动推理同行的地图上,并讨论了CASP发展的未来可能性。
{"title":"Constraint Answer Set Programming: Integrational and Translational (or SMT-based) Approaches","authors":"Y. Lierler","doi":"10.1017/s1471068421000478","DOIUrl":"https://doi.org/10.1017/s1471068421000478","url":null,"abstract":"\u0000 Constraint answer set programming or CASP, for short, is a hybrid approach in automated reasoning putting together the advances of distinct research areas such as answer set programming, constraint processing, and satisfiability modulo theories. CASP demonstrates promising results, including the development of a multitude of solvers: acsolver, clingcon, ezcsp, idp, inca, dingo, mingo, aspmt2smt, clingo[l,dl], and ezsmt. It opens new horizons for declarative programming applications such as solving complex train scheduling problems. Systems designed to find solutions to constraint answer set programs can be grouped according to their construction into, what we call, integrational or translational approaches. The focus of this paper is an overview of the key ingredients of the design of constraint answer set solvers drawing distinctions and parallels between integrational and translational approaches. The paper also provides a glimpse at the kind of programs its users develop by utilizing a CASP encoding of Traveling Salesman problem for illustration. In addition, we place the CASP technology on the map among its automated reasoning peers as well as discuss future possibilities for the development of CASP.","PeriodicalId":49436,"journal":{"name":"Theory and Practice of Logic Programming","volume":"26 1","pages":"195-225"},"PeriodicalIF":1.4,"publicationDate":"2021-07-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"81611771","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
期刊
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