128 research outputs found
On the Complexity of Nonrecursive XQuery and Functional Query Languages on Complex Values
This paper studies the complexity of evaluating functional query languages
for complex values such as monad algebra and the recursion-free fragment of
XQuery.
We show that monad algebra with equality restricted to atomic values is
complete for the class TA[2^{O(n)}, O(n)] of problems solvable in linear
exponential time with a linear number of alternations. The monotone fragment of
monad algebra with atomic value equality but without negation is complete for
nondeterministic exponential time. For monad algebra with deep equality, we
establish TA[2^{O(n)}, O(n)] lower and exponential-space upper bounds.
Then we study a fragment of XQuery, Core XQuery, that seems to incorporate
all the features of a query language on complex values that are traditionally
deemed essential. A close connection between monad algebra on lists and Core
XQuery (with ``child'' as the only axis) is exhibited, and it is shown that
these languages are expressively equivalent up to representation issues. We
show that Core XQuery is just as hard as monad algebra w.r.t. combined
complexity, and that it is in TC0 if the query is assumed fixed.Comment: Long version of PODS 2005 pape
Interval-based Synthesis
We introduce the synthesis problem for Halpern and Shoham's modal logic of
intervals extended with an equivalence relation over time points, abbreviated
HSeq. In analogy to the case of monadic second-order logic of one successor,
the considered synthesis problem receives as input an HSeq formula phi and a
finite set Sigma of propositional variables and temporal requests, and it
establishes whether or not, for all possible evaluations of elements in Sigma
in every interval structure, there exists an evaluation of the remaining
propositional variables and temporal requests such that the resulting structure
is a model for phi. We focus our attention on decidability of the synthesis
problem for some meaningful fragments of HSeq, whose modalities are drawn from
the set A (meets), Abar (met by), B (begins), Bbar (begun by), interpreted over
finite linear orders and natural numbers. We prove that the fragment ABBbareq
is decidable (non-primitive recursive hard), while the fragment AAbarBBbar
turns out to be undecidable. In addition, we show that even the synthesis
problem for ABBbar becomes undecidable if we replace finite linear orders by
natural numbers.Comment: In Proceedings GandALF 2014, arXiv:1408.556
Combining Spatial and Temporal Logics: Expressiveness vs. Complexity
In this paper, we construct and investigate a hierarchy of spatio-temporal
formalisms that result from various combinations of propositional spatial and
temporal logics such as the propositional temporal logic PTL, the spatial
logics RCC-8, BRCC-8, S4u and their fragments. The obtained results give a
clear picture of the trade-off between expressiveness and computational
realisability within the hierarchy. We demonstrate how different combining
principles as well as spatial and temporal primitives can produce NP-, PSPACE-,
EXPSPACE-, 2EXPSPACE-complete, and even undecidable spatio-temporal logics out
of components that are at most NP- or PSPACE-complete
- …