中文
相关论文

相关论文: Scope Logic with Local Reasoning and Pre/Post-Stat…

200 篇论文

Following Hoare's seminal invention, now called Hoare logic, to reason about correctness of computer programs, we advocate a related but fundamentally different approach to reason about access security of computer programs such as access…

计算机科学中的逻辑 · 计算机科学 2026-04-01 Arnold Beckmann , Anton Setzer

We consider the problem of automatically verifying programs which manipulate arbitrary data structures. Our specification language is expressive, contains a notion of \emph{separation}, and thus enables a precise specification of…

编程语言 · 计算机科学 2017-11-16 Duc-Hiep Chu , Joxan Jaffar

We present a Hoare logic that extends program specifications with regular expressions that capture behaviors in terms of sequences of events that arise during the execution. The idea is similar to session types or process-like behavioral…

计算机科学中的逻辑 · 计算机科学 2022-05-16 Gidon Ernst , Alexander Knapp , Toby Murray

In this work, we study the fully automated inference of expected result values of probabilistic programs in the presence of natural programming constructs such as procedures, local variables and recursion. While crucial, capturing these…

编程语言 · 计算机科学 2023-04-26 Martin Avanzini , Georg Moser , Michael Schaper

We define a new decidable logic for expressing and checking invariants of programs that manipulate dynamically-allocated objects via pointers and destructive pointer updates. The main feature of this logic is the ability to limit the…

计算机科学中的逻辑 · 计算机科学 2007-06-13 Greta Yorsh , Alexander Rabinovich , Mooly Sagiv , Antoine Meyer , Ahmed Bouajjani

We provide a sound and relatively complete Hoare-like proof system for reasoning about partial correctness of recursive procedures in presence of local variables and the call-by-value parameter mechanism, and in which the correctness proofs…

计算机科学中的逻辑 · 计算机科学 2019-09-16 Krzysztof R. Apt , Frank S. de Boer

This paper presents matching logic, a first-order logic (FOL) variant for specifying and reasoning about structure by means of patterns and pattern matching. Its sentences, the patterns, are constructed using variables, symbols, connectives…

计算机科学中的逻辑 · 计算机科学 2019-03-14 Grigore Rosu

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

Dedicated to Tony Hoare. In a paper published in 1972 Hoare articulated the fundamental notions of hiding invariants and simulations. Hiding: invariants on encapsulated data representations need not be mentioned in specifications that…

计算机科学中的逻辑 · 计算机科学 2022-07-21 Anindya Banerjee , Ramana Nagasamudram , David A. Naumann , Mohammad Nikouei

In the logic programming paradigm, a program is defined by a set of methods, each of which can be executed when specific conditions are met during the current state of an execution. The semantics of these programs can be elegantly…

计算机科学中的逻辑 · 计算机科学 2024-10-02 Matteo Acclavio , Roberto Maieli

Pointer arithmetic is widely used in low-level programs, e.g. memory allocators. The specification of such programs usually requires using pointer arithmetic inside inductive definitions to define the common data structures, e.g. heap lists…

计算机科学中的逻辑 · 计算机科学 2024-03-05 Wanyun Su , Zhilin Wu , Mihaela Sighireanu

We give a rigorous characterization of what it means for a programming language to be memory safe, capturing the intuition that memory safety supports local reasoning about state. We formalize this principle in two ways. First, we show how…

编程语言 · 计算机科学 2018-04-10 Arthur Azevedo de Amorim , Catalin Hritcu , Benjamin C. Pierce

Several practical tools for automatically verifying functional programs (e.g., Liquid Haskell and Leon for Scala programs) rely on a heuristic based on unrolling recursive function definitions followed by quantifier-free reasoning using SMT…

计算机科学中的逻辑 · 计算机科学 2026-05-25 Adithya Murali , Lucas Peña , Ranjit Jhala , P. Madhusudan

Deductive verification techniques based on program logics (i.e., the family of Floyd-Hoare logics) are a powerful approach for program reasoning. Recently, there has been a trend of increasing the expressive power of such logics by…

计算机科学中的逻辑 · 计算机科学 2021-01-27 Marco Gaboardi , Shin-ya Katsumata , Dominic Orchard , Tetsuya Sato

In this paper we demonstrate that the class of basic feasible functionals has recursion theoretic properties which naturally generalize the corresponding properties of the class of feasible functions. We also improve the Kapron - Cook…

计算机科学中的逻辑 · 计算机科学 2007-05-23 Aleksandar Ignjatovic , Arun Sharma

Programs must be correct with respect to their application domain. Yet, the program specification and verification approaches so far only consider correctness in terms of computations. In this work, we present a two-tier Hoare Logic that…

计算机科学中的逻辑 · 计算机科学 2024-02-02 Eduard Kamburjan , Dilian Gurov

Many important functional and security properties--including non-interference, determinism, and generalized non-interference (GNI)--are hyperproperties, i.e., properties relating multiple executions of a program. Existing separation logics…

编程语言 · 计算机科学 2026-04-21 Trayan Gospodinov , Peter Müller , Thibault Dardinier

Current approaches for formal verification of algorithms face important limitations. For specification, they cannot express algorithms naturally and concisely, especially for algorithms with states and flexible control flow. For…

编程语言 · 计算机科学 2025-05-01 Chengxi Yang , Shushu Wu , Qinxiang Cao

Many automatic theorem-provers rely on rewriting. Using theorems as rewrite rules helps to simplify the subgoals that arise during a proof. LCF is an interactive theorem-prover intended for reasoning about computation. Its implementation of…

计算机科学中的逻辑 · 计算机科学 2016-08-31 Lawrence C. Paulson

The Move Prover (MVP) is a formal verifier for smart contracts written in the Move programming language. Recently, Move on Aptos was extended with higher-order functions: imperative functions as first-class values that can be passed around,…

编程语言 · 计算机科学 2026-05-14 Wolfgang Grieskamp , Teng Zhang , Vineeth Kashyap , Jake Silverman