Consistency Checking of All Different Constraints over Bit-Vectors ...
Recommend Documents
Consistency Checking of Basic Cardinal Constraints over Connected ... tant role in various artificial intelligence applications, such ..... Function CHECKNTB(Σ b1.
wide range of constraints involving prece- dence is described. A sound, complete and terminating deterministic constraint solv- ing procedure is given.
Software design models are routinely adapted to domains, companies, and applications. .... The computational efficiency and scalability of our approach and tool.
1 Vienna University of Economics and Business (WU Vienna), Austria ... of mutual-exclusion and binding constraints in a business process context. We re- ... In particular, these algorithms check corresponding consistency require- .... the essential e
Independent Assortment: During gamete formation, segregating pairs of unit fac- tors assort independently of each other. Independent assortment is central to ...
knowledge bases built with Computer Associate's Aion. 9 . Concerning parallel satis- fiability checking, PSATO of Zhang et al. 6 is a distributed prover for ...
Dec 19, 2018 - synchrony; geocomputation; data quality; constraint satisfaction. 1. Introduction ... Yet, for time-critical domains such as disaster response [7] and nature observations, reference datasets are not always available [7]. An alternative
Aug 29, 2018 - test has a specified final allowed (or prohibited) state of the variables and regis- ters. A run through a litmus test is called an execution. This final ...
Abstract. The generalization of the satisfiability problem with arbi- trary quantifiers is a challenging problem of both theoretical and prac- tical relevance.
Ormazabal, Hiromu Sakai, Uri Sauerland, Junko Shimoyama, Kazue Takeda, Hisao ..... Takahashi's Uniformity Corollary on Adjunction (see section 2.2.2) and ...
Aug 30, 2017 - Boolean finite automata, which allow for the direct and natural ... deterministic finite automata (NFA) [20] and then use automata operations to.
It contains over 75.000 classes and 2.5 millions relations [2]. From an application perspective, ontologies contribute both to semantic interoperability of data ...
Apr 28, 2018 - Example (Enemy mine). Alice does not trust Bob; Bob does not trust Carol; does Alice trust Carol? (¬trust(A,B) ⧠¬trust(B,C)) â trust(A,C)?.
Model Driven Software Development (MDSD) is an approach for soft- .... and find the mapping between high- and low-level model entities. Our AOP ...
Mar 8, 2014 - Semantic collision is inevitable while building a domain ontology from .... Name. cName n1 n2 n3 n4 n5 n6 n7 n8. Figure 1: A W-instance .
Execution) is a domain-independent system for the ... and (ii) the checking of the consistency of the .... checking, including name and range checking and the.
In a typical software development project several artifacts are created and changed ... Model Driven Software Development (MDSD) is an approach for soft-.
tures (that refer to uncommon requirements between products of a SPL) adapt use scenarios related to ... ios and features. It transforms ... by the SPL, our tool presents to the developer the particular features and fragments of the use scenarios ...
system model. We propose OCL (Object Constraint Language) to formalize the consistency ... language that can be used in all phases of software development.
implementation, design documents, and model transformations. .... of the same stage of a software development process, e
amount of states of the model where the consistency checking is needed. In fact, the application example included in this paper shows these two possibilities.
Consistency? (e.g., MARTE). Low Level. Figure 1. Semantical consistency. scription of the system can be generated, e.g., using model transformations - for exam ...
biguous name used by both anatomy and pharmacology spe- cialists. In fact ... tic groups, and check the inconsistency of each ancestor. ..... biomedical domain.
Consistency Checking of All Different Constraints over Bit-Vectors ...
are linear QBF encodings [3]â[5], but currently available QBF solvers have a hard ... large domain sizes of bit-vectors, e.g. a 32 bit-vector variable has a domain ...
Consistency Checking of All Different Constraints over Bit-Vectors within a SAT Solver minor fixes marked blue
Armin Biere and Robert Brummayer Institute for Formal Models and Verification Johannes Kepler University, Linz, Austria Email: {armin.biere,robert.brummayer}@jku.at
Abstract—This paper shows how all different constraints (ADCs) over bit-vectors can be handled within a SAT solver. It also contains encouraging experimental results in applying this technique to encode simple path constraints in bounded model checking. Finally, we present a new compact encoding of equalities and inequalities over bit-vectors in CNF.
II. E XTERNAL C ONSISTENCY C HECKING OF ADC S Let s1 , s2 , . . . , sm be bit-vectors of width n and si (l) denote the l-th bit of bit-vector si . Then a simple but quadratic bitlevel encoding of the ADC over the si is as follows: adc(s1 , . . . , sm ) ≡
I. I NTRODUCTION Many applications require to reason about inequalities over bit-vectors. More specifically, one is often interested in constraining bit-vectors to be pairwise different. In SAT based bounded model checking [1] such all different constraints (ADCs) are used to model simple paths (loop-free paths), which are used to compute occurrence diameters (length of longest loop-free paths) [1], or reverse occurrence diameters for k-induction [2]. A straight-forward encoding of ADCs over bit-vectors to SAT is obviously quadratic in the number of bit-vectors. There are linear QBF encodings [3]–[5], but currently available QBF solvers have a hard time to take advantage of these more compact encodings. Non symbolic algorithms from constraint programming, such as [6], [7], are not applicable due to the large domain sizes of bit-vectors, e.g. a 32 bit-vector variable has a domain size of 232 possible values. In this paper we show how ADCs over bit-vectors can be embedded into a SAT solver. The technique is similar to the lazy approach in satisfiability modulo theories (SMT). See [8] for a recent survey on (lazy) SMT. In contrast to previous work [9], ADCs are checked inside the SAT solver. In our application ADCs are used to encode simple path constraints for k-induction [2]. We propose a new and effective way to extend a standard SAT solver to the theory of symbolic ADCs over bit-vectors. Our approach avoids costly restarts. Lemmas, generated for ADCs, are marked as learned clauses, which can be garbage collected. Furthermore, we present an efficient incremental consistency checking algorithm for symbolic all different constraints over bit-vectors. This technique allows us to solve many instances for which the classical approach [9] of incrementally adding bit-vector inequalities on demand fails. We always need less memory and also less time if we combine our technique with the refinement based approach [9].