中文
相关论文

相关论文: On Modular Termination Proofs of General Logic Pro…

200 篇论文

We argue that verification of recursive programs by means of the assertional method of C.A.R. Hoare can be conceptually simplified using a modular reasoning. In this approach some properties of the program are established first and…

计算机科学中的逻辑 · 计算机科学 2009-07-27 Krzysztof R. Apt , Frank S. de Boer , Ernst-Rüdiger Olderog

Proving programs terminating is a fundamental computer science challenge. Recent research has produced powerful tools that can check a wide range of programs for termination. The analog for probabilistic programs, namely termination with…

计算机科学中的逻辑 · 计算机科学 2012-04-16 Javier Esparza , Andreas Gaiser , Stefan Kiefer

We present a new modular proof method of termination for second-order computation, and report its implementation SOL. The proof method is useful for proving termination of higher-order foundational calculi. To establish the method, we use a…

符号计算 · 计算机科学 2023-06-22 Makoto Hamana

There are many techniques and tools for termination of C programs, but up to now they were not very powerful for termination proofs of programs whose termination depends on recursive data structures like lists. We present the first approach…

计算机科学中的逻辑 · 计算机科学 2023-07-21 Jera Hensel , Jürgen Giesl

The termination problem of a logic program can be addressed in either a static or a dynamic way. A static approach performs termination analysis at compile time, while a dynamic approach characterizes and tests termination of a logic…

计算机科学中的逻辑 · 计算机科学 2007-05-23 Yi-Dong Shen , Danny De Schreye

The programming language Prolog makes declarative programming possible, at least to a substantial extent. Programs may be written and reasoned about in terms of their declarative semantics. All the advantages of declarative programming are…

计算机科学中的逻辑 · 计算机科学 2023-08-31 Włodzimierz Drabent

We introduce a novel approach to the automated termination analysis of computer programs: we use neural networks to represent ranking functions. Ranking functions map program states to values that are bounded from below and decrease as a…

机器学习 · 计算机科学 2022-09-07 Mirco Giacobbe , Daniel Kroening , Julian Parsert

There are many different semantics for general logic programs (i.e. programs that use negation in the bodies of clauses). Most of these semantics are Turing complete (in a sense that can be made precise), implying that they are undecidable.…

计算机科学中的逻辑 · 计算机科学 2015-07-15 Levon Haykazyan

Partial correctness of imperative or functional programming divides in logic programming into two notions. Correctness means that all answers of the program are compatible with the specification. Completeness means that the program produces…

计算机科学中的逻辑 · 计算机科学 2025-08-26 Włodzimierz Drabent

Proving program termination is key to guaranteeing absence of undesirable behaviour, such as hanging programs and even security vulnerabilities such as denial-of-service attacks. To make termination checks scale to large systems,…

软件工程 · 计算机科学 2015-05-19 Hong-Yi Chen , Cristina David , Daniel Kroening , Peter Schrammel , Björn Wachter

Termination is a major question in both logic and computer science. In logic, termination is at the heart of proof theory where it is usually called strong normalization (of cut elimination). In computer science, termination has always been…

计算机科学中的逻辑 · 计算机科学 2016-08-16 Frédéric Blanqui , Jean-Pierre Jouannaud , Albert Rubio

Splitting a logic program allows us to reduce the task of computing its stable models to similar tasks for its subprograms. This can be used to increase solving performance and prove program correctness. We generalize the conditions under…

人工智能 · 计算机科学 2025-03-30 Jorge Fandinno , Yuliya Lierler

We discuss proving correctness and completeness of definite clause logic programs. We propose a method for proving completeness, while for proving correctness we employ a method which should be well known but is often neglected. Also, we…

计算机科学中的逻辑 · 计算机科学 2017-01-31 Włodzimierz Drabent

Termination of logic programs depends critically on the selection rule, i.e. the rule that determines which atom is selected in each resolution step. In this article, we classify programs (and queries) according to the selection rules for…

计算机科学中的逻辑 · 计算机科学 2007-05-23 Dino Pedreschi , Salvatore Ruggieri , Jan-Georg Smaus

Even though modularity has been studied extensively in conventional logic programming, there are few approaches on how to incorporate modularity into Answer Set Programming, a prominent rule-based declarative programming paradigm. A major…

人工智能 · 计算机科学 2014-04-30 João Moura , Carlos Damásio

Fair termination is the property of programs that may diverge "in principle" but that terminate "in practice", i.e. under suitable fairness assumptions concerning the resolution of non-deterministic choices. We study a conservative…

计算机科学中的逻辑 · 计算机科学 2022-07-11 Luca Ciccone , Luca Padovani

This paper focuses on the inference of modes for which a logic program is guaranteed to terminate. This generalises traditional termination analysis where an analyser tries to verify termination for a specified mode. Our contribution is a…

编程语言 · 计算机科学 2007-05-23 Samir Genaim , Michael Codish

Several formal systems, such as resolution and minimal model semantics, provide a framework for logic programming. In this paper, we will survey the use of structural proof theory as an alternative foundation. Researchers have been using…

计算机科学中的逻辑 · 计算机科学 2021-11-02 Dale Miller

We present a new approach to termination analysis of logic programs. The essence of the approach is that we make use of general orderings (instead of level mappings), like it is done in transformational approaches to logic program…

编程语言 · 计算机科学 2007-05-23 Danny De Schreye , Alexander Serebrenik

It is well known that the resolution method (for propositional logic) is complete. However, completeness proofs found in the literature use an argument by contradiction showing that if a set of clauses is unsatisfiable, then it must have a…

计算机科学中的逻辑 · 计算机科学 2017-01-11 Jean Gallier