Cirstea2024

Horatiu Cirstea, Markus A. Kuppe, Benjamin Loillier, Stephan Merz. “Validating Traces of Distributed Programs Against TLA+ Specifications”. arXiv preprint.

=> Remarkable PDF | Original PDF | arXiv

=> CSP would be a good language for property tests

Abstract

TLA+ is a formal language for specifying systems, including distributed algorithms, that is supported by powerful verification tools. In this work we present a framework for relating traces of distributed programs to high-level specifications written inTLA+. The problem is reduced to a constrained model checking problem, realized using the TLC model checker. Our framework consists of an API for instrumenting Java programs in order to record traces of executions, of a collection of TLA+ operators that are used for relating those traces to specifications, and of scripts for running the model checker.Crucially, traces only contain updates to specification variables rather than full values, and it is not necessary to provide values for all variables. We have applied our approach to several distributed programs, detecting discrepancies between the specifications and the implementations in all cases. We discuss reasons for these discrepancies, how to interpret the verdict produced by TLC, and how to take into account the results of trace validation for implementation development.

Notes

Contains a very good Related Work section that I need to trawl for more references in this space.

=> Formal methods » TLA+ (Temporal Logic of Actions)

Proxy Information
Original URL
gemini://dcreager.net/papers/Cirstea2024.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en
Capsule Response Time
451.315083 milliseconds
Gemini-to-HTML Time
0.376591 milliseconds

This content has been proxied by September (3851b).