CoReS: A tool for computing core graphs via SAT/SMT solvers

https://doi.org/10.1016/j.jlamp.2019.100484Get rights and content
Under an Elsevier user license
open archive

Abstract

When specifying graph languages via type graphs, cores provide a convenient way to minimize the type graph without changing the corresponding graph language, i.e. the set of graphs that can be mapped homomorphically into the given type graph. However, given a type graph, the problem of finding its core is NP-hard. Using the tool CoReS, we automatically encode all required properties into SAT- and SMT-formulas in order to iteratively compute cores by employing the corresponding solvers. We obtain and discuss runtime results to evaluate and compare the two encodings. Furthermore we consider two application scenarios: invariant checking for graph transformation rules and minimization of conjunctive queries in the context of databases.

Cited by (0)

This is the extended version of a short tool paper published at ICGT 2018 [17]. Compared to the conference version we have added encodings for hypergraphs, two application scenarios (invariant checking and minimization of conjunctive queries) in Section 3, new runtime results for hypergraph core computations in Section 5 and a new (minor) result concerning hypergraphs with node extensions (Proposition 19).