Recalling a Witness: Foundations and Applications of Monotonic State

07/08/2017
by   Danel Ahman, et al.
0

We provide a way to ease the verification of programs whose state evolves monotonically. The main idea is that a property witnessed in a prior state can be soundly recalled in the current state, provided (1) state evolves according to a given preorder, and (2) the property is preserved by this preorder. In many scenarios, such monotonic reasoning yields concise modular proofs, saving the need for explicit program invariants. We distill our approach into the monotonic-state monad, a general yet compact interface for Hoare-style reasoning about monotonic state in a dependently typed language. We prove the soundness of the monotonic-state monad and use it as a unified foundation for reasoning about monotonic state in the F* verification system. Based on this foundation, we build libraries for various mutable data structures like monotonic references and apply these libraries at scale to the verification of several distributed applications.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/27/2013

Non-Monotonicity in Probabilistic Reasoning

We start by defining an approach to non-monotonic probabilistic reasonin...
research
07/10/2020

Cautious Monotonicity in Case-Based Reasoning with Abstract Argumentation

Recently, abstract argumentation-based models of case-based reasoning (A...
research
07/22/2019

A Unified Algebraic Framework for Non-Monotonicity

Tremendous research effort has been dedicated over the years to thorough...
research
01/13/2017

On the links between argumentation-based reasoning and nonmonotonic reasoning

In this paper we investigate the links between instantiated argumentatio...
research
08/30/2018

Self-stabilizing Overlays for high-dimensional Monotonic Searchability

We extend the concept of monotonic searchability for self-stabilizing sy...
research
07/13/2021

Monotonic Filtering for Distributed Collection

Distributed data collection is a fundamental task in open systems. In su...
research
10/19/2012

Upgrading Ambiguous Signs in QPNs

WA qualitative probabilistic network models the probabilistic relationsh...

Please sign up or login with your details

Forgot password? Click here to reset