RUS  ENG
Full version
JOURNALS // Modelirovanie i Analiz Informatsionnykh Sistem // Archive

Model. Anal. Inform. Sist., 2019 Volume 26, Number 4, Pages 550–571 (Mi mais697)

Algorithms

Property-directed inference of relational invariants

D. A. Mordvinovab

a St. Petersburg University, 28 Universitetskiy pr., Petrodvorets 198504, Russia
b JetBrains Research

Abstract: Property Directed Reachability (PDR) is an efficient and scalable approach to solving systems of symbolic constraints also known as Constrained Horn Clauses (CHC). In the case of non-linear CHCs, which may arise, e.g., from relational verification tasks, PDR aims to infer an inductive invariant for each uninterpreted predicate. However, in many practical cases this reasoning is not successful, as invariants should be derived for groups of predicates instead of individual predicates. The article describes a novel algorithm that identifies these groups automatically and complements the existing PDR technique. The key feature of the algorithm is that it does not require a possibly expensive synchronization transformation over the system of CHCs. We have implemented the algorithm on top of a up-to-date CHC solver Spacer. Our experimental evaluation shows that for some CHC systems, on which existing solvers diverge, our tool is able to discover relational invariants.

Keywords: relational verification, constrained horn clauses, property-directed reachability, relational invariants.

UDC: 004.05

Received: 01.10.2019
Revised: 18.11.2019
Accepted: 27.11.2019

DOI: 10.18255/1818-1015-550-571



© Steklov Math. Inst. of RAS, 2026