615 research outputs found
The complexity of quantified constraints using the algebraic formulation
Peer reviewedFinal Published versio
On the Scope of the Universal-Algebraic Approach to Constraint Satisfaction
The universal-algebraic approach has proved a powerful tool in the study of
the complexity of CSPs. This approach has previously been applied to the study
of CSPs with finite or (infinite) omega-categorical templates, and relies on
two facts. The first is that in finite or omega-categorical structures A, a
relation is primitive positive definable if and only if it is preserved by the
polymorphisms of A. The second is that every finite or omega-categorical
structure is homomorphically equivalent to a core structure. In this paper, we
present generalizations of these facts to infinite structures that are not
necessarily omega-categorical. (This abstract has been severely curtailed by
the space constraints of arXiv -- please read the full abstract in the
article.) Finally, we present applications of our general results to the
description and analysis of the complexity of CSPs. In particular, we give
general hardness criteria based on the absence of polymorphisms that depend on
more than one argument, and we present a polymorphism-based description of
those CSPs that are first-order definable (and therefore can be solved in
polynomial time).Comment: Extended abstract appeared at 25th Symposium on Logic in Computer
Science (LICS 2010). This version will appear in the LMCS special issue
associated with LICS 201
Short Definitions in Constraint Languages
A first-order formula is called primitive positive (pp) if it only admits the use of existential quantifiers and conjunction. Pp-formulas are a central concept in (fixed-template) constraint satisfaction since CSP(?) can be viewed as the problem of deciding the primitive positive theory of ?, and pp-definability captures gadget reductions between CSPs.
An important class of tractable constraint languages ? is characterized by having few subpowers, that is, the number of n-ary relations pp-definable from ? is bounded by 2^p(n) for some polynomial p(n). In this paper we study a restriction of this property, stating that every pp-definable relation is definable by a pp-formula of polynomial length. We conjecture that the existence of such short definitions is actually equivalent to ? having few subpowers, and verify this conjecture for a large subclass that, in particular, includes all constraint languages on three-element domains. We furthermore discuss how our conjecture imposes an upper complexity bound of co-NP on the subpower membership problem of algebras with few subpowers
Queries with Guarded Negation (full version)
A well-established and fundamental insight in database theory is that
negation (also known as complementation) tends to make queries difficult to
process and difficult to reason about. Many basic problems are decidable and
admit practical algorithms in the case of unions of conjunctive queries, but
become difficult or even undecidable when queries are allowed to contain
negation. Inspired by recent results in finite model theory, we consider a
restricted form of negation, guarded negation. We introduce a fragment of SQL,
called GN-SQL, as well as a fragment of Datalog with stratified negation,
called GN-Datalog, that allow only guarded negation, and we show that these
query languages are computationally well behaved, in terms of testing query
containment, query evaluation, open-world query answering, and boundedness.
GN-SQL and GN-Datalog subsume a number of well known query languages and
constraint languages, such as unions of conjunctive queries, monadic Datalog,
and frontier-guarded tgds. In addition, an analysis of standard benchmark
workloads shows that most usage of negation in SQL in practice is guarded
negation
Short definitions in constraint languages
A first-order formula is called primitive positive (pp) if it only admits the
use of existential quantifiers and conjunction. Pp-formulas are a central
concept in (fixed-template) constraint satisfaction since CSP() can be
viewed as the problem of deciding the primitive positive theory of ,
and pp-definability captures gadget reductions between CSPs.
An important class of tractable constraint languages is
characterized by having few subpowers, that is, the number of -ary relations
pp-definable from is bounded by for some polynomial .
In this paper we study a restriction of this property, stating that every
pp-definable relation is definable by a pp-formula of polynomial length. We
conjecture that the existence of such short definitions is actually equivalent
to having few subpowers, and verify this conjecture for a large
subclass that, in particular, includes all constraint languages on
three-element domains. We furthermore discuss how our conjecture imposes an
upper complexity bound of co-NP on the subpower membership problem of algebras
with few subpowers
- …