Computing GR(1) Assume-Guarantee Contracts
Yigit Narter, Emily Zhao, Inigo Incer
Key points
From the paper's conclusion- We implement the resulting framework in Pacti, automating compositional reasoning over GR(1) contracts.
Abstract
Assume-guarantee contracts provide a set of algebraic operations that enable the efficient compositional design and analysis of complex engineering systems. The explicit computation of these operations at component interfaces is currently supported only for some logics lacking a notion of time. This paper develops theory and algorithms to compute these operations when the contracts are expressed in the GR(1) modulo theory. The key challenge is the computation of two quantifier elimination problems for temporal formulas. We develop context-aided variable elimination procedures on GR(1)-modulo formulas, establish their soundness, characterize subproblem-wise optimal solutions within an admissible class of formulas, and use the procedures to compute contract operations, including composition and quotient. We implement the resulting framework in Pacti, automating compositional reasoning over GR(1) contracts. Finally, we demonstrate the framework on an automated emergency-braking case study, where we compute system-level contracts and expose compatibility conditions arising from the interaction of component specifications. Experiments on synthetic families show that the cost is governed by the number of eliminated variables and liveness conjuncts, and a comparison with exact automata-based elimination shows complementary scaling.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Function Contracts for Bounded Model Checking of C ProgramsarXiv · 2026
- Verification Modulo Tested Library ContractsProceedings of the ACM on Programming Languages · 2026
- Contract-Based Agentic Systems Engineering: Delegation as Quotient for Assured System DesignarXiv · 2026
- CrossCheck I: Cost Bounds of Imperative Programs as Constrained Optimization, with a Sound Cost Logic and a Verified Certificate CheckerarXiv · 2026
- Modern Software Engineering with Verification Agents: A Spec-First Architecture for Autonomous Synthesis, Verification IRs, and Organizational ScalearXiv · 2026
- Compositional Symbolic Execution \`a la Carte (Extended Version)arXiv · 2026