964 research outputs found
Modulo Counting on Words and Trees
We consider the satisfiability problem for the two-variable fragment of the first-order logic extended with modulo counting quantifiers and interpreted over finite words or trees. We prove a small-model property of this logic, which gives a technique for deciding the satisfiability problem. In the case of words this gives a new proof of EXPSPACE upper bound, and in the case of trees it gives a 2EXPTIME algorithm. This algorithm is optimal: we prove a matching lower bound by a generic reduction from alternating Turing machines working in exponential space; the reduction involves a development of a new version of tiling games
Preservation and decomposition theorems for bounded degree structures
We provide elementary algorithms for two preservation theorems for
first-order sentences (FO) on the class \^ad of all finite structures of degree
at most d: For each FO-sentence that is preserved under extensions
(homomorphisms) on \^ad, a \^ad-equivalent existential (existential-positive)
FO-sentence can be constructed in 5-fold (4-fold) exponential time. This is
complemented by lower bounds showing that a 3-fold exponential blow-up of the
computed existential (existential-positive) sentence is unavoidable. Both
algorithms can be extended (while maintaining the upper and lower bounds on
their time complexity) to input first-order sentences with modulo m counting
quantifiers (FO+MODm). Furthermore, we show that for an input FO-formula, a
\^ad-equivalent Feferman-Vaught decomposition can be computed in 3-fold
exponential time. We also provide a matching lower bound.Comment: 42 pages and 3 figures. This is the full version of: Frederik
Harwath, Lucas Heimberg, and Nicole Schweikardt. Preservation and
decomposition theorems for bounded degree structures. In Joint Meeting of the
23rd EACSL Annual Conference on Computer Science Logic (CSL) and the 29th
Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), CSL-LICS'14,
pages 49:1-49:10. ACM, 201
Logics for Unranked Trees: An Overview
Labeled unranked trees are used as a model of XML documents, and logical
languages for them have been studied actively over the past several years. Such
logics have different purposes: some are better suited for extracting data,
some for expressing navigational properties, and some make it easy to relate
complex properties of trees to the existence of tree automata for those
properties. Furthermore, logics differ significantly in their model-checking
properties, their automata models, and their behavior on ordered and unordered
trees. In this paper we present a survey of logics for unranked trees
Logic Meets Algebra: the Case of Regular Languages
The study of finite automata and regular languages is a privileged meeting
point of algebra and logic. Since the work of Buchi, regular languages have
been classified according to their descriptive complexity, i.e. the type of
logical formalism required to define them. The algebraic point of view on
automata is an essential complement of this classification: by providing
alternative, algebraic characterizations for the classes, it often yields the
only opportunity for the design of algorithms that decide expressibility in
some logical fragment.
We survey the existing results relating the expressibility of regular
languages in logical fragments of MSO[S] with algebraic properties of their
minimal automata. In particular, we show that many of the best known results in
this area share the same underlying mechanics and rely on a very strong
relation between logical substitutions and block-products of pseudovarieties of
monoid. We also explain the impact of these connections on circuit complexity
theory.Comment: 37 page
Gaifman Normal Forms for Counting Extensions of First-Order Logic
We consider the extension of first-order logic FO by unary counting quantifiers and generalise the notion of Gaifman normal form from FO to this setting. For formulas that use only ultimately periodic counting quantifiers, we provide an algorithm that computes equivalent formulas in Gaifman normal form. We also show that this is not possible for formulas using at least one quantifier that is not ultimately periodic.
Now let d be a degree bound. We show that for any formula phi with arbitrary counting quantifiers, there is a formula gamma in Gaifman normal form that is equivalent to phi on all finite structures of degree <= d. If the quantifiers of phi are decidable (decidable in elementary time, ultimately periodic), gamma can be constructed effectively (in elementary time, in worst-case optimal 3-fold exponential time).
For the setting with unrestricted degree we show that by using our Gaifman normal form for formulas with only ultimately periodic counting quantifiers, a known fixed-parameter tractability result for FO on classes of structures of bounded local tree-width can be lifted to the extension of FO with ultimately periodic counting quantifiers (a logic equally expressive as FO+MOD, i.e., first-oder logic with modulo-counting quantifiers)
Cardinality and counting quantifiers on omega-automatic structures
We investigate structures that can be represented by
omega-automata, so called omega-automatic structures, and prove
that relations defined over such structures in first-order logic
expanded by the first-order quantifiers `there exist at most
many\u27, \u27there exist finitely many\u27 and \u27there exist
modulo many\u27 are omega-regular. The proof identifies certain
algebraic properties of omega-semigroups.
As a consequence an omega-regular equivalence relation of countable
index has an omega-regular set of representatives. This implies
Blumensath\u27s conjecture that a countable structure with an
-automatic presentation can be represented using automata
on finite words. This also complements a very recent result of
Hj"orth, Khoussainov, Montalban and Nies showing that there is an
omega-automatic structure which has no injective presentation
Cardinality and counting quantifiers on omega-automatic structures
We investigate structures that can be represented by omega-automata, so
called omega-automatic structures, and prove that relations defined over such
structures in first-order logic expanded by the first-order quantifiers `there
exist at most many', 'there exist finitely many' and 'there exist
modulo many' are omega-regular. The proof identifies certain algebraic
properties of omega-semigroups. As a consequence an omega-regular equivalence
relation of countable index has an omega-regular set of representatives. This
implies Blumensath's conjecture that a countable structure with an
-automatic presentation can be represented using automata on finite
words. This also complements a very recent result of Hj\"orth, Khoussainov,
Montalban and Nies showing that there is an omega-automatic structure which has
no injective presentation
Model Checking Lower Bounds for Simple Graphs
A well-known result by Frick and Grohe shows that deciding FO logic on trees
involves a parameter dependence that is a tower of exponentials. Though this
lower bound is tight for Courcelle's theorem, it has been evaded by a series of
recent meta-theorems for other graph classes. Here we provide some additional
non-elementary lower bound results, which are in some senses stronger. Our goal
is to explain common traits in these recent meta-theorems and identify barriers
to further progress. More specifically, first, we show that on the class of
threshold graphs, and therefore also on any union and complement-closed class,
there is no model-checking algorithm with elementary parameter dependence even
for FO logic. Second, we show that there is no model-checking algorithm with
elementary parameter dependence for MSO logic even restricted to paths (or
equivalently to unary strings), unless E=NE. As a corollary, we resolve an open
problem on the complexity of MSO model-checking on graphs of bounded max-leaf
number. Finally, we look at MSO on the class of colored trees of depth d. We
show that, assuming the ETH, for every fixed d>=1 at least d+1 levels of
exponentiation are necessary for this problem, thus showing that the (d+1)-fold
exponential algorithm recently given by Gajarsk\`{y} and Hlin\u{e}n\`{y} is
essentially optimal
- …