中文
相关论文

相关论文: Proving Correctness and Completeness of Normal Pro…

200 篇论文

Discrete mathematics is the foundation of computer science. It focuses on concepts and reasoning methods that are studied using math notations. It has long been argued that discrete math is better taught with programming, which takes…

计算机与社会 · 计算机科学 2021-10-07 Yanhong A. Liu , Matthew Castelllana

The idea of using unfolding as a way of computing a program semantics has been applied successfully to logic programs and has shown itself a powerful tool that provides concrete, implementable results, as its outcome is actually source…

编程语言 · 计算机科学 2017-08-29 José María Rey-Poza , Julio Mariño-Carballo

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

The paper presents a simple and concise proof of correctness of the magic transformation. We believe it may provide a useful example of formal reasoning about logic programs. The correctness property concerns the declarative semantics. The…

计算机科学中的逻辑 · 计算机科学 2010-12-13 Wlodzimierz Drabent

Nondeterministic choice is a useful program construct that provides a way to describe the behaviour of a program without specifying the details of possible implementations. It supports the stepwise refinement of programs, a method that has…

计算机科学中的逻辑 · 计算机科学 2023-02-17 Yuan Feng , Yingte Xu

Deciding termination is a fundamental problem in the analysis of probabilistic imperative programs. We consider the qualitative and quantitative probabilistic termination problems for an imperative programming model with discrete…

计算机科学中的逻辑 · 计算机科学 2024-07-25 Rupak Majumdar , V. R. Sathiyanarayana

We describe several views of the semantics of a simple programming language as formal documents in the calculus of inductive constructions that can be verified by the Coq proof system. Covered aspects are natural semantics, denotational…

计算机科学中的逻辑 · 计算机科学 2007-07-10 Yves Bertot

We present necessary and sufficient conditions for the termination of linear homogeneous programs. We also develop a complete method to check termination for this class of programs. Our complete characterization of termination for such…

编程语言 · 计算机科学 2014-09-11 Rachid Rebiha , Arnaldo Vieira Moura , Nadir Matringe

We present a heuristic framework for attacking the undecidable termination problem of logic programs, as an alternative to current termination/non-termination proof approaches. We introduce an idea of termination prediction, which predicts…

编程语言 · 计算机科学 2009-05-14 Yi-Dong Shen , Danny De Schreye , Dean Voets

Automated analysis of recursive derivations in logic programming is known to be a hard problem. Both termination and non-termination are undecidable problems in Turing-complete languages. However, some declarative languages offer a…

编程语言 · 计算机科学 2016-08-22 E. Komendantskaya , P. Johann , M. Schmidt

We present realizability and realization logic, two program logics that jointly address the problem of finding solutions in semantics-guided synthesis. What is new is that we proceed eagerly and not only analyze a single candidate program…

计算机科学中的逻辑 · 计算机科学 2024-03-12 Roland Meyer , Jakob Tepe , Sebastian Wolff

This paper describes a generalization of Clark's completion that is applicable to logic programs containing arithmetic operations and produces syntactically simple, natural looking formulas. If a set of first-order axioms is equivalent to…

计算机科学中的逻辑 · 计算机科学 2023-05-25 Vladimir Lifschitz

The term {\em meta-programming} refers to the ability of writing programs that have other programs as data and exploit their semantics. The aim of this paper is presenting a methodology allowing us to perform a correct termination analysis…

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

We present a type theory combining both linearity and dependency by stratifying typing rules into a level for logics and a level for programs. The distinction between logics and programs decouples their semantics, allowing the type system…

编程语言 · 计算机科学 2025-10-08 Qiancheng Fu , Hongwei Xi

We provide a sound and complete proof system for an extension of Kleene's ternary logic to predicates. The concept of theory is extended with, for each function symbol, a formula that specifies when the function is defined. The notion of…

逻辑 · 数学 2023-03-28 Antti Valmari , Lauri Hella

Proving program termination is typically done by finding a well-founded ranking function for the program states. Existing termination provers typically find ranking functions using either linear algebra or templates. As such they are often…

计算机科学中的逻辑 · 计算机科学 2014-10-21 Cristina David , Daniel Kroening , Matt Lewis

Runtime efficiency and termination are crucial properties in the studies of program verification. Instead of dealing with these issues in an ad hoc manner, it would be useful to develop a robust framework in which such properties are…

编程语言 · 计算机科学 2026-04-06 Weijun Chen , Yuxi Fu , Huan Long

Logic programming, as exemplified by datalog, defines the meaning of a program as its unique smallest model: the deductive closure of its inference rules. However, many problems call for an enumeration of models that vary along some set of…

编程语言 · 计算机科学 2024-11-22 Chris Martens , Robert J. Simmons , Michael Arntzenius

A reliable technique for deductive program verification should be proven sound with respect to the semantics of the programming language. For each different language, the construction of a separate soundness proof is often a laborious…

编程语言 · 计算机科学 2021-08-05 Ximeng Li , Qianying Zhang , Guohui Wang , Zhiping Shi , Yong Guan

We present a method for computing stable models of normal logic programs, i.e., logic programs extended with negation, in the presence of predicates with arbitrary terms. Such programs need not have a finite grounding, so traditional…

计算机科学中的逻辑 · 计算机科学 2017-09-05 Kyle Marple , Elmer Salazar , Gopal Gupta