Computing affine hulls over Q and Z from sets represented by number decision diagrams

  • Authors:
  • Louis Latour

  • Affiliations:
  • Institut Montefiore, Université de Liège, Liège, Belgium

  • Venue:
  • CIAA'05 Proceedings of the 10th international conference on Implementation and Application of Automata
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Number Decision Diagrams (NDD) are finite automata representing sets of integer vectors and have recently been proposed as an efficient data structure for representing sets definable in Presburger arithmetic. In this context, some work has been done in order to generate formulas or sets of generators from the NDDs. Taking another step in this direction, this paper present algorithms that takes as input an NDD and computes the affine hull over ${\mathbb Q}$ or over ${\mathbb Z}$ of the set represented by the NDD, i.e., the smallest set defined by a conjunction of equations or by a conjunction of equations and congruence relations that includes the set represented by the NDD. Our algorithms run in time ${\mathcal O}(|{\mathcal Q}| \cdot |{\Sigma_r^n}| \cdot n )$ and ${\mathcal O}(|{\mathcal Q}^3| \cdot |{\Sigma_r^n}| \cdot {n^3} )$ respectively, where n is the number of components of the vectors represented by the NDD, and |Q| and Σ$_{r}^{n}$ are the number of states and the alphabet of the NDD. On a prototype implementation, the computations of affine hulls of NDDs with more than 100000 states are done in seconds.