Skip to Content

PPL citations from 2024

All citation years and BibTeX download

[ArceriDZ24]
Speeding Up Static Analysis with the Split Operator(Article)
Authors:
V. Arceri; G. Dolcetti; E. Zaffanella
Date:
2024
Publication:
International Journal on Software Tools for Technology Transfer
Volume:
26
Issue:
5
Pages:
573–588
Publisher:
Springer
ISSN:
1433-2779
Abstract
In the context of abstract interpretation-based static analysis, we propose a new abstract operator modeling the split of control flow paths: the goal of the operator is to enable a more efficient analysis when using abstract domains that are computationally expensive, having no negative effect on precision, and occasionally resulting in a more precise analysis. We focus on the case of conditional branches guarded by numeric linear constraints, including implicit numerical branches. We provide an experimental evaluation of real-world test cases, showing that by using the split operator we can achieve significant efficiency improvements with respect to the classical approach for a static analysis based on the domain of convex polyhedra. We also briefly discuss the applicability of this new operator to different, possibly non-numeric abstract domains.
[BenerecettiFM24]
Model Checking Linear Temporal Properties on Polyhedral Systems(Conference paper)
Authors:
M. Benerecetti; M. Faella; F. Mogavero
Editors:
P. Sala; M. Sioutis; F. Wang
Date:
2024
Publication:
Proceedings of the 31st International Symposium on Temporal Representation and Reasoning (TIME 2024)
Series:
Leibniz International Proceedings in Informatics (LIPIcs)
Volume:
318
Pages:
19:1–19:23
Publisher:
Schloss Dagstuhl – Leibniz-Zentrum für Informatik
Location:
Montpellier, France
ISBN:
978-3-95977-349-2
Abstract
We study the problem of model checking linear temporal logic formulae on finite trajectories generated by polyhedral differential inclusions, thus enriching the landscape of models where such specifications can be effectively verified. Each model in the class comprises a static and a dynamic component. The static component features a finite set of observables represented by (non-necessarily convex) polyhedra. The dynamic one is given by a convex polyhedron constraining the dynamics of the system, by specifying the possible slopes of the trajectories in each time instant. We devise an exact algorithm that computes a symbolic representation of the region of points that existentially satisfy a given formula φ\varphi, i.e., the points from which there exists a trajectory satisfying φ\varphi.
[BoklerPST24]
An Outer Approximation Algorithm for Generating the Edgeworth–Pareto Hull of Multi-Objective Mixed-Integer Linear Programming Problems(Article)
Authors:
F. Bökler; S. N. Parragh; M. Sinnl; F. Tricoire
Date:
2024
Publication:
Mathematical Methods of Operations Research
Volume:
100
Issue:
1
Pages:
263–290
Publisher:
Springer
ISSN:
1432-2994
Abstract
In this paper, we present an outer approximation algorithm for computing the Edgeworth–Pareto hull of multi-objective mixed-integer linear programming problems (MOMILPs). It produces the extreme points (i.e., the vertices) as well as the facets of the Edgeworth–Pareto hull. We note that these extreme points are the extreme supported non-dominated points of a MOMILP. We also show how to extend the concept of geometric duality for multi-objective linear programming problems to the Edgeworth–Pareto hull of MOMILPs and use this extension to develop the algorithm. The algorithm relies on a novel oracle that solves single-objective weighted-sum problems and we show that the required number of oracle calls is polynomial in the number of facets of the convex hull of the extreme supported non-dominated points in the case of MOMILPs. Thus, for MOMILPs for which the weighted-sum problem is solvable in polynomial time, the facets can be computed with incremental-polynomial delay—a result that was formerly only known for the computation of extreme supported non-dominated points. Our algorithm can be an attractive option to compute lower bound sets within multi-objective branch-and-bound algorithms for solving MOMILPs. This is for several reasons as (i) the algorithm starts from a trivial valid lower bound set then iteratively improves it, thus at any iteration of the algorithm a lower bound set is available; (ii) the algorithm also produces efficient solutions (i.e., solutions in the decision space); (iii) in any iteration of the algorithm, a relaxation of the MOMILP can be solved, and the obtained points and facets still provide a valid lower bound set. Moreover, for the special case of multi-objective linear programming problems, the algorithm solves the problem to global optimality. A computational study on a set of benchmark instances from the literature is provided.
[BudziszK24]
Experimental Investigation of the Polyhedral Structure of BIBDs(Article)
Authors:
S. Budzisz; S. Kruk
Date:
2024-10
Publication:
International Journal of Computer Mathematics: Computer Systems Theory
Volume:
9
Issue:
4
Pages:
233–242
Publisher:
Informa UK Limited
ISSN:
2379-9927
Abstract
We examine the polyhedral structure of Balanced Incomplete Block Designs (BIBDs) in an effort to improve runtimes for finding optimal solutions via constraint or integer program. For example, an optimal BIBD is one that minimizes the range of blocksums. This range, which we refer to as diffsum, has applications in drug trials and Redundant Arrays of Independent Disks (RAID). The polytope we explore is the convex hull of all lexicographically-ordered BIBD solutions satisfying a given set of parameters, (v,b,r,k,λ)(v,b,r,k,\lambda), with solutions represented as a vector in Rkb\mathbb{R}^{kb}. The dimension-reducing equations and the facets for some of the smaller polytopes were found by using the Double-Description Method on a algebraic program modelling these solutions. Because of the presence of the lexicographic ordering, none of these polytopes are full dimensional. After describing some of these smaller BIBD polytopes, we generalize some dimension-reducing equations, and evaluate the efficiency of these equations to optimization models.
[ChengWS24]
Precise Sparse Abstract Execution via Cross-Domain Interaction(Conference paper)
Authors:
X. Cheng; J. Wang; Y. Sui
Date:
2024-04
Publication:
Proceedings of the IEEE/ACM 46th International Conference on Software Engineering
Pages:
109:1–109:12
Publisher:
ACM Press, New York, USA
Location:
Lisbon, Portugal
ISBN:
979-8-4007-0217-4
Abstract
Sparse static analysis offers a more scalable solution compared to its non-sparse counterpart. The basic idea is to first conduct a fast pointer analysis that over-approximates the value-flows and propagates the data-flow facts sparsely along only the pre-computed value-flows instead of all control flow points. Current sparse techniques focus on improving the scalability of the main analysis while maintaining its precision. However, their pointer analyses in both the offline and main phases are inherently imprecise because they rely solely on a single memory address domain without considering values from other domains like the interval domain. Consequently, this leads to conservative alias results, like array-insensitivity, which leaves substantial room for precision improvement of the main data-flow analysis. This paper presents CSA, a new Cross-domain Sparse Abstract execution that interweaves correlations between values across multiple abstract domains (e.g., memory address and interval domains). Unlike traditional sparse analysis without cross-domain interaction, CSA performs correlation tracking by establishing implications of values from one domain to another. This correlation tracking enables online bidirectional refinement: CSA refines spurious alias relations using interval domain information and also enhances the precision of interval analysis with refined alias results. This contributes to increasingly improved precision and scalability as the main analysis progresses. To improve the efficiency of correlation tracking, we propose an equivalent correlation tracking approach that groups (virtual) memory addresses with equivalent implication results to minimize redundant value joins and storage associated. We apply CSA on two common assertion-based checking clients, buffer overflow and null dereference detection. Experimental results show that CSA outperforms five open-source tools (Infer, Cppcheck, IKOS, Sparrow and KLEE) on ten large-scale projects. CSA finds 111 real bugs with 68.51% precision, detecting 46.05% more bugs than Infer and exhibiting 12.11% more precision rate than KLEE. CSA records 96.63% less false positives on real-world projects than the version without cross-domain interaction. CSA also exhibits an average speedup of 2.47×2.47\times and an average memory reduction of 6.14×6.14\times with equivalent correlation tracking.
[Consolaro24th]
Configurable Polyhedral Scheduling for All-Scenario Deep Learning Compilers(PhD thesis)
Authors:
G. Consolaro
Date:
2024-09
Location:
Paris, France
School:
Université Paris Sciences et Lettres
Abstract
Polyhedral Optimization is a compilation technique that has gained significant attention due to its relevance in loop optimization for AI and deep learning applications. Tensor computations, which rely heavily on loops, are well-suited for polyhedral optimization. An ongoing challenge in AI and deep learning research is optimizing performance across diverse architectures, such as CPUs, GPUs, and AI Accelerators. In the current state of polyhedral optimization, numerous polyhedral schedulers have been proposed, each tailored to specific scenarios. However, integrating a distinct polyhedral scheduler for each target architecture is impractical and costly. This thesis presents a solution to this problem: first, we introduce an interface to influence a generic polyhedral scheduler named MindTrick. Then, we introduce our contribution, PolyTOPS, a flexible and reconfigurable polyhedral scheduler designed to adapt to different scenarios and provide control over internal strategies. Through our contributions, we conducted experiments across various architectures, demonstrating significant speedups for GPUs (up to 12.53x with MindTrick over isl-scheduler), Ascend NPUs (geometric mean speedup of 7.66x with PolyTOPS over isl-scheduler), and CPUs (up to 1.82x geometric mean speedup on PolyBench benchmark with PolyTOPS over Pluto scheduler).
[Dahlsen-JensenFPvdP24]
On-the-Fly Algorithm for Reachability in Parametric Timed Games(Conference paper)
Authors:
M. B. Dahlsen-Jensen; B. Fievet; L. Petrucci; J. van de Pol
Editors:
B. Finkbeiner; L. Kovács
Date:
2024
Publication:
Tools and Algorithms for the Construction and Analysis of Systems: Proceedings of the 30th International Conference (TACAS 2024), Part III
Series:
Lecture Notes in Computer Science
Volume:
14572
Pages:
194–212
Publisher:
Springer, Cham
Location:
Luxembourg City, Luxembourg
ISBN:
978-3-031-57255-5 (Print) 978-3-031-57256-2 (Online)
Abstract
Parametric Timed Games (PTG) are an extension of the model of Timed Automata. They allow for the verification and synthesis of real-time systems, reactive to their environment and depending on adjustable parameters. Given a PTG and a reachability objective, we synthesize the values of the parameters such that the game is winning for the controller. We adapt and implement the On-The-Fly algorithm for parameter synthesis for PTG. Several pruning heuristics are introduced, to improve termination and speed of the algorithm. We evaluate the feasibility of parameter synthesis for PTG on two large case studies. Finally, we investigate the correctness guarantee of the algorithm: though the problem is undecidable, our semi-algorithm produces all correct parameter valuations “in the limit”.
[EspositoMT24]
Optimizing Fault-Tolerant Quality-Guaranteed Sensor Deployments for UAV Localization in Critical Areas via Computational Geometry(Article)
Authors:
M. Esposito; T. Mancini; E. Tronci
Date:
2024
Publication:
IEEE Transactions on Systems, Man, and Cybernetics: Systems
Volume:
54
Issue:
3
Pages:
1515–1526
Publisher:
IEEE Press
ISSN:
2168-2216
Abstract
The increasing spreading of small commercial unmanned aerial vehicles (UAVs, also known as drones) presents serious threats for critical areas, such as airports, power plants, and governmental and military facilities. In fact, such UAVs can easily disturb or jam radio communications, collide with other flying objects, perform espionage activity, and carry offensive payloads, e.g., weapons or explosives. A central problem when designing surveillance solutions for the localization of unauthorized UAVs in critical areas is to decide how many triangulating sensors to use, and where to deploy them to optimize both coverage and cost effectiveness. In this article, we compute deployments of triangulating sensors for UAV localization, optimizing a given blend of metrics, namely: coverage under multiple sensing quality levels, cost-effectiveness, and fault-tolerance. We focus on large, complex three-dimensional (3-D) regions, which exhibit obstacles (e.g., buildings), varying terrain elevation, different coverage priorities, and constraints on possible sensors placement. Our novel approach relies on computational geometry and statistical model checking and enables the effective use of off-the-shelf AI-based black-box optimizers. Moreover, our method allows us to compute a closed-form, analytical representation of the region uncovered by a sensor deployment, which provides the means for rigorous, formal certification of the quality of the latter. We show the practical feasibility of our approach by computing optimal sensor deployments for UAV localization in two large, complex 3-D critical regions, the Rome Leonardo Da Vinci International Airport (FCO) and the Vienna International Center (VIC), using NOMAD as our state-of-the-art underlying optimization engine. Results show that we can compute optimal sensor deployments within a few hours on a standard workstation and within minutes on a small parallel infrastructure.
[FaellaS24]
On Preferences and Reward Policies over Rankings(Article)
Authors:
M. Faella; L. Sauro
Date:
2024
Publication:
Autonomous Agents and Multi-Agent Systems
Volume:
38
Issue:
2
Pages:
29
Publisher:
Springer
ISSN:
1387-2532
Abstract
We study the rational preferences of agents participating in a mechanism whose outcome is a ranking (i.e., a weak order) among participants. We propose a set of self-interest axioms corresponding to different ways for participants to compare rankings. These axioms vary from minimal conditions that most participants can be expected to agree on, to more demanding requirements that apply to specific scenarios. Then, we analyze the theories that can be obtained by combining the previous axioms and characterize their mutual relationships, revealing a rich hierarchical structure. After this broad investigation on preferences over rankings, we consider the case where the mechanism can distribute a fixed monetary reward to the participants in a fair way (that is, depending only on the anonymized output ranking). We show that such mechanisms can induce specific classes of preferences by suitably choosing the assigned rewards, even in the absence of tie breaking.
[GrebantBFL24]
Parametric WCET as a Function of Procedure Arguments: Analysis and Applications(Article)
Authors:
S. Grebant; C. Ballabriga; J. Forget; G. Lipari
Date:
2024
Publication:
Journal of Systems Architecture
Volume:
148
Pages:
103086
Publisher:
Elsevier
ISSN:
1383-7621
Abstract
Traditional Worst-Case Execution Time analysis derives an upper-bound to the execution time of a program for any possible combination of its software and hardware parameters. In comparison, Parametric Worst-Case Execution Time analysis derives a WCET formula that depends on the parameters. The formula can then be instantiated for some given parameter values, to produce a WCET that is specific to those values, and thus tighter. In this work, we present a technique that, by static analysis of binary code, automatically produces a formula that represents the WCET of a procedure as a function of its arguments. The formula captures how the control-flow, and thus the WCET, depends on the arguments that appear in branch conditions (loop conditions and if-then-else conditions). We detail two applications of this technique. In our first and main application, we show that WCET formulas can be instantiated during the parametric analysis itself, to make it modular. The code of a procedure is analysed only once, and the WCET of a call to that procedure is obtained by instantiating the corresponding formula with the parameter values passed at the call site. Second, we show that WCET formulas can be instantiated at runtime, to implement adaptive real-time systems. We discuss how this can be leveraged to: 1) implement realtime systems that follow the recently proposed semi-clairvoyant mixed-criticality scheduling approach; 2) implement adaptive control-command laws.
[GuptaCCP24]
Safety Verification of Closed-Loop Control System with Anytime Perception(Conference paper)
Authors:
L. Gupta; J. Chowdhury Choton; P. Prabhakar
Date:
2024
Publication:
Proceedings of the IEEE International Conference on Robotics and Automation (ICRA)
Pages:
227–233
Publisher:
IEEE Press
Location:
Yokohama, Japan
ISBN:
9798350384574
Abstract
In this paper, we consider the problem of safety analysis of a closed-loop control system with anytime perception sensor. We formalize the framework and present a general procedure for safety analysis using reachable set computation. We instantiate the procedure for two concrete classes, namely, the classical discrete-time linear system with linear state feedback controller and an extension with variable update rates. We present an exact computational method based on polyhedral manipulations for the first class and an overapproximate method for the second class. Our experimental results demonstrate the feasibility of the approach.
[HabeebDLP24]
Interval Image Abstraction for Verification of Camera-Based Autonomous Systems(Article)
Authors:
P. Habeeb; D. D'Souza; K. Lodaya; P. Prabhakar
Date:
2024
Publication:
IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
Volume:
43
Issue:
11
Pages:
4310–4321
Publisher:
IEEE Press
ISSN:
0278-0070
Abstract
We propose an abstraction-refinement-based algorithm for the problem of verifying the safety of a camera-based autonomous system in a synthetic 3D-scene, based on the notion of interval images. An interval image is an abstract data structure that represents a set of images in a 3D-scene. We give a computer graphics style rendering algorithm to efficiently compute interval images from a given region. Our proposed abstraction-refinement algorithm leverages recent abstract interpretation tools for neural networks. We have implemented and evaluated the proposed technique on complex 3D-scenes, demonstrating its effectiveness and scalability in comparison with earlier techniques.
[Jensen24]
Dynamic Decomposition of Tropical Prevarieties for Celestial Mechanics(Conference paper)
Authors:
A. N. Jensen
Editors:
K. Buzzard; A. Dickenstein; B. Eick; A. Leykin; Y. Ren
Date:
2024
Publication:
Mathematical Software – ICMS 2024
Series:
Lecture Notes in Computer Science
Volume:
14749
Pages:
313–321
Publisher:
Springer, Cham
ISBN:
978-3-031-64528-0 (Print) 978-3-031-64529-7 (Online)
Abstract
Every tropical hypersurface is the union of finitely many polyhedra. By the distributive law, intersecting a list of tropical hypersurfaces amounts to doing a huge computation of intersections of polyhedra that may be naturally organised in an enumeration tree. The idea of dynamic enumeration proposed by Mizutani, Takeda and Kojima (2007) is extended to dynamic decomposition where tropical hypersurfaces are not just chosen dynamically but also split dynamically into disjoint half-open polyhedra. This has the advantage of making the enumeration tree even thinner. We present an implementation of this enumeration algorithm in the C++ library gfanlib and do a comparison against an implementation of an existing algorithm. Finally we give an example of how the software has been used in a celestial mechanics problem.
[KafleGSSS24]
A Lightweight Approach to Nontermination Inference Using Constrained Horn Clauses(Article)
Authors:
B. Kafle; G. Gange; P. Schachte; H. Søndergaard; P. J. Stuckey
Date:
2024-04
Publication:
Software and Systems Modeling
Volume:
23
Issue:
2
Pages:
319–342
Publisher:
Springer
ISSN:
1619-1366
Abstract
Nontermination is an unwanted program property for some software systems, and a safety property for other systems. In either case, automated discovery of preconditions for nontermination is of interest. We introduce NtHorn, a fast lightweight nontermination analyser, which is able to deduce non-trivial sufficient conditions for nontermination. Using Constrained Horn Clauses (CHCs) as a vehicle, we show how established techniques for CHC program transformation and abstract interpretation can be exploited for the purpose of nontermination analysis. NtHorn is comparable in effectiveness to the state-of-the-art nontermination analysis tools, as measured on standard competition benchmark suites (consisting of integer manipulating programs), while typically solving problems faster by one order of magnitude.
[LalP24]
Verification of Parametric Properties of Linear Discrete-Time Stochastic Systems(Article)
Authors:
R. Lal; P. Prabhakar
Date:
2024
Publication:
IFAC-PapersOnLine
Volume:
58
Issue:
11
Pages:
195–200
Publisher:
Elsevier
ISSN:
2405-8963
Abstract
We study the problem of verifying parametric properties of linear discrete-time stochastic systems (linear DTSSs) over bounded and unbounded time horizons. A linear DTSS captures 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, each of which is expressed as a pair of two parameters, namely, mean and covariance. We are interested in verifying whether the system always satisfies a given parametric property specified as a subset of the parameters' space over bounded or unbounded time horizons. For bounded time steps, we reduce the problem to the satisfiability of a semidefinite programming problem. For the unbounded time steps, we propose a novel abstraction procedure to reduce the verification 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. Our experiments with varying number of vehicle dynamics and different dimensions of random models show that our methods are reasonably scalable.
[LiT24]
Termination Analysis of Single-Path Linear Constraint Loops(Article)
Authors:
Y. Li; T. Tang
Date:
2024-03
Publication:
Journal of Software
Volume:
35
Issue:
3
Pages:
1307–1320
ISSN:
1000-9825
In Chinese, with English abstract
Abstract
The ranking function method is the main method for the termination analysis of loops, and it indicates that loop programs can be terminated. In view of single-path linear constraint loop programs, this study presents a method to analyze the termination of the loops. Based on the calculation of the normal space of the increasing function, this method considers the calculation of the ranking function in the original program space as that in the subspace. Experimental results show that the method can effectively verify the termination of most loop programs in the existing literature.
[LommenMG24]
Control-Flow Refinement for Complexity Analysis of Probabilistic Programs in KoAT (Short Paper)(Conference paper)
Authors:
N. Lommen; É. Meyer; J. Giesl
Editors:
C. Benzmüller; M. J. H. Heule; R. A. Schmidt
Date:
2024
Publication:
Automated Reasoning: Proceedings of the 12th International Joint Conference (IJCAR 2024), Part I
Series:
Lecture Notes in Computer Science
Volume:
14739
Pages:
233–243
Publisher:
Springer, Cham
Location:
Nancy, France
ISBN:
978-3-031-63497-0 (Print) 978-3-031-63498-7 (Online)
Abstract
Recently, we showed how to use control-flow refinement (CFR) to improve automatic complexity analysis of integer programs. While up to now CFR was limited to classical programs, in this paper we extend CFR to probabilistic programs and show its soundness for complexity analysis. To demonstrate its benefits, we implemented our new CFR technique in our complexity analysis tool.
[MambakamRJBBD24]
Mining of Extended Signal Temporal Logic Specifications with ParetoLib 2.0(Article)
Authors:
A. Mambakam; J. I. Requeno Jarabo; A. Bakhirkin; N. Basset; T. Dang
Date:
2024
Publication:
Formal Methods in System Design
Volume:
62
Issue:
1–3
Pages:
260–284
Publisher:
Springer
ISSN:
0925-9856
Abstract
Cyber-physical systems are complex environments that combine physical devices (i.e., sensors and actuators) with a software controller. The ubiquity of these systems and dangers associated with their failure require the implementation of mechanisms to monitor, verify and guarantee their correct behaviour. This paper presents ParetoLib 2.0, a Python tool for offline monitoring and specification mining of cyber-physical systems. ParetoLib 2.0 uses signal temporal logic (STL) as the formalism for specifying properties on time series. ParetoLib 2.0 builds upon other tools for evaluating and mining STL expressions, and extends them with new functionalities. ParetoLib 2.0 implements a set of new quantitative operators for trace analysis in STL, a novel mining algorithm and an original graphical user interface. Additionally, the performance is optimised with respect to previous releases of the tool via data-type annotations and multi core support. ParetoLib 2.0 allows the offline verification of STL properties as well as the specification mining of parametric STL templates. Thanks to the implementation of the new quantitative operators for STL, the tool outperforms the expressiveness and capabilities of similar runtime monitors.
[MilaneseM24]
Generation of Violation Witnesses by Under-Approximating Abstract Interpretation(Conference paper)
Authors:
M. Milanese; A. Miné
Editors:
R. Dimitrova; O. Lahav; S. Wolff
Date:
2024
Publication:
Verification, Model Checking, and Abstract Interpretation: Proceedings of the 25th International Conference (VMCAI 2024), Part I
Series:
Lecture Notes in Computer Science
Volume:
14499
Pages:
50–73
Publisher:
Springer, Cham
Location:
London, United Kingdom
ISBN:
978-3-031-50523-2 (Print) 978-3-031-50524-9 (Online)
Abstract
This works studies abstract backward semantics to infer sufficient program preconditions, based on an idea first proposed in previous work [38]. This analysis exploits under-approximated domain operators, demonstrated in [38] for the polyhedra domain, to under-approximate Dijkstra's liberal precondition. The results of the analysis were implemented into a static analysis tool for a toy language. In this paper we address some limitations that hinder its applicability to C-like programs. In particular, we focus on two improvements: handling of user input and integer wrapping. For this, we extend the semantic and design sound and effective abstractions. Furthermore, to improve the precision, we explore an under-approximated version of the power-set construction. This in particular helps handling arbitrary union that is difficult to implement with under-approximated domains. The improved analysis is implemented and its performance is compared with other static analysis tools in SV-COMP23 using a selected subset of benchmarks.
[MonatFM24]
Formalizing Date Arithmetic and Statically Detecting Ambiguities for the Law(Conference paper)
Authors:
R. Monat; A. Fromherz; D. Merigoux
Editors:
S. Weirich
Date:
2024
Publication:
Programming Languages and Systems
Series:
Lecture Notes in Computer Science
Volume:
14577
Pages:
421–450
Publisher:
Springer, Cham
Location:
Luxembourg City, Luxembourg
ISBN:
978-3-031-57266-1 (Print) 978-3-031-57267-8 (Online)
Abstract
Legal expert systems routinely rely on date computations to determine the eligibility of a citizen to social benefits or whether an application has been filed on time. Unfortunately, date arithmetic exhibits many corner cases, which are handled differently from one library to the other, making faithfully transcribing the law into code error-prone, and possibly leading to heavy financial and legal consequences for users. In this work, we aim to provide a solid foundation for date arithmetic working on days, months and years. We first present a novel, formal semantics for date computations, and formally establish several semantic properties through a mechanization in the F⋆^\star proof assistant. Building upon this semantics, we then propose a static analysis by abstract interpretation to automatically detect ambiguities in date computations. We finally integrate our approach in the Catala language, a recent domain-specific language for formalizing computational law, and use it to analyze the Catala implementation of the French housing benefits, leading to the discovery of several date-related ambiguities.
[NegriniACF24]
TARSIS : An Effective Automata-based Abstract Domain for String Analysis(Article)
Authors:
L. Negrini; V. Arceri; A. Cortesi; P. Ferrara
Date:
2024
Publication:
Journal of Software: Evolution and Process
Volume:
36
Issue:
8
Pages:
e2647
Publisher:
Wiley
ISSN:
2047-7473
Abstract
In this paper, we introduce Tarsis, a new abstract domain based on the abstract interpretation theory that approximates string values through finite state automata. The main novelty of Tarsis is that it works over an alphabet of strings instead of single characters. On the one hand, such an approach requires a more complex and refined definition of the lattice operators and of the abstract semantics of string operators. On the other hand, it is in position to obtain strictly more precise results than state-of-the-art approaches. We compare Tarsis both with simpler domains and with the standard automata model, targeting case studies containing standard yet challenging string manipulations. The performance gain w.r.t. the standard automata model is also assessed, measuring the speed-up gained by Tarsis. Experiments confirm that Tarsis can obtain precise results without incurring in excessive computational costs.
[NegriniPFZC24]
Stability: An Abstract Domain for the Trend of Variation of Numerical Variables(Conference paper)
Authors:
L. Negrini; S. Presotto; P. Ferrara; E. Zaffanella; A. Cortesi
Editors:
V. Arceri; M. Pasqua
Date:
2024
Publication:
Proceedings of the 10th ACM SIGPLAN International Workshop on Numerical and Symbolic Abstract Domains
Pages:
10–17
Publisher:
ACM Press, New York, USA
Location:
Pasadena CA USA
ISBN:
979-8-4007-1217-3
Abstract
State-of-the-art abstract domains for static analysis typically focus on over-approximating either the values a variable can hold at a specific program point or the relational dependencies among variables. In this paper, we aim to capture the trend of numerical values during program executions (e.g., increasing, decreasing, or stable) relative to preceding states. By integrating the Stability domain with numerical domains, we can verify co-/contra-variance relationships among potentially unrelated variables. This approach has promising applications for anomaly detection in complex software systems, and for the verification of functional requirements.
[PitchanathanCZG24]
Strided Difference Bound Matrices(Conference paper)
Authors:
A. Pitchanathan; A. Cohen; O. Zinenko; T. Grosser
Editors:
A. Gurfinkel; V. Ganesh
Date:
2024
Publication:
Computer Aided Verification: Proceedings of the 36th International Conference (CAV 2024), Part I
Series:
Lecture Notes in Computer Science
Volume:
14681
Pages:
279–302
Publisher:
Springer, Cham
Location:
Montreal, QC, Canada
ISBN:
978-3-031-65626-2 (Print) 978-3-031-65627-9 (Online)
Abstract
A wide range of symbolic analysis and optimization problems can be formalized using polyhedra. Sub-classes of polyhedra, also known as sub-polyhedral domains, are sought for their lower space and time complexity. We introduce the Strided Difference Bound Matrix (SDBM) domain, which represents a sweet spot in the context of optimizing compilers. Its expressiveness and efficient algorithms are particularly well suited to the construction of machine learning compilers. We present decision algorithms, abstract domain operators and computational complexity proofs for SDBM. We also conduct an empirical study with the MLIR compiler framework to validate the domain's practical applicability. We characterize a sub-class of SDBMs that frequently occurs in practice, and demonstrate even faster algorithms on this sub-class.
[SaanSESTV24]
Correctness Witness Validation by Abstract Interpretation(Conference paper)
Authors:
S. Saan; M. Schwarz; J. Erhard; H. Seidl; S. Tilscher; V. Vojdani
Editors:
R. Dimitrova; O. Lahav; S. Wolff
Date:
2024
Publication:
Verification, Model Checking, and Abstract Interpretation: Proceedings of the 25th International Conference (VMCAI 2024), Part I
Series:
Lecture Notes in Computer Science
Volume:
14499
Pages:
74–97
Publisher:
Springer, Cham
Location:
London, United Kingdom
ISBN:
978-3-031-50523-2 (Print) 978-3-031-50524-9 (Online)
Abstract
Witnesses record automated program analysis results and make them exchangeable. To validate correctness witnesses through abstract interpretation, we introduce a novel abstract operation unassume. This operator incorporates witness invariants into the abstract program state. Given suitable invariants, the unassume operation can accelerate fixpoint convergence and yield more precise results. We demonstrate the feasibility of this approach by augmenting an abstract interpreter with unassume operators and evaluating the impact of incorporating witnesses on performance and precision. Using manually crafted witnesses, we can confirm verification results for multi-threaded programs with a reduction in effort ranging from 7% to 47% in CPU time. More intriguingly, we discover that using witnesses from model checkers can guide our analyzer to verify program properties that it could not verify on its own.
[SeidlETS24]
Non-Numerical Weakly Relational Domains(Article)
Authors:
H. Seidl; J. Erhard; S. Tilscher; M. Schwarz
Date:
2024
Publication:
International Journal on Software Tools for Technology Transfer
Volume:
26
Issue:
4
Pages:
479–494
Publisher:
Springer
ISSN:
1433-2779
Abstract
The weakly relational domain of Octagons offers a decent compromise between precision and efficiency for numerical properties. Here, we are concerned with the construction of non-numerical relational domains. We provide a general construction of weakly relational domains, which we exemplify with an extension of constant propagation by disjunctions. Since for the resulting domain of 2-disjunctive formulas satisfiability is NP-complete, we provide a general construction for a further, more abstract, weakly relational domain where the abstract operations of restriction and least upper bound can be efficiently implemented. In the second step, we consider a relational domain that tracks conjunctions of inequalities between variables, and between variables and constants for arbitrary partial orders of values. Examples are sub(multi)sets, as well as prefix, substring or scattered substring orderings on strings. When the partial order is a lattice, we provide precise polynomial algorithms for satisfiability, restriction, and the best abstraction of disjunction. Complementary to the constructions for lattices, we find that, in general, satisfiability of conjunctions is NP-complete. We therefore again provide polynomial abstract versions of restriction, conjunction, and join. By using our generic constructions, these domains are extended to weakly relational domains that additionally track disjunctions. For all our domains, we indicate how abstract transformers for assignments and guards can be constructed.
[SubramaniW24]
Parameterized and Exact-Exponential Algorithms for the Read-Once Integer Refutation Problem in UTVPI Constraints(Conference paper)
Authors:
K. Subramani; P. Wojciechowski
Editors:
W. Wu; J. Guo
Date:
2024
Publication:
Combinatorial Optimization and Applications: Proceedings of the 16th International Conference (COCOA 2023), Part II
Series:
Lecture Notes in Computer Science
Volume:
14462
Pages:
377–389
Publisher:
Springer, Cham
Location:
Hawaii, HI, USA
ISBN:
978-3-031-49613-4 (Print) 978-3-031-49614-1 (Online)
Abstract
In this paper, we discuss parameterized and exact-exponential algorithms for the read-once integer refutability problem in Unit Two Variable Per Inequality (UTVPI) constraint systems. UTVPI constraint systems (UCSs) arise in a number of domains including operations research, program verification and abstract interpretation. The integer feasibility problem in UCSs is polynomial time solvable and there exist several algorithms for the same. This paper is concerned with refutations of integer feasibility in UCSs. Inasmuch as the integer feasibility problem is in P, there exist polynomial time algorithms to establish unrestricted refutations of integer feasibility. The focus of this paper is on a specific class of refutations called read-once refutations. Previous research has established that the problem of determining the existence of read-once refutations of integer feasibility in UCSs is NP-hard. This paper extends that research by examining the read-once refutability from the parameterized perspective. Using the number of refutation steps in the shortest read-once refutation, we establish fixed-parameter tractability. We also show that no polynomial size kernel exists for this problem. From the exact perspective, we design a non-trivial exponential algorithm.
[WetzlingerKKA24]
Implementation of Polyhedral Operations in CORA 2024(Conference paper)
Authors:
M. Wetzlinger; V. Kotsev; A. Kulmburg; M. Althoff
Editors:
G. Frehse; M. Althoff
Date:
2024
Publication:
Proceedings of the 11th International Workshop on Applied Verification for Continuous and Hybrid Systems
Series:
EPiC Series in Computing
Volume:
103
Pages:
163–181
Publisher:
EasyChair
Abstract
Tool presentation: Polyhedra are a common set representation with widespread applications in many areas of research, including convex geometry, reachability analysis, and invariant set computation. Their popularity stems from a tight relation to linear programming. Apart from some basic set operations with analytic formulae, the implementation of many polyhedral set operations in tools is not well documented. For this reason, we describe the evaluation of common set operations on polyhedra, including their runtime complexity, and provide an overview of their implementation as a dedicated class in the MATLAB tool Continuous Reachability Analyzer (CORA) for set-based computing. In particular, we highlight the handling of unbounded and degenerate sets. Finally, we compare our implementation to the popular multi-parametric toolbox.
[XuCFYW24]
An Abstract Domain of Linear Templates with Disjunctive Right-Hand-Side Intervals(Conference paper)
Authors:
H. Xu; L. Chen; G. Fan; B. Yin; J. Wang
Editors:
H. Hermanns; J. Sun; L. Bu
Date:
2024
Publication:
Dependable Software Engineering. Theories, Tools, and Applications: Proceedings of the 9th International Symposium (SETTA 2023)
Series:
Lecture Notes in Computer Science
Volume:
14464
Pages:
314–330
Publisher:
Springer, Singapore
Location:
Nanjing, China
ISBN:
978-981-99-8663-7 (Print) 978-981-99-8664-4 (Online)
Abstract
Abstract interpretation provides a general framework for analyzing the value ranges of program variables while ensuring soundness. Abstract domains are at the core of the abstract interpretation framework, and the numerical abstract domains aiming at analyzing numerical properties have received extensive attention. The template constraint matrix domain (also called the template polyhedra domain) is widely used due to its configurable constraint matrix (describing limited but user-concerned linear relationships among variables) and its high efficiency. However, it cannot express non-convex properties that appear naturally due to the inherent disjunctive behaviors in a program. In this paper, we introduce a new abstract domain, namely the abstract domain of linear templates with disjunctive right-hand-side intervals, in the form of ∑iaixi∈⋁j=0p[cj,dj]\sum _{i} a_ix_i \in \bigvee _{j=0}^p [c_j,d_j] (where aia_i's and pp are configurable and fixed before conducting analysis). Experimental results of our prototype are encouraging: In practice, the new abstract domain can find interesting non-convex invariants that are out of the expressiveness of the classic template constraint matrix abstract domain.
[YangCYLZW24]
Sound Floating-Point Neural Network Verification with MILP(Conference paper)
Authors:
S. Yang; L. Chen; B. Yin; M. Li; Y. Zhou; J. Wang
Date:
2024
Publication:
Proceedings of the 31st Asia-Pacific Software Engineering Conference (APSEC)
Pages:
1–10
Publisher:
IEEE Press
Location:
Chongqing, China
ISBN:
9798331534011
Abstract
Neural network verification, particularly verification of robustness properties, has received much research attention. However, many existing verification methods overlook the influence of floating-point rounding errors in the deployed neural networks, resulting in unsound verification outcomes. In this paper, we propose a sound robustness verification approach aiming at overcoming this limitation. Our method utilizes real-number intervals to approximate floating-point arithmetic and abstracts floating-point neural networks into equivalent networks using real-number interval arithmetic semantics, thereby effectively taking into account for floating-point rounding errors. We subsequently employ exact MILP formulations to verify robustness over these abstracted networks. We introduce FMIPVerify, a dedicated verification tool tailored to ensure the soundness of floating-point neural network verification. Experimental results demonstrate that FMIPVerify significantly improves the robustness verification ability in floating-point ReLU neural networks compared to established complete methods like MIPVerify.