Skip to Content

PPL citations from 2020

All citation years and BibTeX download

[AllamigeonKS20]
Formalizing the Face Lattice of Polyhedra(Conference paper)
Authors:
X. Allamigeon; R. D. Katz; P.-Y. Strub
Editors:
N. Peltier; V. Sofronie-Stokkermans
Date:
2020
Publication:
Automated Reasoning: Proceedings of the 10th International Joint Conference (IJCAR 2020), Part II
Series:
Lecture Notes in Computer Science
Volume:
12167
Pages:
185–203
Publisher:
Springer, Cham
Location:
Paris, France
ISBN:
978-3-030-51053-4 (Print) 978-3-030-51054-1 (Online)
Abstract
Faces play a central role in the combinatorial and computational aspects of polyhedra. In this paper, we present the first formalization of faces of polyhedra in the proof assistant Coq. This builds on the formalization of a library providing the basic constructions and operations over polyhedra, including projections, convex hulls and images under linear maps. Moreover, we design a special mechanism which automatically introduces an appropriate representation of a polyhedron or a face, depending on the context of the proof. We demonstrate the usability of this approach by establishing some of the most important combinatorial properties of faces, namely that they constitute a family of graded atomistic and coatomistic lattices closed under sublattices.
[AndreTCLSLD20]
Automated Synthesis of Local Time Requirement for Service Composition(Article)
Authors:
É. André; T. H. Tan; M. Chen; S. Liu; J. Sun; Y. Liu; J. S. Dong
Date:
2020
Publication:
Software and Systems Modeling
Volume:
19
Issue:
4
Pages:
983–1013
Publisher:
Springer
ISSN:
1619-1366
Abstract
Service composition aims at achieving a business goal by composing existing service-based applications or components. The response time of a service is crucial especially in time critical business environments, which is often stated as a clause in service level agreements between service providers and service users. To meet the guaranteed response time requirement of a composite service, it is important to select a feasible set of component services such that their response time will collectively satisfy the response time requirement of the composite service. In this work, we use the BPEL modeling language, that aims at specifying Web services. We extend it with timing parameters, and equip it with a formal semantics. Then, we propose a fully automated approach to synthesize the response time requirement of component services modeled using BPEL, in the form of a constraint on the local response times. The synthesized requirement will guarantee the satisfaction of the global response time requirement, statically or dynamically. We implemented our work into a tool, Selamat, and performed several experiments to evaluate the validity of our approach.
[BecchiZ20]
PPLite: Zero-Overhead Encoding of NNC Polyhedra(Article)
Authors:
A. Becchi; E. Zaffanella
Date:
2020-12
Publication:
Information and Computation
Volume:
275
Pages:
104620
Publisher:
Elsevier
ISSN:
0890-5401
Abstract
We present an alternative Double Description representation for the domain of NNC (not necessarily closed) polyhedra, together with the corresponding Chernikova-like conversion procedure. The representation uses no slack variable at all and provides a solution to a few technical issues caused by the encoding of an NNC polyhedron as a closed polyhedron in a higher dimension space. We then reconstruct the abstract domain of NNC polyhedra, providing all the operators needed to interface it with commonly available static analysis tools: while doing this, we highlight the efficiency gains enabled by the new representation and we show how the canonicity of the new representation allows for the specification of proper, semantic widening operators. A thorough experimental evaluation shows that our new abstract domain achieves significant efficiency improvements with respect to classical implementations for NNC polyhedra.
[Ben-AmramH20]
Tight Polynomial Worst-Case Bounds for Loop Programs(Article)
Authors:
A. M. Ben-Amram; G. Hamilton
Date:
2020
Publication:
Logical Methods in Computer Science
Volume:
16
Issue:
2
Pages:
4:1–4:39
Publisher:
Logical Methods in Computer Science
Abstract
In 2008, Ben-Amram, Jones and Kristiansen showed that for a simple programming language—representing non-deterministic imperative programs with bounded loops, and arithmetics limited to addition and multiplication—it is possible to decide precisely whether a program has certain growth-rate properties, in particular whether a computed value, or the program's running time, has a polynomial growth rate. A natural and intriguing problem was to move from answering the decision problem to giving a quantitative result, namely, a tight polynomial upper bound. This paper shows how to obtain asymptotically-tight, multivariate, disjunctive polynomial bounds for this class of programs. This is a complete solution: whenever a polynomial bound exists it will be found. A pleasant surprise is that the algorithm is quite simple; but it relies on some subtle reasoning. An important ingredient in the proof is the forest factorization theorem, a strong structural result on homomorphisms into a finite monoid.
[Boutonnet20th]
Analyse modulaire de propriétés numériques par interprétation abstraite(PhD thesis)
Authors:
R. Boutonnet
Date:
2020-03
Location:
Grenoble, France
School:
Université Grenoble Alpes
Abstract
Any software bug or device malfunction in safety-critical systems can have catastrophic consequences. The validation and analysis of programs in critical systems is of paramount importance to guarantee that the software satisfies its specification and that it is devoided of runtime errors. Static program analysis by abstract interpretation computes a sound approximation of the set of reachable states of a program. It discovers invariant properties of programs which are represented by elements of an abstract domain. Most industrial static analysis tools do not use expressive relational numerical abstract domains like convex polyhedra due to their computational cost. We propose a new modular analysis for the automatic discovery of numerical properties based on the computation of disjunctive relational summaries of procedures. Procedure summaries are computed once and for all, and used to compute the effect of procedure calls, in a bottom-up fashion. Our approach is especially applied to improve the scalability of Linear Relation Analysis, or abstract interpretation with convex polyhedra, although it is based on a more general framework usable with any relational abstract domain. Disjunctive relational summaries are finite sets of abstract input-output relations represented by elements of a relational abstract domain. They are computed based on a partitioning of procedure preconditions. We give heuristics to compute an abstract partition of a procedure precondition. We also give ways to improve the precision of summary computation, notably through a careful treatment of preconditions during analysis. Our approach also applies to recursive procedures where summaries are computed recursively in terms of themselves. We implemented our approach in a new static analysis platform for C programs called mars. We conducted experiments on programs from the Mälardalen benchmark showing that our approach can significantly reduce the analysis time for Linear Relation Analysis compared to a full context-sensitive analysis where procedures are analyzed completely in each call context. Analysis precision is not significantly damaged and can even be improved due to the use of disjunction. In a second part, we present an approach for the modular analysis of reactive systems for numerical properties. We propose a flexible representation of the behavior of reactive components called Relational Mode Automata (RMA), which allows the analysisof reactive systems behavior at various levels of abstraction. RMA can be constructed automatically from disjunctive summaries of the procedures implementing component reactions. The analysis results of individual components using RMA can be reused to analyze larger reactive systems with multiple component instantiations in a modular way. We give an application of this approach to the analysis of a simplified automated subway control system.
[BrunoB20TR]
Introduction to Nonlinear Analysis of Algebraic Equations(Technical report)
Authors:
A. D. Bruno; A. B. Batkhin
Date:
2020
Report number:
87
Location:
Moscow, Russia
Institution:
Keldysh Institute of Applied Mathematics, Russian Academy of Sciences
Publication type:
Preprint
In Russian.
Abstract
Here we demonstrate two simplest methods of solution of polynomial equations, based on constructing a convex polygon. The first method allows to find approximate roots of a polynomial by means of the Hadamard polygon. The second one allows to compute branches of an algebraic curve near its singular point and near infinity by means of the Newton polygon and to draw sketches of real algebraic curves in the plane. Computer algebra algorithms are specified, which essentially simplify these calculations.
[BuAAMRWZ20]
ARCH-COMP20 Category Report: Hybrid Systems with Piecewise Constant Dynamics and Bounded Model Checking(Conference paper)
Authors:
L. Bu; A. Abate; D. Adzkiya; M. S. Mufid; R. Ray; Y. Wu; E. Zaffanella
Editors:
G. Frehse; M. Althoff
Date:
2020
Publication:
Proceedings of the 7th International Workshop on Applied Verification of Continuous and Hybrid Systems (ARCH20)
Series:
EPiC Series in Computing
Volume:
74
Pages:
1–15
Publisher:
EasyChair
Abstract
This report presents the results of a friendly competition for formal verification of continuous and hybrid systems with piecewise constant dynamics. The friendly competition took place as part of the workshop Applied Verification for Continuous and Hybrid Systems (ARCH) in 2020. In this fourth edition, five tools have been applied to solve six different benchmark problems in the category for piecewise constant dynamics: BACH, PHAVerLite, PHAVer/SX, TROPICAL, and XSpeed. Compared to last year, we combine the HBMC and HPWC categories of ARCH-COMP 2019 to a new category PCDB (hybrid systems with Piecewise Constant bounds on the Dynamics (HPCD) and Bounded model checking (BMC) of HPCD systems). The result is a snapshot of the current landscape of tools and the types of benchmarks they are particularly suited for. Due to the diversity of problems, we are not ranking tools, yet the presented results probably provide the most complete assessment of tools for the safety verification of continuous and hybrid systems with piecewise constant dynamics up to this date.
[DemirtasMR-T20]
Bounding the Kreuzer-Skarke Landscape(Article)
Authors:
M. Demirtas; L. McAllister; A. Rios-Tascon
Date:
2020
Publication:
Fortschritte der Physik
Volume:
68
Issue:
11–12
Pages:
2000086
Publisher:
Wiley
ISSN:
0015-8208
Abstract
We study Calabi-Yau threefolds with large Hodge numbers by constructing and counting triangulations of reflexive polytopes. By counting points in the associated secondary polytopes, we show that the number of fine, regular, star triangulations of polytopes in the Kreuzer-Skarke list is bounded above by (14,111494)≈10928\binom{14,111}{494} \approx 10^{928}. Adapting a result of Anclin on triangulations of lattice polygons, we obtain a bound on the number of triangulations of each 2-face of each polytope in the list. In this way we prove that the number of topologically inequivalent Calabi-Yau hypersurfaces arising from the Kreuzer-Skarke list is bounded above by 1042810^{428}. We introduce efficient algorithms for constructing representative ensembles of Calabi-Yau hypersurfaces, including the extremal case h1,1=491h^{1,1}=491, and we study the distributions of topological and physical data therein. Finally, we demonstrate that neural networks can accurately predict these data once the triangulation is encoded in terms of the secondary polytope.
[FaellaS20]
Preferences over Rankings and How to Control Them Using Rewards(Conference paper)
Authors:
M. Faella; L. Sauro
Editors:
G. De Giacomo; A. Catalá; B. Dilkina; M. Milano; S. Barro; A. Bugarín; J. Lang
Date:
2020
Publication:
Proceedings of the 24th European Conference on Artificial Intelligence (ECAI 2020)
Series:
Frontiers in Artificial Intelligence and Applications
Volume:
325
Pages:
59–66
Publisher:
IOS Press
Location:
Santiago de Compostela, Spain
ISBN:
978-1-64368-101-6 978-1-64368-100-9
Abstract
We study the rational preferences of agents participating in a mechanism whose outcome is a weak order among participants. We propose a set of self-interest axioms and characterize the mutual relationships between all subsets thereof. We then assume that the mechanism can assign monetary rewards to the agents, in a way that is consistent with the weak order. We show that the mechanism can induce specific classes of preferences by suitably choosing the assigned rewards, even in the absence of tie breaking.
[FajardoGRV-P20]
Evenly Convex Polyhedra: Finite Linear Systems Containing Strict Inequalities(Book chapter)
Authors:
M. D. Fajardo; M. A. Goberna; M. M. L. Rodríguez; J. Vicente-Pérez
Date:
2020
Publication:
Even Convexity and Optimization
Series:
EURO Advanced Tutorials on Operational Research
Pages:
61–99
Publisher:
Springer, Cham
ISBN:
978-3-030-53455-4 (Print) 978-3-030-53456-1 (Online)
Abstract
This chapter is about linear systems containing finitely many weak and/or strict inequalities, whose solution sets, provided they are nonempty, are called evenly convex polyhedral sets (e-polyhedra, in brief). Of course, all results in Chap. 1 on e-convex sets and their linear representations are valid here, but the finiteness of the linear representations of e-polyhedra allows to obtain specific results and methods.
[GarciaSotoP20a]
Abstraction Based Verification of Stability of Polyhedral Switched Systems(Article)
Authors:
M. García Soto; P. Prabhakar
Date:
2020-05
Publication:
Nonlinear Analysis: Hybrid Systems
Volume:
36
Pages:
100856
Publisher:
Elsevier
ISSN:
1751-570X
Abstract
This paper presents a novel abstraction technique for analyzing Lyapunov and asymptotic stability of polyhedral switched systems. A polyhedral switched system is a hybrid system in which the continuous dynamics is specified by polyhedral differential inclusions, the invariants and guards are specified by polyhedral sets and the switching between the modes do not involve reset of variables. A finite state weighted graph abstracting the polyhedral switched system is constructed from a finite partition of the state–space, such that the satisfaction of certain graph conditions, such as the absence of cycles with product of weights on the edges greater than (or equal) to 1, implies the stability of the system. However, the graph is in general conservative and hence, the violation of the graph conditions does not imply instability. If the analysis fails to establish stability due to the conservativeness in the approximation, a counterexample (cycle with product of edge weights greater than or equal to 1) indicating a potential reason for the failure is returned. Further, a more precise approximation of the switched system can be constructed by considering a finer partition of the state–space in the construction of the finite weighted graph. We present experimental results on analyzing stability of switched systems using the above method.
[GarciaSotoP20b]
Hybridization for Stability Verification of Nonlinear Switched Systems(Conference paper)
Authors:
M. García Soto; P. Prabhakar
Date:
2020
Publication:
Proceedings of the IEEE Real-Time Systems Symposium (RTSS)
Pages:
244–256
Publisher:
IEEE Press
Location:
Houston, TX, USA
ISBN:
978-1-7281-8324-4
Abstract
We propose a novel hybridization method for stability analysis that over-approximates nonlinear dynamical systems by switched systems with linear inclusion dynamics. We observe that existing hybridization techniques for safety analysis that over-approximate nonlinear dynamical systems by switched affine inclusion dynamics and provide fixed approximation error, do not suffice for stability analysis. Hence, we propose a hybridization method that provides a state-dependent error which converges to zero as the state tends to the equilibrium point. The crux of our hybridization computation is an elegant recursive algorithm that uses partial derivatives of a given function to obtain upper and lower bound matrices for the over-approximating linear inclusion. We illustrate our method on some examples to demonstrate the application of the theory for stability analysis. In particular, our method is able to establish stability of a nonlinear system which does not admit a polynomial Lyapunov function.
[GrosserTFPKRSH20]
Fast Linear Programming Through Transprecision Computing on Small and Sparse Data(Article)
Authors:
T. Grosser; T. Theodoridis; M. Falkenstein; A. Pitchanathan; M. Kruse; M. Rigger; Z. Su; T. Hoefler
Date:
2020
Publication:
Proceedings of the ACM on Programming Languages
Volume:
4
Issue:
OOPSLA
Pages:
195:1–195:28
Publisher:
ACM Press, New York, USA
ISSN:
2475-1421
Abstract
A plethora of program analysis and optimization techniques rely on linear programming at their heart. However, such techniques are often considered too slow for production use. While today's best solvers are optimized for complex problems with thousands of dimensions, linear programming, as used in compilers, is typically applied to small and seemingly trivial problems, but to many instances in a single compilation run. As a result, compilers do not benefit from decades of research on optimizing large-scale linear programming. We design a simplex solver targeted at compilers. A novel theory of transprecision computation applied from individual elements to full data-structures provides the computational foundation. By carefully combining it with optimized representations for small and sparse matrices and specialized small-coefficient algorithms, we (1) reduce memory traffic, (2) exploit wide vectors, and (3) use low-precision arithmetic units effectively. We evaluate our work by embedding our solver into a state-of-the-art integer set library and implement one essential operation, coalescing, on top of our transprecision solver. Our evaluation shows more than an order-of-magnitude speedup on the core simplex pivot operation and a mean speedup of 3.2x (vs. GMP) and 4.6x (vs. IMath) for the optimized coalescing operation. Our results demonstrate that our optimizations exploit the wide SIMD instructions of modern microarchitectures effectively. We expect our work to provide foundations for a future integer set library that uses transprecision arithmetic to accelerate compiler analyses.
[HeH20]
Termination Analysis for Evolving Programs: An Incremental Approach by Reusing Certified Modules(Article)
Authors:
F. He; J. Han
Date:
2020
Publication:
Proceedings of the ACM on Programming Languages
Volume:
4
Issue:
OOPSLA
Pages:
199:1–199:27
Publisher:
ACM Press, New York, USA
ISSN:
2475-1421
Abstract
Research on program termination has a long tradition. However, most of the existing techniques target a single program only. We propose in this paper an incremental termination analysis approach by reusing certified modules across different program versions. A transformation-based procedure is further developed to increase the reusability of certified modules. The proposed approach has wide applicability, applicable to various program changes. The proposed technique, to the best of our knowledge, represents a novel attempt to the termination analysis of evolving programs. We implemented the approach on top of Ultimate Automizer. Experimental results show dramatic improvement of our approach over the state-of-the-art tool.
[HeSPV20]
Learning Fast and Precise Numerical Analysis(Conference paper)
Authors:
J. He; G. Singh; M. Püschel; M. Vechev
Editors:
A. F. Donaldson; E. Torlak
Date:
2020
Publication:
Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation
Pages:
1112–1127
Publisher:
ACM Press, New York, USA
Location:
London UK
ISBN:
978-1-4503-7613-6
Abstract
Numerical abstract domains are a key component of modern static analyzers. Despite recent advances, precise analysis with highly expressive domains remains too costly for many real-world programs. To address this challenge, we introduce a new data-driven method, called LAIT, that produces a faster and more scalable numerical analysis without significant loss of precision. Our approach is based on the key insight that sequences of abstract elements produced by the analyzer contain redundancy which can be exploited to increase performance without compromising precision significantly. Concretely, we present an iterative learning algorithm that learns a neural policy that identifies and removes redundant constraints at various points in the sequence. We believe that our method is generic and can be applied to various numerical domains. We instantiate LAIT for the widely used Polyhedra and Octagon domains. Our evaluation of LAIT on a range of real-world applications with both domains shows that while the approach is designed to be generic, it is orders of magnitude faster on the most costly benchmarks than a state-of-the-art numerical library while maintaining close-to-original analysis precision. Further, LAIT outperforms hand-crafted heuristics and a domain-specific learning approach in terms of both precision and speed.
[HulsNR20]
Hpnmg: A C++ Tool for Model Checking Hybrid Petri Nets with General Transitions(Conference paper)
Authors:
J. Hüls; H. Niehaus; A. Remke
Editors:
R. Lee; S. Jha; A. Mavridou; D. Giannakopoulou
Date:
2020
Publication:
NASA Formal Methods: Proceedings of the 12th International Symposium (NFM 2020)
Series:
Lecture Notes in Computer Science
Volume:
12229
Pages:
369–378
Publisher:
Springer, Cham
Location:
Moffett Field, CA, USA
ISBN:
978-3-030-55753-9 (Print) 978-3-030-55754-6 (Online)
Abstract
hpnmg is a tool for model checking Hybrid Petri nets with an arbitrary but finite number of general transition firings against specifications formulated in STL. The tool efficiently implements and combines algorithms for state space creation, transformation to a geometric representation, model checking a potentially nested STL formula and integrating over the resulting satisfaction set to yield the probability that the specification holds at a specific time.
[IzychevaDS20]
Counterexample- and Simulation-Guided Floating-Point Loop Invariant Synthesis(Conference paper)
Authors:
A. Izycheva; E. Darulova; H. Seidl
Editors:
D. Pichardie; M. Sighireanu
Date:
2020
Publication:
Static Analysis: Proceedings of the 27th International Symposium (SAS 2020)
Series:
Lecture Notes in Computer Science
Volume:
12389
Pages:
156–177
Publisher:
Springer, Cham
Location:
Virtual Event
ISBN:
978-3-030-65473-3 (Print) 978-3-030-65474-0 (Online)
Abstract
We present an automated procedure for synthesizing sound inductive invariants for floating-point numerical loops. Our procedure generates invariants of the form of a convex polynomial inequality that tightly bounds the values of loop variables. Such invariants are a prerequisite for reasoning about the safety and roundoff errors of floating-point programs. Unlike previous approaches that rely on policy iteration, linear algebra or semi-definite programming, we propose a heuristic procedure based on simulation and counterexample-guided refinement. We observe that this combination is remarkably effective and general and can handle both linear and nonlinear loop bodies, nondeterministic values as well as conditional statements. Our evaluation shows that our approach can efficiently synthesize loop invariants for existing benchmarks from literature, but that it is also able to find invariants for nonlinear loops that today's tools cannot handle.
[JanaHAGC20]
Extending Abstract Interpretation to Dependency Analysis of Database Applications(Article)
Authors:
A. Jana; R. Halder; K. V. Abhishekh; S. D. Ganni; A. Cortesi
Date:
2020
Publication:
IEEE Transactions on Software Engineering
Volume:
46
Issue:
5
Pages:
463–494
Publisher:
IEEE Press
Abstract
Dependency information (data- and/or control-dependencies) among program variables and program statements is playing crucial roles in a wide range of software-engineering activities, e.g., program slicing, information flow security analysis, debugging, code-optimization, code-reuse, code-understanding. Most existing dependency analyzers focus on mainstream languages and they do not support database applications embedding queries and data-manipulation commands. The first extension to the languages for relational database management systems, proposed by Willmor et al. in 2004, suffers from the lack of precision in the analysis primarily due to its syntax-based computation and flow insensitivity. Since then no significant contribution is found in this research direction. This paper extends the Abstract Interpretation framework for static dependency analysis of database applications, providing a semantics-based computation tunable with respect to precision. More specifically, we instantiate dependency computation by using various relational and non-relational abstract domains, yielding to a detailed comparative analysis with respect to precision and efficiency. Finally, we present a prototype semDDA, a semantics-based Database Dependency Analyzer integrated with various abstract domains, and we present experimental evaluation results to establish the effectiveness of our approach. We show an improvement of the precision on an average of 6% in the interval, 11% in the octagon, 21% in the polyhedra and 7% in the powerset of intervals abstract domains, as compared to their syntax-based counterpart, for the chosen set of Java Server Page (JSP)-based open-source database-driven web applications as part of the GotoCode project.
[JingM-MT20]
Complexity Estimates for Fourier-Motzkin Elimination(Conference paper)
Authors:
R.-J. Jing; M. Moreno-Maza; D. Talaashrafi
Editors:
F. Boulier; M. England; T. M. Sadykov; E. V. Vorozhtsov
Date:
2020
Publication:
Computer Algebra in Scientific Computing: Proceedings of the 22nd International Workshop (CASC 2020)
Series:
Lecture Notes in Computer Science
Volume:
12291
Pages:
282–306
Publisher:
Springer, Cham
Location:
Linz, Austria
ISBN:
978-3-030-60025-9 978-3-030-60026-6
Abstract
In this paper, we propose an efficient method for removing all redundant inequalities generated by Fourier-Motzkin Elimination. This method is based on an improved version of Balas' work and can also be used to remove all redundant inequalities in the input system. Moreover, our method only uses arithmetic operations on matrices and avoids resorting to linear programming techniques. Algebraic complexity estimates and experimental results show that our method outperforms alternative approaches, in particular those based on linear programming and the simplex algorithm.
[JoswigV20]
Real Tropical Hyperfaces by Patchworking in polymake(Conference paper)
Authors:
M. Joswig; P. Vater
Editors:
A. M. Bigatti; J. Carette; J. H. Davenport; M. Joswig; T. de Wolff
Date:
2020
Publication:
Mathematical Software – ICMS 2020
Series:
Lecture Notes in Computer Science
Volume:
12097
Pages:
202–211
Publisher:
Springer, Cham
ISBN:
978-3-030-52199-8 (Print) 978-3-030-52200-1 (Online)
Abstract
An implementation of Viro's patchworking in polymake is presented, and a census of Betti numbers of real tropical surfaces serves as a showcase. The latter is relevant in the context of Hilbert's 16th Problem.
[Kabi20th]
Synthesizing Invariants: A Constraint Programming Approach Based on Zonotopic Abstraction(PhD thesis)
Authors:
B. Kabi
Date:
2020-06
Location:
Palaiseau, France
School:
Institut Polytechnique de Paris
Abstract
Dynamical systems are mathematical models for describing temporal evolution of the state of a system. There are two classes of dynamical systems relevant to this thesis: discrete and continuous. In discrete dynamical systems (or classical computer programs), the state evolves in discrete time steps, as described by difference equations. In continuous dynamical systems, the state of the system is a function of continuous time, characterized by differential equations. When we analyze the behavior of a dynamical system, we usually want to make sure that it satisfies a safety property expressing that nothing bad happens. An example of a safety property of programs is the absence of arithmetic overflows. In this thesis, we design a framework related to the automatic verification of the safety properties of programs. Proving that a program satisfies a safety property of interest involves an invariance argument. We develop an algorithm for inferring invariants more precisely inductive invariants (properties which hold during the initial state, remains stable under the program evolution, and hence hold always due to induction) for numerical programs. A traditional approach for finding inductive invariants in programs is abstract interpretation (AI) that interprets the states of a program in an abstract domain (intervals, polyhedra, octagon, zonotopes) of choice. This choice is made based on the property of interest to be inferred. Using the AI framework, inductive invariant can be computed as limits of iterations of functions. However, for abstract domains which feature infinite increasing chain, for instance, interval, these computations may fail to converge. Then, the classical solution would be to withdraw that particular domain and in its place redesign a new abstract domain which can represent the shape of the invariant. One may also use convergence techniques like widening to enforce convergence, but this may come at the cost of precision. Another approach called constraint programming (CP), can be used to find invariants by translating a program into constraints and solving them by using constraint solvers. Constraints in CP primarily operate on domains that are either discrete or continuous. Classical continuous constraint programming corresponds to interval domain and can approximate a complex shape invariant by a set of boxes, for instance, upto a precision criterion. An existing framework combines AI and continuous CP inspired by iterative refinement, splitting and tightening a collection of abstract elements. This was initially presented in combination with simple underlying abstract elements, boxes and octagons. The novelty of our work is to extend this framework by using zonotopes, a sub-polyhedric domain that shows a good compromise between cost and precision. However, zonotopes are not closed under intersection, and we had to extend the existing framework, in addition to designing new operations on zonotopes. We introduce a novel splitting algorithm based on tiling zonotopes by sub-zonotopes and parallelotopes. We also propose few alternative operators to the existing ones for a better efficiency of the method. We implemented these operations on top of the APRON library, and tested it on programs with non-linear loops that present complex, possibly non-convex, invariants. We present some results demonstrating the interest of this splitting-based algorithm to synthesize invariants on such programs. This algoritm also shows a good compromise by its use in combination with zonotopes with respect to its use with both simpler domains such as boxes and octagons, and more expressive domains like polyhedra. Finally, we discuss the extension of the approach to infer positive and negative invariant sets for dynamical systems.
[KimVT20]
Memory-Efficient Fixpoint Computation(Conference paper)
Authors:
S. K. Kim; A. J. Venet; A. V. Thakur
Editors:
D. Pichardie; M. Sighireanu
Date:
2020
Publication:
Static Analysis: Proceedings of the 27th International Symposium (SAS 2020)
Series:
Lecture Notes in Computer Science
Volume:
12389
Pages:
35–64
Publisher:
Springer, Cham
Location:
Virtual Event
ISBN:
978-3-030-65473-3 (Print) 978-3-030-65474-0 (Online)
Abstract
Practical adoption of static analysis often requires trading precision for performance. This paper focuses on improving the memory efficiency of abstract interpretation without sacrificing precision or time efficiency. Computationally, abstract interpretation reduces the problem of inferring program invariants to computing a fixpoint of a set of equations. This paper presents a method to minimize the memory footprint in Bourdoncle's iteration strategy, a widely-used technique for fixpoint computation. Our technique is agnostic to the abstract domain used. We prove that our technique is optimal (i.e., it results in minimum memory footprint) for Bourdoncle's iteration strategy while computing the same result. We evaluate the efficacy of our technique by implementing it in a tool called MIKOS, which extends the state-of-the-art abstract interpreter IKOS. When verifying user-provided assertions, MIKOS shows a decrease in peak-memory usage to 4.07 % (24.57×24.57\times ) on average compared to IKOS. When performing interprocedural buffer-overflow analysis, MIKOS shows a decrease in peak-memory usage to 43.7 % (2.29×2.29\times ) on average compared to IKOS.
[LalP20]
Safety Analysis of Linear Discrete-Time Stochastic Systems: Work-in-Progress(Conference paper)
Authors:
R. Lal; P. Prabhakar
Editors:
T. Mitra; A. Gerstlauer
Date:
2020
Publication:
Proceedings of the International Conference on Embedded Software (EMSOFT)
Pages:
34–36
Publisher:
IEEE Press
Location:
Shanghai, China
ISBN:
978-1-7281-9195-9
Abstract
We study the problem of safety verification of linear discrete-time stochastic systems (linear DTSS) over bounded and unbounded time horizons. Linear DTSS capture random processes, where the one-step transition relation between the current random vector XX and the next-step random vector X′X' is linear and is given by X′=AX+WX' = AX + W, where AA is an n×nn \times n matrix and WW is a random noise vector. We assume that the initial and noise random vectors are multivariate normal. Our safety problem consists of checking whether a random vector in the unsafe set is reachable from a random vector in the initial set through a random process of the linear DTSS in either a given bounded or unbounded number of steps. For bounded safety verification, we reduce the problem to the satisfiability of a semidefinite programming problem. For the unbounded safety verification, we propose a novel abstraction procedure to reduce the safety problem to that of a finite graph, wherein, the nodes of the graph correspond to the regions of a partition of the random vector space, in contrast to existing works that partition the state-space. More precisely, we partition the parameter space of normal random vectors, namely, the space of means and covariance matrices, and apply semi-definite programming to compute the edges. We show that our abstraction procedure is sound.
[LiWF20]
On Ranking Functions for Single-Path Linear-Constraint Loops(Article)
Authors:
Y. Li; W. Wu; Y. Feng
Date:
2020
Publication:
International Journal on Software Tools for Technology Transfer
Volume:
22
Issue:
6
Pages:
655–666
Publisher:
Springer
ISSN:
1433-2779
Abstract
Program termination is a fundamental research topic in program analysis. In this paper, we present a new complete polynomial-time method for the existence problem of linear ranking functions for single-path loops described by a conjunction of linear constraints, when variables range over the reals (or rationals). Unlike existing methods, our method does not depend on Farkas' Lemma and provides us with counterexamples to existence of linear ranking functions, when no linear ranking function exists. In addition, we extend our results established over the rationals to the setting of the integers. This deduces an alternative approach to deciding whether or not a given SLC loop has a linear ranking function over the integers. Finally, we prove that the termination of bounded single-path linear-constraint loops is decidable over the reals (or rationals).
[Luders20]
Computing Tropical Prevarieties with Satisfiability Modulo Theories (SMT) Solvers(Conference paper)
Authors:
C. Lüders
Editors:
P. Fontaine; K. Korovin; I. S. Kotsireas; P. Rümmer; S. Tourret
Date:
2020
Publication:
Joint Proceedings of the 7th Workshop on Practical Aspects of Automated Reasoning (PAAR) and the 5th Satisfiability Checking and Symbolic Computation Workshop (SC-Square 2020)
Series:
CEUR Workshop Proceedings
Volume:
2752
Pages:
189–203
Publisher:
CEUR-WS.org
Location:
Paris, France (Virtual)
ISSN:
1613-0073
Abstract
A novel way to use SMT (Satisfiability Modulo Theories) solvers to compute the tropical prevariety (resp. equilibrium) of a polynomial system is presented. The new method is benchmarked against a naive approach that uses purely polyhedral methods. It turns out that the SMT approach is faster than the polyhedral approach for models that would otherwise take more than one minute to compute, in many cases by a factor of 60 or more, and in the worst case is only slower by a factor of two. Furthermore, the new approach is an anytime algorithm, thus offering a way to compute parts of the solution when the polyhedral approach is infeasible.
[PencoleS20]
Formal Chronicle Analyses and Comparisons: How to Deal with Negative Behaviors(Article)
Authors:
Y. Pencolé; A. Subias
Date:
2020
Publication:
Journal of Universal Computer Science
Volume:
26
Issue:
2
Pages:
268–292
ISSN:
0948-695X
Abstract
The overall context of this paper is the event-based behavior analysis and focuses on modeling and analyzing behaviors of interest involving time information. Any behavior of interest from any time event system is concisely defined as a set of time constrained events that must occur (positive behavior) and a set of time constrained events that must not occur (negative behavior). This article proposes a formal extension of the chronicle formalism that allows for the concise description of positive and negative behaviors. Based on this new formalism, several criteria are introduced, they formally characterize and compare a set of chronicles. A fully proved implementation of the proposed criteria is then described; it relies on the use of polyhedron techniques to solve systems of linear inequalities.
[Perry20]
A Dynamic F4 Algorithm to Compute Gröbner Bases(Article)
Authors:
J. Perry
Date:
2020-11
Publication:
Applicable Algebra in Engineering, Communication and Computing
Volume:
31
Issue:
5–6
Pages:
411–434
Publisher:
Springer
ISSN:
0938-1279
Abstract
The F4 algorithm re-imagines Buchberger's algorithm as the row reduction of a Macaulay matrix: each row corresponds to a polynomial; each reduction of one row by another corresponds to one step of reducing an SS-polynomial; and any row that completes reduction with a new pivot position corresponds to a new element of the basis. On the other hand, each column corresponds to a term, so that while it is common in linear algebra to exchange a matrix's columns during row reduction, this has not been done in F4-style algorithms, as it runs the risk of producing an incorrect result. We show that it is possible to adapt an analogous, “dynamic” technique for Buchberger-style algorithms to F4-style algorithms, and we examine its behavior on some commonly referenced benchmark ideals.
[SotoudehT20]
Abstract Neural Networks(Conference paper)
Authors:
M. Sotoudeh; A. V. Thakur
Editors:
D. Pichardie; M. Sighireanu
Date:
2020
Publication:
Static Analysis: Proceedings of the 27th International Symposium (SAS 2020)
Series:
Lecture Notes in Computer Science
Volume:
12389
Pages:
65–88
Publisher:
Springer, Cham
Location:
Virtual Event
ISBN:
978-3-030-65473-3 (Print) 978-3-030-65474-0 (Online)
Abstract
Deep Neural Networks (DNNs) are rapidly being applied to safety-critical domains such as drone and airplane control, motivating techniques for verifying the safety of their behavior. Unfortunately, DNN verification is NP-hard, with current algorithms slowing exponentially with the number of nodes in the DNN. This paper introduces the notion of Abstract Neural Networks (ANNs), which can be used to soundly overapproximate DNNs while using fewer nodes. An ANN is like a DNN except weight matrices are replaced by values in a given abstract domain. We present a framework parameterized by the abstract domain and activation functions used in the DNN that can be used to construct a corresponding ANN. We present necessary and sufficient conditions on the DNN activation functions for the constructed ANN to soundly over-approximate the given DNN. Prior work on DNN abstraction was restricted to the interval domain and ReLU activation function. Our framework can be instantiated with other abstract domains such as octagons and polyhedra, as well as other activation functions such as Leaky ReLU, Sigmoid, and Hyperbolic Tangent.
[SubramaniW20]
On Integer Closure in a System of Unit Two Variable per Inequality Constraints(Article)
Authors:
K. Subramani; P. Wojciechowski
Date:
2020-10
Publication:
Annals of Mathematics and Artificial Intelligence
Volume:
88
Issue:
10
Pages:
1101–1118
Publisher:
Springer
ISSN:
1012-2443
Abstract
In this paper, we study the problem of computing the lattice point closure of a conjunction of Unit Two Variable Per Inequality (UTVPI) constraints. We accomplish this by adapting Johnson's all pairs shortest path algorithm to UTVPI constraint systems (UCSs). Thus, we obtain a closure algorithm that is efficient for sparse constraint systems. This problem has been extremely well-studied in the literature, since it arises in a number of applications, including but not limited to, program verification and operations research. In UTVPI constraints, linear feasibility does not always imply integer feasibility. Thus, there is a difference between the linear closure of a UCS and the integer closure of that same system. Finding the linear closure requires only a single inference rule called the transitive inference rule. This inference rule corresponds to the addition of constraints and preserves both linear and integer solutions. The problem of finding the integer closure requires the use of the tightening inference rule. Unlike the transitive inference rule, the tightening inference rule does not preserve linear solutions. However, it does preserve integer solutions. The complexity of solving the integer closure problem has steadily improved over the past several decades with the fastest algorithm for this problem running in time O(n3)O(n^3) on a UCS with nn variables and mm constraints. For the same input parameters, we detail an algorithm that runs in time O(m⋅n+n2⋅log⁡n)O(m\cdot n +n^{2} \cdot \log n). It is clear that our algorithm is superior to the state of the art when the UCS is sparse (m∈o(n2)m \in o(n^2)), and no worse than the state of the art when the UCS is dense (m∈Θ(n2)m \in \Theta(n^2)). The best known running time for computing the closure of a conjunction of difference constraints (mm constraints, nn variables) is O(m⋅n+n2⋅log⁡n)O(m\cdot n +n^{2} \cdot \log n), and UTVPI constraints subsume difference constraints.
[TrillaHMMS20]
Probabilistic Abstract Interpretation: Sound Inference and Application to Privacy(Book chapter)
Authors:
J. M. C. Trilla; M. Hicks; S. Magill; P. Mardziel; I. Sweet
Editors:
G. Barthe; J.-P. Katoen; A. Silva
Date:
2020
Publication:
Foundations of Probabilistic Programming
Pages:
361–390
Publisher:
Cambridge University Press
ISBN:
978-1-108-77075-0 978-1-108-48851-8
Abstract
Bayesian probability models uncertain knowledge and learning from observations. As a defining feature of optimal adversarial behaviour, Bayesian reasoning forms the basis of safety properties in contexts such as privacy and fairness. Probabilistic programming is a convenient implementation of Bayesian reasoning but the adversarial setting imposes obstacles to its use: approximate inference can underestimate adversary knowledge and exact inference is impractical in cases covering large state spaces. By abstracting distributions, the semantics of a probabilistic language, and inference, jointly termed probabilistic abstract interpretation, we demonstrate adversary models both approximate and sound. We apply the techniques to build a privacy-protecting monitor and describe how to trade off the precision and computational cost in its implementation while remaining sound with respect to privacy risk bounds.
[WojciechowskiCS20]
Analyzing Fractional Horn Constraint Systems(Article)
Authors:
P. Wojciechowski; R. Chandrasekaran; K. Subramani
Date:
2020-12
Publication:
Theoretical Computer Science
Volume:
844
Pages:
142–153
Publisher:
Elsevier
ISSN:
0304-3975
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: ∑i=1nai⋅xi≥c\sum_{i=1}^{n} a_i \cdot x_i \ge c, where each aia_i is integral, c is integral, at most one of the aia_is is positive, and all negative aia_is are equal to −1-1. A conjunction of fractional Horn constraints is called a Fractional Horn Constraint Systems (FHS). FHSs generalize a number of specialized constraint systems such as Difference Constraint Systems (DCS) and Horn Constraint Systems (HCS). We know that the problem of checking lattice point feasibility in DCSs and HCSs is in P. In contrast, we show that the problem of checking lattice point feasibility in FHSs is NP-complete. We then study a sub-class of fractional Horn constraint systems called Binary Fractional Horn Constraint Systems (BFHS). In a BFHS, each constraint has at most two non-zero coefficients. In this case, we show that the problem of checking integer feasibility is in P. Furthermore, we establish several properties of the least integer point and the least linear point of a BFHS, if they exist.
[YangMR20]
Refinements of Behavioural Abstractions for the Supervisory Control of Hybrid Systems(Article)
Authors:
J.-M. Yang; T. Moor; J. Raisch
Date:
2020
Publication:
Discrete Event Dynamic Systems
Volume:
30
Issue:
3
Pages:
533–560
Publisher:
Springer
ISSN:
0924-6703
Abstract
A common approach to controller synthesis for hybrid systems is to first establish a discrete-event abstraction and then to use methods from supervisory control theory to synthesise a controller. In this paper, we consider behavioural abstractions of hybrid systems with a prescribed discrete-event input/output interface. We discuss a family of abstractions based on so called experiments which consist of samples from the external behaviour of the hybrid system. The special feature of our setting is that the accuracy of the abstraction can be carefully adapted to suit the particular control problem at hand. Technically, this is implemented as an iteration in which we alternate trial control synthesis with abstraction refinement. While localising refinement to where it is intuitively needed, we can still formally establish that the overall iteration will solve the control problem, provided that an abstraction-based solution exists at all.
[ZhangSGGLN20]
Verification of Recurrent Neural Networks for Cognitive Tasks via Reachability Analysis(Conference paper)
Authors:
H. Zhang; M. Shinn; A. Gupta; A. Gurfinkel; N. Le; N. Narodytska
Editors:
G. De Giacomo; A. Catalá; B. Dilkina; M. Milano; S. Barro; A. Bugarín; J. Lang
Date:
2020
Publication:
Proceedings of the 24th European Conference on Artificial Intelligence (ECAI 2020)
Series:
Frontiers in Artificial Intelligence and Applications
Volume:
325
Pages:
1690–1697
Publisher:
IOS Press
Location:
Santiago de Compostela, Spain
ISBN:
978-1-64368-101-6 978-1-64368-100-9
Abstract
Recurrent Neural Networks (RNNs) are one of the most successful neural network architectures that deal with temporal sequences, e.g., speech and text recognition. Recently, RNNs have been shown to be useful in cognitive neuroscience as a model of decision-making. RNNs can be trained to solve the same behavioral tasks performed by humans and other animals in decision-making experiments, allowing for a direct comparison between networks and experimental subjects. Analysis of RNNs is expected to be a simpler problem than the analysis of neural activity. However, in practice, reasoning about an RNN's behaviour is a challenging problem. In this work, we take an approach based on formal verification for the analysis of RNNs. We make two main contributions. First, we consider the cognitive domain and formally define a set of useful properties to analyse for a popular experimental task. Second, we employ and adapt wellknown verification techniques for reachability analysis to our focus domain, i.e., polytope propagation, invariant detection, and counter-example-guided abstraction refinement. Our experiments show that our techniques can effectively solve classes of benchmark problems that are challenging for state-of-the-art verification tools.