Pith. sign in

REVIEW

Recalling a Witness: Foundations and Applications of Monotonic State

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1707.02466 v3 pith:A5NCCHGZ submitted 2017-07-08 cs.PL cs.CR

classification cs.PLcs.CR
keywords statemonotonicreasoningverificationapplicationsevolvesfoundationlibraries
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Sign in to comment.

Pith tools