Cargando…

Efficient Automated Reasoning About Sets and Multisets with Cardinality Constraints

When reasoning about container data structures that can hold duplicate elements, multisets are the obvious choice for representing the data structure abstractly. However, the decidability and complexity of constraints on multisets has been much less studied and understood than for constraints on set...

Descripción completa

Detalles Bibliográficos
Autor principal: Piskac, Ruzica
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7324126/
http://dx.doi.org/10.1007/978-3-030-51074-9_1
_version_ 1783551885813219328
author Piskac, Ruzica
author_facet Piskac, Ruzica
author_sort Piskac, Ruzica
collection PubMed
description When reasoning about container data structures that can hold duplicate elements, multisets are the obvious choice for representing the data structure abstractly. However, the decidability and complexity of constraints on multisets has been much less studied and understood than for constraints on sets. In this presentation, we outline an efficient decision procedure for reasoning about multisets with cardinality constraints. We describe how to translate, in linear time, multisets constraints to constraints in an extension of quantifier-free linear integer arithmetic, which we call LIA*. LIA* extends linear integer arithmetic with unbounded sums over values satisfying a given linear arithmetic formula. We show how to reduce a LIA* formula to an equisatisfiable linear integer arithmetic formula. However, this approach requires an explicit computation of semilinear sets and in practice it scales poorly even on simple benchmarks. We then describe a recent more efficient approach for checking satisfiability of LIA*. The approach is based on the use of under- and over-approximations of LIA* formulas. This way we avoid the space overhead and explicitly computing semilinear sets. Finally, we report on our prototype tool which can efficiently reason about sets and multisets formulas with cardinality constraints.
format Online
Article
Text
id pubmed-7324126
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-73241262020-06-30 Efficient Automated Reasoning About Sets and Multisets with Cardinality Constraints Piskac, Ruzica Automated Reasoning Article When reasoning about container data structures that can hold duplicate elements, multisets are the obvious choice for representing the data structure abstractly. However, the decidability and complexity of constraints on multisets has been much less studied and understood than for constraints on sets. In this presentation, we outline an efficient decision procedure for reasoning about multisets with cardinality constraints. We describe how to translate, in linear time, multisets constraints to constraints in an extension of quantifier-free linear integer arithmetic, which we call LIA*. LIA* extends linear integer arithmetic with unbounded sums over values satisfying a given linear arithmetic formula. We show how to reduce a LIA* formula to an equisatisfiable linear integer arithmetic formula. However, this approach requires an explicit computation of semilinear sets and in practice it scales poorly even on simple benchmarks. We then describe a recent more efficient approach for checking satisfiability of LIA*. The approach is based on the use of under- and over-approximations of LIA* formulas. This way we avoid the space overhead and explicitly computing semilinear sets. Finally, we report on our prototype tool which can efficiently reason about sets and multisets formulas with cardinality constraints. 2020-05-30 /pmc/articles/PMC7324126/ http://dx.doi.org/10.1007/978-3-030-51074-9_1 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Piskac, Ruzica
Efficient Automated Reasoning About Sets and Multisets with Cardinality Constraints
title Efficient Automated Reasoning About Sets and Multisets with Cardinality Constraints
title_full Efficient Automated Reasoning About Sets and Multisets with Cardinality Constraints
title_fullStr Efficient Automated Reasoning About Sets and Multisets with Cardinality Constraints
title_full_unstemmed Efficient Automated Reasoning About Sets and Multisets with Cardinality Constraints
title_short Efficient Automated Reasoning About Sets and Multisets with Cardinality Constraints
title_sort efficient automated reasoning about sets and multisets with cardinality constraints
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7324126/
http://dx.doi.org/10.1007/978-3-030-51074-9_1
work_keys_str_mv AT piskacruzica efficientautomatedreasoningaboutsetsandmultisetswithcardinalityconstraints