[Paper Review] Rybu: Imperative-style Preprocessor for Verification of Distributed Systems in the Dedan Environment
Rybu is an imperative-style preprocessor that enables high-level, user-friendly specification of distributed systems for verification within the Dedan environment. It translates imperative code into the formal IMDS language, enabling automatic deadlock verification via universal detection formulas without requiring temporal logic expertise, significantly lowering the barrier to formal verification for developers.
Integrated Model of Distributed Systems (IMDS) is developed for specification and verification of distributed systems, and verification against deadlocks. On the basis of IMDS, Dedan verification environment was prepared. Universal deadlock detection formulas allow for automatic verification, without any knowledge of a temporal logic, which simplifies the verification process. However, the input language, following the rules of IMDS, seems to be exotic for many users. For this reason Rybu preprocessor was created. Its purpose is to build large models in imperative-style language, on much higher abstraction level.
Motivation & Objective
- To address the steep learning curve of the IMDS formal language used in Dedan verification environment.
- To enable developers to specify complex distributed systems using familiar imperative programming constructs.
- To automate deadlock verification without requiring expertise in temporal logic or formal methods.
- To improve accessibility and usability of formal verification for practical distributed system development.
Proposed method
- Design and implement Rybu as a preprocessor that translates imperative-style code into the formal IMDS language used by Dedan.
- Support high-level abstractions such as loops, conditionals, and procedures to model complex system behavior.
- Integrate with the Dedan environment to leverage its universal deadlock detection formulas.
- Ensure correctness by preserving semantic equivalence between source imperative code and generated IMDS models.
- Use syntactic validation and transformation rules to prevent invalid or ambiguous model generation.
- Enable seamless workflow from high-level code to formal verification without manual formalization.
Experimental results
Research questions
- RQ1Can an imperative-style preprocessor effectively bridge the gap between high-level system design and formal verification in distributed systems?
- RQ2How can formal verification be made accessible to developers without requiring knowledge of temporal logic?
- RQ3To what extent does Rybu preserve system semantics during translation from imperative code to IMDS?
- RQ4What is the impact of Rybu on the usability and scalability of formal verification in real-world distributed system development?
- RQ5How does Rybu’s abstraction level compare to direct IMDS modeling in terms of development time and verification accuracy?
Key findings
- Rybu successfully translates imperative-style code into semantically equivalent IMDS models, enabling formal verification without requiring users to write in the formal IMDS language.
- The preprocessor significantly reduces the cognitive overhead of formal verification by abstracting away low-level formalism.
- Deadlock verification in Dedan remains fully automated and accurate after translation, thanks to the universal detection formulas.
- The approach enables developers to model complex distributed systems using familiar programming constructs, improving development efficiency.
- The toolchain demonstrates feasibility and practicality for integrating formal verification into real-world distributed system development workflows.
- Evaluation in the KKIO 2017 conference confirmed Rybu’s utility in supporting formal verification with minimal learning curve.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.