Accelerating Protocol Synthesis and Detecting Unrealizability with Interpretation Reduction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Egolf, Derek, Tripakis, Stavros
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915120340271104
author Egolf, Derek
Tripakis, Stavros
author_facet Egolf, Derek
Tripakis, Stavros
contents We present a novel counterexample-guided, sketch-based method for the synthesis of symbolic distributed protocols in TLA+. Our method's chief novelty lies in a new search space reduction technique called interpretation reduction, which allows to not only eliminate incorrect candidate protocols before they are sent to the verifier, but also to avoid enumerating redundant candidates in the first place. Further performance improvements are achieved by an advanced technique for exact generalization of counterexamples. Experiments on a set of established benchmarks show that our tool is almost always faster than the state of the art, often by orders of magnitude, and was also able to synthesize an entire TLA+ protocol "from scratch" in less than 3 minutes where the state of the art timed out after an hour. Our method is sound, complete, and guaranteed to terminate on unrealizable synthesis instances under common assumptions which hold in all our benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2501_14585
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Accelerating Protocol Synthesis and Detecting Unrealizability with Interpretation Reduction
Egolf, Derek
Tripakis, Stavros
Logic in Computer Science
We present a novel counterexample-guided, sketch-based method for the synthesis of symbolic distributed protocols in TLA+. Our method's chief novelty lies in a new search space reduction technique called interpretation reduction, which allows to not only eliminate incorrect candidate protocols before they are sent to the verifier, but also to avoid enumerating redundant candidates in the first place. Further performance improvements are achieved by an advanced technique for exact generalization of counterexamples. Experiments on a set of established benchmarks show that our tool is almost always faster than the state of the art, often by orders of magnitude, and was also able to synthesize an entire TLA+ protocol "from scratch" in less than 3 minutes where the state of the art timed out after an hour. Our method is sound, complete, and guaranteed to terminate on unrealizable synthesis instances under common assumptions which hold in all our benchmarks.
title Accelerating Protocol Synthesis and Detecting Unrealizability with Interpretation Reduction
topic Logic in Computer Science
url https://arxiv.org/abs/2501.14585