Testing reactive systems with data: enumerative methods and constraint solving
نویسنده
چکیده
ion, i.e. ha(a(d)) = a(hd(d)), so that two actions a(x) and b(y) cannot be mapped to the same abstract action. However, applying abstractions directly on a system’s specification S rather than on its LTS leads to a loss of precision. Let S be the abstract interpretation of S, and let M and M be their underlying LTSs. It is well known that M is only an overapproximation of α(M), with α(M) denoting the abstraction of M on the level of LTSs here (cf. Clarke et al., 1994). In particular, we will still have trace inclusion up to α: M ⊆α α(M) ⊆α M. 7.3.2 Abstraction of eALTL formulae The abstraction of eALTL formulae is based on the notions of contracting and precise abstractions as introduced by Kesten and Pnueli (2000). In a contracting abstraction, a property φ holds for a trace π if and only if the property φ holds for all concrete traces π with π = α(π). Note that for soundness of abstract model checking, we need contracting abstractions. This does, however, not imply that all properties that hold for the original system, must also hold in the abstract system (see Figure 7.4, ellipse vs. the hatched square). In precise abstractions, this cannot happen. Definition 7.10 (Contracting and Precise Abstraction). Let φ be a property over an alphabet Λ. Its abstraction φ is contracting if and only if: ∀π ∈ Λ : α(π) |= φ ⇒ π |= φ. precise if and only if: ∀π ∈ Λ : α(π) |= φ ⇔ π |= φ. In the following, we will define an abstraction of eALTL formulae that is guaranteed to be contracting. We will first consider action formulae. For the standard boolean operations, as well as for > and ⊥, abstractions are straight forward. The difficult part are those formulae, where statements are made whether an action label belongs to a particular set of labels or not. We abstract those as follows: In the positive case, we preserve the name of the action under consideration, since we only abstract data here. For parameters, we check whether all concrete data values for the abstract one fulfill the original data property expr(x). For the abstraction of the negation of such a set formula, we require either the action name to be different or none of the concrete data values for the abstracted parameters to fulfill the expression. This is not exactly the inverse of the abstracted positive set formula, but we want to achieve a contracting abstraction as shown in Figure 7.4. Doing so is safer w.r.t. counterexamples found for the abstract system, since the abstract system does not fulfill more properties than the original one. Definition 7.11 (Abstraction of Action Formulae). Action formulae as defined in Definition 7.2 are abstracted as follows: 7.3 Abstracting eALTL 155 α(>) := > (7.6) α(⊥) := ⊥ (7.7) α({a(x) | expr(x)}) := {a(x) | ∀x : hd(x) = x → expr(x))} (7.8) α(¬{a(x) | expr(x)}) := ∨
منابع مشابه
Towards Automatic Generation of Parameterized Test Cases from Abstractions
Model-based tools for automatic test generation usually can handle systems of a rather limited size. Therefore, they cannot be applied directly to systems of real industrial size. Here, we propose an approach to test generation combining enumerative data abstraction, test generation methods and constraint solving. The approach allows applying enumerative test generation tools like TGV to large ...
متن کاملNumerical method for solving optimal control problem of the linear differential systems with inequality constraints
In this paper, an efficient method for solving optimal control problems of the linear differential systems with inequality constraint is proposed. By using new adjustment of hat basis functions and their operational matrices of integration, optimal control problem is reduced to an optimization problem. Also, the error analysis of the proposed method is nvestigated and it is proved that the orde...
متن کاملStructure and Properties of Leximin FCSP and its Influence on Optimisation Algorithms
In this paper we investigate why solving leximin fuzzy constraint satisfaction problems (FCSP) with non-enumerative algorithms, such as hill-climbing, simulated annealing and genetic algorithms, provide disappointing results. Specifically, we analyse the structure and properties of the leximin FCSPs and its influence on the search strategy of non-enumerative algorithms.
متن کاملSymbolic Execution and Constraint Solving
This report documents the program and the outcomes of Dagstuhl Seminar 14442 “Symbolic Execution and Constraint Solving”, whose main goals were to bring together leading researchers in the fields of symbolic execution and constraint solving, foster greater communication between these two communities and exchange ideas about new research directions in these fields. There has been a veritable rev...
متن کاملFrom Enumerative Geometry to Solving Systems of Polynomial Equations
Solving a system of polynomial equations is a ubiquitous problem in the applications of mathematics. Until recently, it has been hopeless to find explicit solutions to such systems, and mathematics has instead developed deep and powerful theories about the solutions to polynomial equations. Enumerative Geometry is concerned with counting the number of solutions when the polynomials come from a ...
متن کاملThe Sine-Cosine Wavelet and Its Application in the Optimal Control of Nonlinear Systems with Constraint
In this paper, an optimal control of quadratic performance index with nonlinear constrained is presented. The sine-cosine wavelet operational matrix of integration and product matrix are introduced and applied to reduce nonlinear differential equations to the nonlinear algebraic equations. Then, the Newton-Raphson method is used for solving these sets of algebraic equations. To present ability ...
متن کامل