PPL citations from 2017
All citation years and BibTeX download
[AlbertiGS17]
A Framework for the Verification of Parameterized Infinite-State Systems(Article)- Authors:
- F. Alberti; S. Ghilardi; N. Sharygina
- Date:
- 2017
- Publication:
- Fundamenta Informaticae
- Volume:
- 150
- Issue:
- 1
- Pages:
- 1–24
- Publisher:
- IOS Press
- ISSN:
- 0169-2968
Abstract
We present our framework for the verification of parameterized infinite-state systems. The framework has been successfully applied in the verification of heterogeneous systems, ranging from distributed fault-tolerant protocols to programs handling unbounded data-structures. In such application domains, being able to infer quantified invariants is a mandatory requirement for successful results. Our framework differentiates itself from the state-of-the-art solutions targeting the generation of quantified safe inductive invariants: instead of monolitically exploiting a single static analysis technique, it is based on the effective integration of several analysis strategies. The paper targets the description of the engineering strategies adopted for a successful implementation of such an integrated framework, and presents the extensive experimental evaluation demonstrating its effectiveness.
[AmatoRS17]
Inferring Linear Invariants with Parallelotopes(Article)- Authors:
- G. Amato; M. Rubino; F. Scozzari
- Date:
- 2017
- Publication:
- Science of Computer Programming
- Volume:
- 148
- Pages:
- 161–188
- Publisher:
- Elsevier
- ISSN:
- 0167-6423
Abstract
We propose a new numerical abstract domain for inferring linear invariants based on parallelotopes. The domain may encode any linear constraint, as the polyhedra abstract domain, while maintaining the efficiency of weakly relational abstract domains, such as intervals and octagons. We provide the full set of abstract operators, define a reduced product with intervals and present an experimental comparison with polyhedra and octagons. According to these experiments, the reduced product we propose is much more precise than both polyhedra and octagons in inferring interval constraints.
[Andre17]
A Unified Formalism for Monoprocessor Schedulability Analysis Under Uncertainty(Conference paper)- Authors:
- É. André
- Editors:
- L. Petrucci; C. Seceleanu; A. Cavalcanti
- Date:
- 2017
- Publication:
- Critical Systems: Formal Methods and Automated Verification
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10471
- Pages:
- 100–115
- Publisher:
- Springer, Cham
- Location:
- Turin, Italy
- ISBN:
- 978-3-319-67112-3 (Print) 978-3-319-67113-0 (Online)
Abstract
The schedulability analysis of real-time systems (even on a single processor) is a very difficult task, which becomes even more complex (or undecidable) when periods or deadlines become uncertain. In this work, we propose a unified formalism to model monoprocessor schedulability problems with several types of tasks (periodic, sporadic, or more complex), most types of schedulers (including EDF, FPS and SJF), with or without preemption, in the presence of uncertain timing constants. Although the general case is undecidable, we exhibit a large decidable subclass. We demonstrate the expressive power of our formalism on several examples, allowing also for robust schedulability.
[AndreCR17]
Preserving Partial-Order Runs in Parametric Time Petri Nets(Article)- Authors:
- É. André; T. Chatain; C. Rodriguez
- Date:
- 2017
- Publication:
- ACM Transactions on Embedded Computing Systems
- Volume:
- 16
- Issue:
- 2
- Pages:
- 43:1–43:26
- Publisher:
- ACM Press, New York, USA
- ISSN:
- 1539-9087
- DOI:
- 10.1145/3012283
Abstract
Parameter synthesis for timed systems aims at deriving parameter valuations satisfying a given property. In this article, we target concurrent systems.We use partial-order semantics for parametric time Petri nets as a way to both cope with the well-known state-space explosion due to concurrency and significantly enhance the result of an existing synthesis algorithm. Given a reference parameter valuation, our approach synthesizes other valuations preserving the partial-order executions of the reference parameter valuation. We show the applicability of our approach using a tool applied to asynchronous circuits.
[AndreNP17]
Efficient Parameter Synthesis Using Optimized State Exploration Strategies(Conference paper)- Authors:
- É. André; H. G. Nguyen; L. Petrucci
- Date:
- 2017
- Publication:
- Proceedings of the 22nd International Conference on Engineering of Complex Computer Systems (ICECCS)
- Pages:
- 1–10
- Publisher:
- IEEE Press
- Location:
- Fukuoka
- ISBN:
- 9781538624319
Abstract
Parametric timed automata are a powerful formalism to reason about, model and verify real-time systems in which some constraints are unknown, or subject to uncertainty. Parameter synthesis using parametric timed automata is very sensitive to the state space explosion problem. To mitigate this problem, we propose two new exploration orders, i. e., the “ranking strategy” and the “priority based strategy”, and compare them with existing strategies. We consider both complete parameter synthesis, and counterexample synthesis where the analysis stops as soon as some parameter valuations are found. Experimental results using IMITATOR show that our new strategies significantly outperform existing approaches, especially in the counterexample synthesis.
[AndreNPS17]
Parametric Model Checking Timed Automata Under Non-Zenoness Assumption(Conference paper)- Authors:
- É. André; H. G. Nguyen; L. Petrucci; J. Sun
- Editors:
- C. Barrett; M. Davies; T. Kahsai
- Date:
- 2017
- Publication:
- NASA Formal Methods: Proceedings of the 9th International Symposium (NFM 2017)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10227
- Pages:
- 35–51
- Publisher:
- Springer, Cham
- Location:
- Moffett Field, CA, USA
- ISBN:
- 978-3-319-57287-1 (Print) 978-3-319-57288-8 (Online)
Abstract
Real-time systems often involve hard timing constraints and concurrency, and are notoriously hard to design or verify. Given a model of a real-time system and a property, parametric model-checking aims at synthesizing timing valuations such that the model satisfies the property. However, the counter-example returned by such a procedure may be Zeno (an infinite number of discrete actions occurring in a finite time), which is unrealistic. We show here that synthesizing parameter valuations such that at least one counterexample run is non-Zeno is undecidable for parametric timed automata (PTAs). Still, we propose a semi-algorithm based on a transformation of PTAs into Clock Upper Bound PTAs to derive all valuations whenever it terminates, and some of them otherwise.
[AntonopoulosGHKTW17]
Decomposition Instead of Self-Composition for Proving the Absence of Timing Channels(Conference paper)- Authors:
- T. Antonopoulos; P. Gazzillo; M. Hicks; E. Koskinen; T. Terauchi; S. Wei
- Editors:
- A. Cohen; M. T. Vechev
- Date:
- 2017
- Publication:
- Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation
- Pages:
- 362–375
- Publisher:
- ACM Press, New York, USA
- Location:
- Barcelona Spain
- ISBN:
- 978-1-4503-4988-8
Abstract
We present a novel approach to proving the absence of timing channels. The idea is to partition the program's execution traces in such a way that each partition component is checked for timing attack resilience by a time complexity analysis and that per-component resilience implies the resilience of the whole program. We construct a partition by splitting the program traces at secret-independent branches. This ensures that any pair of traces with the same public input has a component containing both traces. Crucially, the per-component checks can be normal safety properties expressed in terms of a single execution. Our approach is thus in contrast to prior approaches, such as self-composition, that aim to reason about multiple () executions at once. We formalize the above as an approach called quotient partitioning, generalized to any -safety property, and prove it to be sound. A key feature of our approach is a demand-driven partitioning strategy that uses a regex-like notion called trails to identify sets of execution traces, particularly those influenced by tainted (or secret) data. We have applied our technique in a prototype implementation tool called Blazer, based on WALA, PPL, and the brics automaton library. We have proved timing-channel freedom of (or synthesized an attack specification for) 24 programs written in Java bytecode, including 6 classic examples from the literature and 6 examples extracted from the DARPA STAC challenge problems.
[AssarfGHJLPR17]
Computing Convex Hulls and Counting Integer Points with polymake(Article)- Authors:
- B. Assarf; E. Gawrilow; K. Herr; M. Joswig; B. Lorenz; A. Paffenholz; T. Rehn
- Date:
- 2017
- Publication:
- Mathematical Programming Computation
- Volume:
- 9
- Issue:
- 1
- Pages:
- 1–38
- Publisher:
- Springer
- ISSN:
- 1867-2949
Abstract
The main purpose of this paper is to report on the state of the art of computing integer hulls and their facets as well as counting lattice points in convex polytopes. Using the polymake system we explore various algorithms and implementations. Our experience in this area is summarized in ten “rules of thumb”.
[Audren17th]
On Multi-Contact Dynamic Motion Using Reduced Models(PhD thesis)- Authors:
- H. Audren
- Date:
- 2017-11
- Location:
- Montpellier, France
- School:
- Université de Montpellier
Abstract
In the context of legged robotics, stability (or equilibrium) is of the utmost importance. Indeed, as legged robots have a non-actuated floating base they can fall. To avoid falling, we must be able to tell apart stable from non-stable motion. This thesis approaches stability from a reduced model point-of-view: our main interest is the Center of Mass. We show how to compute stability regions for this reduced model, at first based on purely static stability. Although purely geometrical in nature, we show how they depend on the admissible contact forces. Then, we show that taking into account robustness, in the sense of acceleration (or contact forces) affordances transforms the usual two-dimensional stability region into a three dimensional one. To compute this shape, we introduce novel recursive algorithms. We show how we can apply computer graphics techniques for shape morphing in order to continuously deform the aforementioned regions. This allows us to approximate changes in the parameters of those shapes, but also to interpolate between shapes. Finally, we exploit the effective decoupling offered by the explicit computation of the stability polyhedron to formulate a linear, minimal jerk model-predictive control problem. We also propose another linear MPC problem that exploits more of the available dynamics, but at an increased computational cost. We then adopt a hierarchical approach, and use those CoM results as input to our whole-body controller. Results are demonstrated on real hardware and in simulation.
[BakhirkinFMU17]
On the Quantitative Semantics of Regular Expressions over Real-Valued Signals(Conference paper)- Authors:
- A. Bakhirkin; T. Ferrère; O. Maler; D. Ulus
- Editors:
- A. Abate; G. Geeraerts
- Date:
- 2017
- Publication:
- Formal Modeling and Analysis of Timed Systems: Proceedings of the 15th International Conference (FORMATS 2017)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10419
- Pages:
- 189–206
- Publisher:
- Springer, Cham
- Location:
- Berlin, Germany
- ISBN:
- 978-3-319-65764-6 (Print) 978-3-319-65765-3 (Online)
Abstract
Signal regular expressions can specify sequential properties of real-valued signals based on threshold conditions, regular operations, and duration constraints. In this paper we endow them with a quantitative semantics which indicates how robustly a signal matches or does not match a given expression. First, we show that this semantics is a safe approximation of a distance between the signal and the language defined by the expression. Then, we consider the robust matching problem, that is, computing the quantitative semantics of every segment of a given signal relative to an expression. We present an algorithm that solves this problem for piecewise-constant and piecewise-linear signals and show that for such signals the robustness map is a piecewise-linear function. The availability of an indicator describing how robustly a signal segment matches some regular pattern provides a general framework for quantitative monitoring of cyber-physical systems.
[BakhirkinM17]
Combining Forward and Backward Abstract Interpretation of Horn Clauses(Conference paper)- Authors:
- A. Bakhirkin; D. Monniaux
- Editors:
- F. Ranzato
- Date:
- 2017
- Publication:
- Static Analysis: Proceedings of the 24th International Symposium (SAS 2017)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10422
- Pages:
- 23–45
- Publisher:
- Springer, Cham
- Location:
- New York, NY, USA
- ISBN:
- 978-3-319-66705-8 (Print) 978-3-319-66706-5 (Online)
Abstract
Alternation of forward and backward analyses is a standard technique in abstract interpretation of programs, which is in particular useful when we wish to prove unreachability of some undesired program states. The current state-of-the-art technique for combining forward (bottom-up, in logic programming terms) and backward (top-down) abstract interpretation of Horn clauses is query-answer transformation. It transforms a system of Horn clauses, such that standard forward analysis can propagate constraints both forward, and backward from a goal. Query-answer transformation is effective, but has issues that we wish to address. For that, we introduce a new backward collecting semantics, which is suitable for alternating forward and backward abstract interpretation of Horn clauses. We show how the alternation can be used to prove unreachability of the goal and how every subsequent run of an analysis yields a refined model of the system. Experimentally, we observe that combining forward and backward analyses is important for analysing systems that encode questions about reachability in C programs. In particular, the combination that follows our new semantics improves the precision of our own abstract interpreter, including when compared to a forward analysis of a query-answer-transformed system.
[BallabrigaFL17TR]
Abstract Interpretation of Binary Code with Memory Accesses Using Polyhedra(Technical report)- Authors:
- C. Ballabriga; J. Forget; G. Lipari
- Date:
- 2017-11
- Report number:
- arXiv:1711.07257
- Institution:
- arXiv
- Publication type:
- Preprint
Abstract
In this paper we propose a novel methodology for static analysis of binary code using abstract interpretation. We use an abstract domain based on polyhedra and two mapping functions that associate polyhedra variables with registers and memory. We demonstrate our methodology to the problem of computing upper bounds to loop iterations in the code. This problem is particularly important in the domain of Worst-Case Execution Time (WCET) analysis of safety-critical real-time code. However, our approach is general and it can applied to other static analysis problems.
[BastrakovZ17]
On the Dynamic Problem of Computing Generators of a Polyhedral Cone(Article)- Authors:
- S. I. Bastrakov; N. Yu. Zolotykh
- Date:
- 2017
- Publication:
- Bulletin of the South Ural State University series “Mathematics. Mechanics. Physics”
- Volume:
- 9
- Issue:
- 1
- Pages:
- 5–12
- Publisher:
- FSAEIHE South Ural State University (National Research University)
Abstract
This paper considers a dynamic problem of computing generators of a polyhedral cone. The problem is to sequentially perform operations of adding and removing inequalities from a facet description of the polyhedral cone with a corresponding re-computation of generators. The application of a double description method for both operations is discussed and complexity estimation is given in the paper. Adding a new inequality corresponds to a single step of the double description method. It can be performed with time complexity being quadratic or cubic of the input size for the current step, depending on the modification of the method and adjacency tests chosen. We give complexity bounds for adding a single inequality with widely used algebraic and combinatorial adjacency tests. The problem of removing inequalities is intrinsically much harder, compared to adding inequalities. We briefly describe the naive and incremental algorithms and show an example with output size being superpolynomial of the input size in case of removing a single inequality. A subclass of problems with certain adjacency properties is investigated, for this subclass we prove that the output size is bounded by a quadratic function of the input size. Finally, we prove that for the distinguished subclass any finite sequence of adding and removing inequalities can be performed in polynomial time of the input size.
[BenerecettiF17a]
Automatic Synthesis of Switching Controllers for Linear Hybrid Systems(Article)- Authors:
- M. Benerecetti; M. Faella
- Date:
- 2017
- Publication:
- ACM Transactions on Embedded Computing Systems
- Volume:
- 16
- Issue:
- 4
- Pages:
- 104:1–104:27
- Publisher:
- ACM Press, New York, USA
- ISSN:
- 1539-9087
- DOI:
- 10.1145/3047500
Abstract
We consider the problem of computing the controllable region of a Linear Hybrid Automaton with controllable and uncontrollable transitions, w.r.t. a reachability objective. We provide an algorithm for the finite-horizon version of the problem, based on computing the set of states that must reach a given non-convex polyhedron while avoiding another one, subject to a polyhedral constraint on the slope of the trajectory. Experimental results are presented, based on an implementation of the proposed algorithm on top of the tool SpaceEx.
[BenerecettiF17b]
Tracking Smooth Trajectories in Linear Hybrid Systems(Article)- Authors:
- M. Benerecetti; M. Faella
- Date:
- 2017-12
- Publication:
- Information and Computation
- Volume:
- 257
- Pages:
- 114–138
- Publisher:
- Elsevier
- ISSN:
- 0890-5401
Abstract
We analyze the properties of smooth trajectories subject to a constant differential inclusion which constrains the first derivative to belong to a given convex polyhedron. We present the first exact symbolic algorithm that computes the set of points from which there is a trajectory that reaches a given polyhedron while avoiding another (possibly non-convex) polyhedron. We prove that this set of points remains the same if the smoothness constraint is replaced by a weaker differentiability constraint, but not if it is replaced by almost everywhere differentiability. We discuss the connection with (Linear) Hybrid Automata and in particular the relationship with the classical algorithm for reachability analysis for Linear Hybrid Automata.
[BorrallerasBLOR-CR17]
Proving Termination Through Conditional Termination(Conference paper)- Authors:
- C. Borralleras; M. Brockschmidt; D. Larraz; A. Oliveras; E. Rodríguez-Carbonell; A. Rubio
- Editors:
- A. Legay; T. Margaria
- Date:
- 2017
- Publication:
- Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 23rd International Conference (TACAS 2017), Part I
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10205
- Pages:
- 99–117
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Uppsala, Sweden
- ISBN:
- 978-3-662-54576-8 (Print) 978-3-662-54577-5 (Online)
Abstract
We present a constraint-based method for proving conditional termination of integer programs. Building on this, we construct a framework to prove (unconditional) program termination using a powerful mechanism to combine conditional termination proofs. Our key insight is that a conditional termination proof shows termination for a subset of program execution states which do not need to be considered in the remaining analysis. This facilitates more effective termination as well as non-termination analyses, and allows handling loops with different execution phases naturally. Moreover, our method can deal with sequences of loops compositionally. In an empirical evaluation, we show that our implementation VeryMax outperforms state-of-the-art tools on a range of standard benchmarks.
[BygdeLH17]
Improved Precision in Polyhedral Analysis with Wrapping(Article)- Authors:
- S. Bygde; B. Lisper; N. Holsti
- Date:
- 2017
- Publication:
- Science of Computer Programming
- Volume:
- 133
- Pages:
- 74–87
- Publisher:
- Elsevier
- ISSN:
- 0167-6423
Abstract
Abstract interpretation using convex polyhedra is a common and powerful program analysis technique to discover linear relationships among variables in a program. A value analysis based on a polyhedral abstract domain can be very precise, thus reducing the number of false alarms when used to verify the absence of bugs in the code. However, the classical way of performing polyhedral analysis does not model the fact that values typically are stored as fixed-size binary strings and usually have wrap-around semantics in the case of overflows. In resource-constrained embedded systems, where 8 or 16 bit processors are used, wrapping behaviour may even be used intentionally to save instructions and execution time. Thus, to analyse such systems accurately and correctly, the wrapping has to be modelled. Simon and King [1] devised a technique to handle wrapping in polyhedral analysis in a sound way. However, their approach can sometimes yield large overapproximations. We show how the analysis can be made significantly more precise by simple means, thus making the approach more practically useful for program verification. An experimental evaluation shows that there indeed can be significant improvements in precision.
[ChawdharyK17]
Compact Difference Bound Matrices(Conference paper)- Authors:
- A. Chawdhary; A. King
- Editors:
- B.-Y. E. Chang
- Date:
- 2017
- Publication:
- Programming Languages and Systems: Proceedings of the 15th Asian Symposium (APLAS 2017)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10695
- Pages:
- 471–490
- Publisher:
- Springer, Cham
- Location:
- Suzhou, China
- ISBN:
- 978-3-319-71236-9 (Print) 978-3-319-71237-6 (Online)
Abstract
The Octagon domain, which tracks a restricted class of two-variable inequalities, is the abstract domain of choice for many applications because its domain operations are either quadratic or cubic in the number of program variables. Octagon constraints are classically represented using a Difference Bound Matrix (DBM), where the entries in the DBM store bounds c for inequalities of the form , or . The size of such a DBM is quadratic in the number of variables, giving a representation which can be excessively large for number systems such as rationals. This paper proposes a compact representation for DBMs, in which repeated numbers are factored out of the DBM. The paper explains how the entries of a DBM are distributed, and how this distribution can be exploited to save space and significantly speed-up long-running analyses. Moreover, unlike sparse representations, the domain operations retain their conceptually simplicity and ease of implementation whilst reducing memory usage.
[ChenZG17]
Precision Adjustment Strategies Based on Constraint Simplification in Polyhedra Abstract Domain(Conference paper)- Authors:
- X. Chen; M. Zhou; M. Gu
- Date:
- 2017
- Publication:
- Proceedings of the 7th International Workshop on Computer Science and Engineering (WCSE 2017)
- Pages:
- 195–203
- Publisher:
- WCSE
- Location:
- Beijing, China
- ISBN:
- 978-981-11-3671-9
Abstract
Some precision adjustment strategies based on constraint simplification are introduced to find a trade-off between precision and its cost in program analysis. In program analysis built on numerical abstract domains, a constraint (such as Linear Inequation in Polyhedra abstract domain) implies the relationships between program variables. The main idea of precision adjustment strategies in this paper is simplifying the constraints in some pivotal program locations before these constraints are fed to abstract transfer functions. The strategy at Function Start Location(FSL) replaces expressions with constraints related to their ranges. The strategy at Loop Start Location(LSL) simplifies constraints' coefficients through combining several analogous constraints to a typical constraint. The strategy at Ordinary Location(OL) decreases the quantities of variables in constraints by replacing these variables with their ranges. Our framework is implemented on the top of Apron which is dependent on Convex Polyhedra and Linear Equalities library (POLKA). According to a series of experiments on different programs, we demonstrate that the application of precision adjustment strategies can improve the efficiency of program analysis.
[CominiGTV17]
A Program Analysis Framework for tccp Based on Abstract Interpretation(Article)- Authors:
- M. Comini; M. D. M. Gallardo; L. Titolo; A. Villanueva
- Date:
- 2017
- Publication:
- Formal Aspects of Computing
- Volume:
- 29
- Issue:
- 3
- Pages:
- 531–557
- Publisher:
- Springer-Verlag, Berlin, Heidelberg
- ISSN:
- 0934-5043
Abstract
The timed concurrent constraint language ( tccp ) is a timed extension of the concurrent constraint paradigm. tccp was defined to model reactive systems, where infinite behaviors arise naturally. In previous works, a semantic framework and abstract diagnosis method for the language have been defined. On the basis of that semantic framework, this paper proposes an abstract semantics that, together with a widening operator, is suitable for the definition of different analyses for tccp programs. The abstract semantics is correct and can be represented as a finite graph where each node represents a hypothetical (abstract) computational step of the program. The widening operator allows us to guarantee the convergence of the abstract fixpoint computation.
[CourantU17]
Precise Widening Operators for Proving Termination by Abstract Interpretation(Conference paper)- Authors:
- N. Courant; C. Urban
- Editors:
- A. Legay; T. Margaria
- Date:
- 2017
- Publication:
- Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 23rd International Conference (TACAS 2017), Part I
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10205
- Pages:
- 136–152
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Uppsala, Sweden
- ISBN:
- 978-3-662-54576-8 (Print) 978-3-662-54577-5 (Online)
Abstract
FuncTion is a static analyzer designed for proving conditional termination of C programs by means of abstract interpretation. Its underlying abstract domain is based on piecewise-defined functions, which provide an upper bound on the number of program execution steps until termination as a function of the program variables. In this paper, we fully parameterize various aspects of the abstract domain, gaining a flexible balance between the precision and the cost of the analysis. We propose heuristics to improve the fixpoint extrapolation strategy (i.e., the widening operator) of the abstract domain. In particular we identify new widening operators, which combine these heuristics to dramatically increase the precision of the analysis while offering good cost compromises. We also introduce a more precise, albeit costly, variable assignment operator and the support for choosing between integer and rational values for the piecewise-defined functions. We combined these improvements to obtain an implementation of the abstract domain which subsumes the previous implementation. We provide experimental evidence in comparison with state-of-the-art tools showing a considerable improvement in precision at a minor cost in performance.
[DwyerFGGPV17]
Probabilistic Program Analysis(Book chapter)- Authors:
- M. B. Dwyer; A. Filieri; J. Geldenhuys; M. Gerrard; C. S. Păsăreanu; W. Visser
- Editors:
- J. Cunha; J. P. Fernandes; R. Lämmel; J. Saraiva; V. Zaytsev
- Date:
- 2017
- Publication:
- Grand Timely Topics in Software Engineering
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10223
- Pages:
- 1–25
- Publisher:
- Springer, Cham
- Location:
- Braga, Portugal
- ISBN:
- 978-3-319-60073-4 (Print) 978-3-319-60074-1 (Online)
Abstract
This paper provides a survey of recent work on adapting techniques for program analysis to compute probabilistic characterizations of program behavior. We survey how the frameworks of data flow analysis and symbolic execution have incorporated information about input probability distributions to quantify the likelihood of properties of program states. We identify themes that relate and distinguish a variety of techniques that have been developed over the past 15 years in this area. In doing so, we point out opportunities for future research that builds on the strengths of different techniques.
[Firsching17]
Realizability and Inscribability for Simplicial Polytopes via Nonlinear Optimization(Article)- Authors:
- M. Firsching
- Date:
- 2017-11
- Publication:
- Mathematical Programming
- Volume:
- 166
- Issue:
- 1–2
- Pages:
- 273–295
- Publisher:
- Springer
- ISSN:
- 0025-5610
Abstract
We show that nonlinear optimization techniques can successfully be applied to realize and to inscribe matroid polytopes and simplicial spheres. In order to show non-realizability of simplicial spheres, we extend the method of finding biquadratic final polynomials for matroid polytopes to partial matroid polytopes. Combining these two methods we obtain a complete classification of neighborly polytopes of dimension 4, 6 and 7 with 11 vertices, of neighborly 5-polytopes with 10 vertices, as well as a complete classification of simplicial 3-spheres with 10 vertices into polytopal and non-polytopal spheres. Surprisingly many of the realizable polytopes are also inscribable.
[GallardoLP17]
A Simulation Tool for tccp Programs(Article)- Authors:
- M. D. M. Gallardo; L. Lavado; L. Panizo
- Date:
- 2017
- Publication:
- Electronic Proceedings in Theoretical Computer Science
- Volume:
- 234
- Pages:
- 120–134
- Publisher:
- Open Publishing Association
- ISSN:
- 2075-2180
Abstract
The Timed Concurrent Constraint Language tccp is a declarative synchronous concurrent language, particularly suitable for modelling reactive systems. In tccp, agents communicate and synchronise through a global constraint store. It supports a notion of discrete time that allows all non-blocked agents to proceed with their execution simultaneously. In this paper, we present a modular architecture for the simulation of tccp programs. The tool comprises three main components. First, a set of basic abstract instructions able to model the tccp agent behaviour, the memory model needed to manage the active agents and the state of the store during the execution. Second, the agent interpreter that executes the instructions of the current agent iteratively and calculates the new agents to be executed at the next time instant. Finally, the constraint solver components which are the modules that deal with constraints. In this paper, we describe the implementation of these components and present an example of a real system modelled in tccp.
[GallardoLPT17]
A Constraint-Based Language for Modelling Intelligent Environments(Article)- Authors:
- M. D. M. Gallardo; L. Lavado; L. Panizo; L. Titolo
- Date:
- 2017
- Publication:
- Journal of Reliable Intelligent Environments
- Volume:
- 3
- Issue:
- 1
- Pages:
- 55–79
- Publisher:
- Springer
- ISSN:
- 2199-4668
Abstract
Intelligent environments can be described as hybrid systems, which combine continuous dynamics, modelling the behaviour of physical components, and discrete dynamics, modelling the software components that control the evolution of the physical variables. The growing boom in intelligent environments makes the construction of complex discrete components necessary, which may require the use of more sophisticated concurrent languages. Hy-tccp is a concurrent language for modelling hybrid systems with high-level notations that facilitate the description of computational systems, abstracting away from the implementation details. In this paper, we present an operational semantics based on hybrid automata for Hy-tccp which is a theoretical basis for the analysis and verification of hybrid systems like intelligent environment.
[GarciaSoto17th]
An Algorithmic Approach for Stability Verification of Hybrid Systems(PhD thesis)- Authors:
- M. García Soto
- Date:
- 2017-07
- Location:
- Madrid, Spain
- School:
- Universidad Politécnica de Madrid
Abstract
Cyber-physical systems (cps) are engineered systems which integrate computerbased algorithms and physical components. One of the main features of cps is the interaction between the discrete algorithmic behaviour and the continuous physical behaviour, which results in a more intricate performance. This mixed behaviour can be modelled by hybrid systems. A critical property in hybrid systems design is stability, which ensures robustness of the system with respect to small perturbations of the input to the system. The state-of-the-art methodology for providing stability proofs lies on searching for Lyapunov functions. This thesis proposes an alternative and novel algorithmic approach to stability verification of hybrid systems, which uses formal methods. The aim of formal verification is to automatically provide strong guarantees of correctness. This thesis introduces the development and implementation of a formal verification method for analysing stability of hybrid systems. Such a stability verification approach consists of an automated proof which relies on abstraction and model checking techniques. The abstraction technique is a modified predicate abstraction that constructs a finite weighted graph from a hybrid system by preserving stability. The evaluation of an abstract weighted graph, which is a finite state system, is more efficient than evaluating a hybrid system with infinite states. Therefore, the abstract weighted graph is model checked to either infer stability of the former system or output a potential instability reason namely counterexample. The counterexample obtained through model checking can either correspond to an unstable behaviour of the hybrid system or be spurious. This thesis includes a validation algorithm to differentiate between the two possibilities by solving a non-bounded model checking problem, and it also introduces two refinement techniques for the case that the counterexample is spurious. These refinement techniques provide additional predicates, deducted from the counterexample, to construct a more accurate abstract weighted graph. All the developed techniques (abstraction, model checking, validation and refinement) are articulated to obtain a counterexample guided refinement abstraction (cegar) framework. This cegar framework allows to iterate over the abstract systems, returns a counterexample if the abstraction fails and uses such a counterexample for guiding the choice of the next abstraction. The introduced cegar algorithm is illustrated by verifying stability of an automatic gearbox and implemented in a software tool called Averist. Such an implementation provides empirical evidence of the correctness of the theoretical techniques. Some advantages of using Averist are that the input data can be easily defined by people with no experience in hybrid systems and running Averist does not require a formal knowledge on stability analysis.
[GoddeR17]
Model Checking the STL Time-Bounded Until on Hybrid Petri Nets Using Nef Polyhedra(Conference paper)- Authors:
- A. Godde; A. Remke
- Editors:
- P. Reinecke; A. Di Marco
- Date:
- 2017
- Publication:
- Computer Performance Engineering: Proceedings of the 14th European Workshop (EPEW 2017)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10497
- Pages:
- 101–116
- Publisher:
- Springer, Cham
- Location:
- Berlin, Germany
- ISBN:
- 978-3-319-66582-5 (Print) 978-3-319-66583-2 (Online)
Abstract
Hybrid Petri nets have been extended with so-called general transitions, which add one random variable and one dimension to the underlying state space for each firing of a general transition. We propose an algorithm for model checking the time-bounded until operator in hybrid Petri nets with two general transition firings, based on boolean-set operations on Nef polyhedra. A case study on (dis)-charging an electrical vehicle shows the feasibility of the approach. Results are validated against a simulation tool and computation times are compared.
[HulsSRA17]
Analyzing Hybrid Petri Nets with Multiple Stochastic Firings Using HyPro(Conference paper)- Authors:
- J. Hüls; S. Schupp; A. Remke; E. Ábrahám
- Editors:
- A. Marin; B. V. Houdt; G. Casale; D. C. Petriu; S. Rossi
- Date:
- 2017
- Publication:
- Proceedings of the 11th EAI International Conference on Performance Evaluation Methodologies and Tools
- Pages:
- 178–185
- Publisher:
- ACM Press, New York, USA
- Location:
- Venice Italy
Abstract
Two approaches have been presented for the analysis of HPnGs, (i) a tree-based approach and (ii) a state-space representation based on computational geometry. We present a translation of the tree-based representation into a geometric representation using the C++ library HyPro, which has been developed for the analysis of hybrid automata. This allows the representation and efficient and accurate analysis of HPnGs with multiple stochastic firings.
[JensenSV17]
Computing Tropical Prevarieties in Parallel(Conference paper)- Authors:
- A. Jensen; J. Sommars; J. Verschelde
- Editors:
- J.-C. Faugère; M. B. Monagan; H.-W. Loidl
- Date:
- 2017
- Publication:
- Proceedings of the International Workshop on Parallel Symbolic Computation
- Pages:
- 9:1–9:8
- Publisher:
- ACM Press, New York, USA
- Location:
- Kaiserslautern Germany
- ISBN:
- 978-1-4503-5288-8
Abstract
The computation of the tropical prevariety is the first step in the application of polyhedral methods to compute positive dimensional solution sets of polynomial systems. In particular, pretropisms are candidate leading exponents for the power series developments of the solutions. The computation of the power series may start as soon as one pretropism is available, so our parallel computation of the tropical prevariety has an application in a pipelined solver. We present a parallel implementation of dynamic enumeration. Our first distributed memory implementation with forked processes achieved good speedups, but quite often resulted in large variations in the execution times of the processes. The shared memory multithreaded version applies work stealing to reduce the variability of the run time. Our implementation applies the thread safe Parma Polyhedral Library (PPL), in exact arithmetic with the GNU Multiprecision Arithmetic Library (GMP), aided by the fast memory allocations of TCMalloc. Our parallel implementation is capable of computing the tropical prevariety of the cyclic 16-roots problem. We also report on computational experiments on the -body and -vortex problems; our computational results compare favorably with Gfan.
[JoswigL17]
Software(Book chapter)- Authors:
- M. Joswig; B. Lorenz
- Editors:
- J. E. Goodman; J. O'Rourke; C. D. Tóth
- Date:
- 2017
- Publication:
- Handbook of Discrete and Computational Geometry
- Pages:
- 1779–1798
- Publisher:
- CRC Press
- Location:
- Boca Raton, FL, USA
- Edition:
- Third
- Chapter:
- 67
- ISBN:
- 978-1-4987-1139-5
[Jourdan17]
Sparsity Preserving Algorithms for Octagons(Article)- Authors:
- J.-H. Jourdan
- Date:
- 2017
- Publication:
- Electronic Notes in Theoretical Computer Science
- Volume:
- 331
- Pages:
- 57–70
- Publisher:
- Elsevier
- ISSN:
- 1571-0661
Abstract
Known algorithms for manipulating octagons do not preserve their sparsity, leading typically to quadratic or cubic time and space complexities even if no relation among variables is known when they are all bounded. In this paper, we present new algorithms, which use and return octagons represented as weakly closed difference bound matrices, preserve the sparsity of their input and have better performance in the case their inputs are sparse. We prove that these algorithms are as precise as the known ones.
[JovanovicKNP17]
Symbolic Optimal Expected Time Reachability Computation and Controller Synthesis for Probabilistic Timed Automata(Article)- Authors:
- A. Jovanović; M. Kwiatkowska; G. Norman; Q. Peyras
- Date:
- 2017-03
- Publication:
- Theoretical Computer Science
- Volume:
- 669
- Pages:
- 1–21
- Publisher:
- Elsevier
- ISSN:
- 0304-3975
Abstract
In this paper we consider the problem of computing the optimal (minimum or maximum) expected time to reach a target and the synthesis of an optimal controller for a probabilistic timed automaton (PTA). Although this problem admits solutions that employ the digital clocks abstraction or statistical model checking, symbolic methods based on zones and priced zones fail due to the difficulty of incorporating probabilistic branching in the context of dense time. We work in a generalisation of the setting introduced by Asarin and Maler for the corresponding problem for timed automata, where simple and nice functions are introduced to ensure finiteness of the dense-time representation. We find restrictions sufficient for value iteration to converge to the optimal expected time on the uncountable Markov decision process representing the semantics of a PTA. We formulate Bellman operators on the backwards zone graph of a PTA and prove that value iteration using these operators equals that computed over the PTA's semantics. This enables us to extract an -optimal controller from value iteration in the standard way.
[KafleG17]
Horn Clause Verification with Convex Polyhedral Abstraction and Tree Automata-Based Refinement(Article)- Authors:
- B. Kafle; J. P. Gallagher
- Date:
- 2017-01
- Publication:
- Computer Languages, Systems & Structures
- Volume:
- 47
- Pages:
- 2–18
- Publisher:
- Elsevier
- ISSN:
- 1477-8424
Abstract
In this paper we apply tree-automata techniques to refinement of abstract interpretation in Horn clause verification. We go beyond previous work on refining trace abstractions; firstly we handle tree automata rather than string automata and thereby can capture traces in any Horn clause derivations rather than just transition systems; secondly, we show how algorithms manipulating tree automata interact with abstract interpretations, establishing progress in refinement and generating refined clauses that eliminate causes of imprecision. We show how to derive a refined set of Horn clauses in which given infeasible traces have been eliminated, using a recent optimised algorithm for tree automata determinisation. We also show how we can introduce disjunctive abstractions selectively by splitting states in the tree automaton. The approach is independent of the abstract domain and constraint theory underlying the Horn clauses. Experiments using linear constraint problems and the abstract domain of convex polyhedra show that the refinement technique is practical and that iteration of abstract interpretation with tree automata-based refinement solves many challenging Horn clause verification problems. We compare the results with other state-of-the-art Horn clause verification tools.
[KoppeZ17]
New Computer-Based Search Strategies for Extreme Functions of the Gomory–Johnson Infinite Group Problem(Article)- Authors:
- M. Köppe; Y. Zhou
- Date:
- 2017
- Publication:
- Mathematical Programming Computation
- Volume:
- 9
- Issue:
- 3
- Pages:
- 419–469
- Publisher:
- Springer
- ISSN:
- 1867-2949
Abstract
We describe new computer-based search strategies for extreme functions for the Gomory–Johnson infinite group problem. They lead to the discovery of new extreme functions, whose existence settles several open questions.
[KwiatkowskaNP17]
Symbolic Verification and Strategy Synthesis for Linearly-Priced Probabilistic Timed Automata(Book chapter)- Authors:
- M. Kwiatkowska; G. Norman; D. Parker
- Editors:
- L. Aceto; G. Bacci; G. Bacci; A. Ingólfsdóttir; A. Legay; R. Mardare
- Date:
- 2017
- Publication:
- Models, Algorithms, Logics and Tools
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10460
- Pages:
- 289–309
- Publisher:
- Springer, Cham
- ISBN:
- 978-3-319-63120-2 (Print) 978-3-319-63121-9 (Online)
Abstract
Probabilistic timed automata are a formalism for modelling systems whose dynamics includes probabilistic, nondeterministic and timed aspects including real-time systems. A variety of techniques have been proposed for the analysis of this formalism and successfully employed to analyse, for example, wireless communication protocols and computer security systems. Augmenting the model with prices (or, equivalently, costs or rewards) provides a means to verify more complex quantitative properties, such as the expected energy usage of a device or the expected number of messages sent during a protocol's execution. However, the analysis of these properties on probabilistic timed automata currently relies on a technique based on integer discretisation of real-valued clocks, which can be expensive in some cases. In this paper, we propose symbolic techniques for verification and optimal strategy synthesis for priced probabilistic timed automata which avoid this discretisation. We build upon recent work for the special case of expected time properties, using value iteration over a zone-based abstraction of the model.
[Li17]
Termination of Semi-Algebraic Loop Programs(Conference paper)- Authors:
- Y. Li
- Editors:
- K. G. Larsen; O. Sokolsky; J. Wang
- Date:
- 2017
- Publication:
- Dependable Software Engineering. Theories, Tools, and Applications: Proceedings of the Third International Symposium (SETTA 2017)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10606
- Pages:
- 131–146
- Publisher:
- Springer, Cham
- Location:
- Changsha, China
- ISBN:
- 978-3-319-69482-5 (Print) 978-3-319-69483-2 (Online)
Abstract
Program termination is a fundamental research topic in program analysis. In this paper, we investigate the termination of a class of semi-algebraic loop programs. We relate the termination of such a loop program to a certain semi-algebraic system. Also, we show that under some conditions, such a loop program does not terminate over the reals if and only if its corresponding semi-algebraic system has a real solution.
[LiBCR17]
Semantic-Directed Clumping of Disjunctive Abstract States(Conference paper)- Authors:
- H. Li; F. Berenger; B.-Y. E. Chang; X. Rival
- Editors:
- G. Castagna; A. D. Gordon
- Date:
- 2017
- Publication:
- Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages
- Pages:
- 32–45
- Publisher:
- ACM Press, New York, USA
- Location:
- Paris France
- ISBN:
- 978-1-4503-4660-3
Abstract
To infer complex structural invariants, shape analyses rely on expressive families of logical properties. Many such analyses manipulate abstract memory states that consist of separating conjunctions of basic predicates describing atomic blocks or summaries. Moreover, they use finite disjunctions of abstract memory states in order to account for dissimilar shapes. Disjunctions should be kept small for scalability, though precision often requires keeping additional case splits. In this context, deciding when and how to merge case splits and to replace them with summaries is critical both for precision and efficiency. Existing techniques use sets of syntactic rules, which are tedious to design and prone to failure. In this paper, we design a semantic criterion to clump abstract states based on their silhouette, which applies not only to the conservative union of disjuncts but also to the weakening of separating conjunctions of memory predicates into inductive summaries. Our approach allows us to define union and widening operators that aim at preserving the case splits that are required for the analysis to succeed. We implement this approach in the MemCAD analyzer and evaluate it on real-world C codes from existing libraries dealing with doubly-linked lists, red-black trees, AVL-trees and splay-trees.
[MarechalMP17]
Scalable Minimizing-Operators on Polyhedra via Parametric Linear Programming(Conference paper)- Authors:
- A. Maréchal; D. Monniaux; M. Périn
- Editors:
- F. Ranzato
- Date:
- 2017
- Publication:
- Static Analysis: Proceedings of the 24th International Symposium (SAS 2017)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10422
- Pages:
- 212–231
- Publisher:
- Springer, Cham
- Location:
- New York, NY, USA
- ISBN:
- 978-3-319-66705-8 (Print) 978-3-319-66706-5 (Online)
Abstract
Convex polyhedra capture linear relations between variables. They are used in static analysis and optimizing compilation. Their high expressiveness is however barely used in verification because of their cost, often prohibitive as the number of variables involved increases. Our goal in this article is to lower this cost. Whatever the chosen representation of polyhedra – as constraints, as generators or as both – expensive operations are unavoidable. That cost is mostly due to four operations: conversion between representations, based on Chernikova's algorithm, for libraries in double description; convex hull, projection and minimization, in the constraints-only representation of polyhedra. Libraries operating over generators incur exponential costs on cases common in program analysis. In the Verimag Polyhedra Library this cost was avoided by a constraints-only representation and reducing all operations to variable projection, classically done by Fourier-Motzkin elimination. Since Fourier-Motzkin generates many redundant constraints, minimization was however very expensive. In this article, we avoid this pitfall by expressing projection as a parametric linear programming problem. This dramatically improves efficiency, mainly because it avoids the post-processing minimization. We show how our new approach can be up to orders of magnitude faster than the previous approach implemented in the Verimag Polyhedra Library that uses only constraints and Fourier-Motzkin elimination, and on par with the conventional double description approach, as implemented in well-known libraries.
[MarechalP17]
Efficient Elimination of Redundancies in Polyhedra by Raytracing(Conference paper)- Authors:
- A. Maréchal; M. Périn
- Editors:
- A. Bouajjani; D. Monniaux
- Date:
- 2017
- Publication:
- Verification, Model Checking, and Abstract Interpretation: Proceedings of the 18th International Conference (VMCAI 2017)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10145
- Pages:
- 367–385
- Publisher:
- Springer, Cham
- Location:
- Paris, France
- ISBN:
- 978-3-319-52233-3 (Print) 978-3-319-52234-0 (Online)
Abstract
A polyhedron can be represented as constraints, generators or both in the double description framework. Whatever the representation, most polyhedral operators spend a significant amount of time to maintain minimal representations. To minimize a polyhedron in constraints-only representation, the redundancy of each constraint must be checked with respect to others by solving a linear programming (lp) problem. We present an algorithm that replaces most lp problem resolutions by distance computations. It consists in launching rays starting from a point within the polyhedron and orthogonal to its bounding hyperplanes. A face first encountered by one of these rays is an irredundant constraint of the polyhedron. Since this procedure is incomplete, lp problem resolutions are required for the remaining undetermined constraints. Experiments show that our algorithm drastically reduces the number of calls to the simplex, resulting in a considerable speed improvement. To follow the geometric interpretation, the algorithm is explained in terms of constraints but it can also be used to minimize generators.
[Mine17]
Tutorial on Static Inference of Numeric Invariants by Abstract Interpretation(Article)- Authors:
- A. Miné
- Date:
- 2017
- Publication:
- Foundations and Trends® in Programming Languages
- Volume:
- 4
- Issue:
- 3–4
- Pages:
- 120–372
- Publisher:
- Emerald
- ISSN:
- 2325-1107
Abstract
Born in the late 70s, Abstract Interpretation has proven an effective method to construct static analyzers. It has led to successful program analysis tools routinely used in avionic, automotive, and space industries to help ensuring the correctness of mission-critical software. This tutorial presents Abstract Interpretation and its use to create static analyzers that infer numeric invariants on programs. We first present the theoretical bases of Abstract Interpretation: how to assign a well-defined formal semantics to programs, construct computable approximations to derive effective analyzers, and ensure soundness, i.e., any property derived by the analyzer is true of all actual executions — although some properties may be missed due to approximations, a necessary compromise to keep the analysis automatic, sound, and terminating when inferring uncomputable properties. We describe the classic numeric abstractions readily available to an analysis designer: intervals, polyhedra, congruences, octagons, etc., as well as domain combiners: the reduced product and various disjunctive completions. This tutorial focuses not only on the semantic aspect, but also on the algorithmic one, providing a description of the data-structures and algorithms necessary to effectively implement all our abstractions. We will encounter many trade-offs between cost on the one hand, and precision and expressiveness on the other hand. Invariant inference is formalized on an idealized, toy-language, manipulating perfect numbers, but the principles and algorithms we present are effectively used in analyzers for real industrial programs, although this is out of the scope of this tutorial. This tutorial is intended as an entry course in Abstract Interpretation, after which the reader should be ready to read the research literature on current advances in Abstract Interpretation and on the design of static analyzers for real languages.
[ParquierRHSRLA17]
Applying Parametric Model-Checking Techniques for Reusing Real-Time Critical Systems(Conference paper)- Authors:
- B. Parquier; L. Rioux; R. Henia; R. Soulat; O. H. Roux; D. Lime; É. André
- Editors:
- C. Artho; P. C. Ölveczky
- Date:
- 2017
- Publication:
- Formal Techniques for Safety-Critical Systems: Proceedings of the 5th International Workshop (FTSCS 2016)
- Series:
- Communications in Computer and Information Science
- Volume:
- 694
- Pages:
- 129–144
- Publisher:
- Springer, Cham
- Location:
- Tokyo, Japan
- ISBN:
- 978-3-319-53945-4 (Print) 978-3-319-53946-1 (Online)
Abstract
Due to the increase of complexity in real-time safety-critical systems, verification and validation costs have significantly increased. A straightforward way to reduce costs is to reuse existing systems, adapting them to new requirements, so as to avoid new costly developments. Our aim is to verify during the development strategy definition phase whether the existing products can be reused and adapted for a new customer, by identifying key parameters to be tuned in order to reuse existing products. Performing efficient verification is therefore crucial. In this paper, we focus on the performance requirement aspects. Nowadays , model-checking techniques have improved significantly to verify the performances of real-time systems. However, model-checking cannot address real-time systems where some timing constants are unknown or uncertain. Parametric model-checking leverage this shortcoming by identifying parameter ranges for which the system is correct. We report here on an experiment of the evaluation of the use of these formal techniques applied to automatize the synthesis of good parameter ranges for system reuse in the setting of the environment requirements for an aerial video tracking system.
[Perry17]
Exploring the Dynamic Buchberger Algorithm(Conference paper)- Authors:
- J. Perry
- Editors:
- M. A. Burr; C. K. Yap; M. S. E. Din
- Date:
- 2017
- Publication:
- Proceedings of the 2017 ACM International Symposium on Symbolic and Algebraic Computation
- Pages:
- 365–372
- Publisher:
- ACM Press, New York, USA
- Location:
- Kaiserslautern Germany
- ISBN:
- 978-1-4503-5064-8
Abstract
“Static” Buchberger algorithms to compute a Gröbner basis require as input both a set of polynomials and a term ordering. “Dynamic” Buchberger algorithms do not require an ordering as input, but compute instead a Gröbner basis with respect to a “discovered” ordering. A good heuristic usually results in a basis that is relatively small, a desirable property for many applications. This article uses a new C++ implementation to explore variants of the original algorithm. While the implementation is preliminary, and in general much slower than well-known static implementations, it still succeeds at computing some bases more quickly.
[RodriguezV-P17]
On Finite Linear Systems Containing Strict Inequalities(Article)- Authors:
- M. M. L. Rodríguez; J. Vicente-Pérez
- Date:
- 2017
- Publication:
- Journal of Optimization Theory and Applications
- Volume:
- 173
- Issue:
- 1
- Pages:
- 131–154
- Publisher:
- Springer
- ISSN:
- 0022-3239
Abstract
This paper deals with linear systems containing finitely many weak and/or strict inequalities, whose solution sets are referred to as evenly convex polyhedral sets. The classical Motzkin theorem states that every (closed and convex) polyhedron is the Minkowski sum of a convex hull of finitely many points and a finitely generated cone. In this sense, similar representations for evenly convex polyhedra have been recently given by using the standard version for classical polyhedra. In this work, we provide a new dual tool that completely characterizes finite linear systems containing strict inequalities and it constitutes the key for obtaining a generalization of Motzkin theorem for evenly convex polyhedra.
[RoohiPV17]
HARE: A Hybrid Abstraction Refinement Engine for Verifying Non-Linear Hybrid Automata(Conference paper)- Authors:
- N. Roohi; P. Prabhakar; M. Viswanathan
- Editors:
- A. Legay; T. Margaria
- Date:
- 2017
- Publication:
- Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 23rd International Conference (TACAS 2017), Part I
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10205
- Pages:
- 573–588
- Publisher:
- Springer-Verlag, Berlin
- Location:
- Uppsala, Sweden
- ISBN:
- 978-3-662-54576-8 (Print) 978-3-662-54577-5 (Online)
Abstract
HARE (Hybrid Abstraction-Refinement Engine) is a counterexample guided abstraction-refinement (CEGAR) based tool to verify safety properties of hybrid automata, whose continuous dynamics in each mode is non-linear, but initial values, invariants, and transition relations are specified using polyhedral constraints. HARE works by abstracting non-linear hybrid automata into hybrid automata with polyhedral inclusion dynamics, and uses dReach to validate counterexamples. We show that the CEGAR framework forming the theoretical basis of HARE, makes provable progress in each iteration of the abstraction-refinement loop. The current HARE tool is a significant advance on previous versions of HARE —it considers a richer class of abstract models (polyhedral flows as opposed to rectangular flows), and can be applied to a larger class of concrete models (non-linear hybrid automata as opposed to affine hybrid automata). These advances have led to better performance results for a wider class of examples. We report an experimental comparison of HARE against other state of the art tools for affine models (SpaceEx, PHAVer, and SpaceEx AGAR) and non-linear models (FLOW, HSolver, and C2E2).
[SharmaR17]
Sound Bit-Precise Numerical Domains(Conference paper)- Authors:
- T. Sharma; T. Reps
- Editors:
- A. Bouajjani; D. Monniaux
- Date:
- 2017
- Publication:
- Verification, Model Checking, and Abstract Interpretation: Proceedings of the 18th International Conference (VMCAI 2017)
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10145
- Pages:
- 500–520
- Publisher:
- Springer, Cham
- Location:
- Paris, France
- ISBN:
- 978-3-319-52233-3 (Print) 978-3-319-52234-0 (Online)
Abstract
This paper tackles the challenge of creating a numerical abstract domain that can identify affine-inequality invariants while handling overflow in arithmetic operations over bit-vector data-types. The paper describes the design and implementation of a class of new abstract domains, called the Bit-Vector-Sound, Finite-Disjunctive () domains. We introduce a framework that takes an abstract domain that is sound with respect to mathematical integers and creates an abstract domain whose operations and abstract transformers are sound with respect to machine integers. We also describe how to create abstract transformers for that are sound with respect to machine arithmetic. The abstract transformers make use of an operation —where and is a set of program variables—which performs wraparound in for the variables in . To reduce the loss of precision from , we use finite disjunctions of values. The constructor of finite-disjunctive domains, , is parameterized by , the maximum number of disjunctions allowed. We instantiate the framework using the abstract domain of polyhedra and octagons. Our experiments show that the analysis can prove of the assertions in the SVCOMP loop benchmarks with , and of the array-bounds checks in the SVCOMP array benchmarks with .
[SinghPV17]
Fast Polyhedra Abstract Domain(Conference paper)- Authors:
- G. Singh; M. Püschel; M. Vechev
- Editors:
- G. Castagna; A. D. Gordon
- Date:
- 2017
- Publication:
- Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages
- Pages:
- 46–59
- Publisher:
- ACM Press, New York, USA
- Location:
- Paris France
- ISBN:
- 978-1-4503-4660-3
Abstract
Numerical abstract domains are an important ingredient of modern static analyzers used for verifying critical program properties (e.g., absence of buffer overflow or memory safety). Among the many numerical domains introduced over the years, Polyhedra is the most expressive one, but also the most expensive: it has worst-case exponential space and time complexity. As a consequence, static analysis with the Polyhedra domain is thought to be impractical when applied to large scale, real world programs. In this paper, we present a new approach and a complete implementation for speeding up Polyhedra domain analysis. Our approach does not lose precision, and for many practical cases, is orders of magnitude faster than state-of-the-art solutions. The key insight underlying our work is that polyhedra arising during analysis can usually be kept decomposed, thus considerably reducing the overall complexity. We first present the theory underlying our approach, which identifies the interaction between partitions of variables and domain operators. Based on the theory we develop new algorithms for these operators that work with decomposed polyhedra. We implemented these algorithms using the same interface as existing libraries, thus enabling static analyzers to use our implementation with little effort. In our evaluation, we analyze large benchmarks from the popular software verification competition, including Linux device drivers with over 50K lines of code. Our experimental results demonstrate massive gains in both space and time: we show end-to-end speedups of two to five orders of magnitude compared to state-of-the-art Polyhedra implementations as well as significant memory gains, on all larger benchmarks. In fact, in many cases our analysis terminates in seconds where prior code runs out of memory or times out after 4 hours. We believe this work is an important step in making the Polyhedra abstract domain both feasible and practically usable for handling large, real-world programs.
[SinnZV17]
Complexity and Resource Bound Analysis of Imperative Programs Using Difference Constraints(Article)- Authors:
- M. Sinn; F. Zuleger; H. Veith
- Date:
- 2017
- Publication:
- Journal of Automated Reasoning
- Volume:
- 59
- Issue:
- 1
- Pages:
- 3–45
- Publisher:
- Springer
- ISSN:
- 0168-7433
Abstract
Difference constraints have been used for termination analysis in the literature, where they denote relational inequalities of the form , and describe that the value of in the current state is at most the value of in the previous state plus some constant . We believe that difference constraints are also a good choice for complexity and resource bound analysis because the complexity of imperative programs typically arises from counter increments and resets, which can be modeled naturally by difference constraints. In this article we propose a bound analysis based on difference constraints. We make the following contributions: (1) our analysis handles bound analysis problems of high practical relevance which current approaches cannot handle: we extend the range of bound analysis to a class of challenging but natural loop iteration patterns which typically appear in parsing and string-matching routines. (2) We advocate the idea of using bound analysis to infer invariants: our soundness proven algorithm obtains invariants through bound analysis, the inferred invariants are in turn used for obtaining bounds. Our bound analysis therefore does not rely on external techniques for invariant generation. (3) We demonstrate that difference constraints are a suitable abstract program model for automatic complexity and resource bound analysis: we provide efficient abstraction techniques for obtaining difference constraint programs from imperative code. (4) We report on a thorough experimental comparison of state-of-the-art bound analysis tools: we set up a tool comparison on (a) a large benchmark of real-world C code, (b) a benchmark built of examples taken from the bound analysis literature and (c) a benchmark of challenging iteration patterns which we found in real source code. (5) Our analysis is more scalable than existing approaches: we discuss how we achieve scalability.
[SubramaniW17]
A Combinatorial Certifying Algorithm for Linear Feasibility in UTVPI Constraints(Article)- Authors:
- K. Subramani; P. Wojciechowski
- Date:
- 2017-05
- Publication:
- Algorithmica
- Volume:
- 78
- Issue:
- 1
- Pages:
- 166–208
- Publisher:
- Springer
- ISSN:
- 0178-4617
Abstract
In this paper, we discuss a new combinatorial certifying algorithm for the problem of checking linear feasibility in Unit Two Variable Per Inequality (UTVPI) constraints. A UTVPI constraint has at most two non-zero variables and the coefficients of the non-zero variables belong to the set . These constraints occur in a number of application domains, including but not limited to program verification, abstract interpretation, and operations research. The proposed algorithm runs in time and space on a UTVPI system with variables and constraints. Observe that these resource bounds match the bounds of the fastest strongly polynomial algorithm for difference constraints. Inasmuch as UTVPI constraints subsume difference constraints, it is clear that the resource requirements of our algorithm are optimal. Additionally, our algorithm is certifying, in that it produces a satisfying assignment when presented with a feasible instance, and a refutation, otherwise. At the heart of our algorithm is a new constraint network representation for UTVPI constraints.
[WojciechowskiCS17]
On a Generalization of Horn Constraint Systems(Conference paper)- Authors:
- P. Wojciechowski; R. Chandrasekaran; K. Subramani
- Editors:
- P. Weil
- Date:
- 2017
- Publication:
- Computer Science – Theory and Applications
- Series:
- Lecture Notes in Computer Science
- Volume:
- 10304
- Pages:
- 323–336
- Publisher:
- Springer, Cham
- Location:
- Kazan, Russia
- ISBN:
- 978-3-319-58746-2 (Print) 978-3-319-58747-9 (Online)
Abstract
In this paper, we study linear constraint systems in which each constraint is a fractional Horn constraint. A constraint is fractional horn, if it can be written in the form: , where the and c are integral, and at most one of the and all negative are equal to . A conjunction of fractional Horn constraints is called a Fractional Horn Systems (FHS). FHSs generalize a number of specialized constraint systems such as Difference Constraint Systems and Horn Constraint Systems. We show that the problem of checking linear feasibility in these systems is in P, whereas the problem of checking lattice point feasibility is NP-complete. We then study a sub-class of fractional horn systems called Binary fractional horn systems (BFHS) in which each constraint has at most two non-zero coefficients with at most one being positive. In this case, we show that the problem of lattice point feasibility is in P.