Approximate Evaluation of First-Order Counting Queries

10/28/2020
by   Jan Dreier, et al.
0

Kuske and Schweikardt introduced the very expressive first-order counting logic FOC(P) to model database queries with counting operations. They showed that there is an efficient model-checking algorithm on graphs with bounded degree, while Grohe and Schweikardt showed that probably no such algorithm exists for trees of bounded depth. We analyze the fragment FO(>0) of this logic. While we remove for example subtraction and comparison between two non-atomic counting terms, this logic remains quite expressive: We allow nested counting and comparison between counting terms and arbitrarily large numbers. Our main result is an approximation scheme of the model-checking problem for FO(>0) that runs in linear fpt time on structures with bounded expansion. This scheme either gives the correct answer or says "I do not know." The latter answer may only be given if small perturbations in the number-symbols of the formula could make it both satisfied and unsatisfied. This is complemented by showing that exactly solving the model-checking problem for FO(>0) is already hard on trees of bounded depth and just slightly increasing the expressiveness of FO(>0) makes even approximation hard on trees.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/07/2022

Modulo-Counting First-Order Logic on Bounded Expansion Classes

We prove that, on bounded expansion classes, every first-order formula w...
research
01/17/2019

Flat Model Checking for Counting LTL Using Quantifier-Free Presburger Arithmetic

This paper presents an approximation approach to verifying counter syste...
research
05/09/2018

Parameterized circuit complexity of model checking first-order logic on sparse structures

We prove that for every class C of graphs with effectively bounded expan...
research
04/27/2022

Fairness and promptness in Muller formulas

In this paper we consider two different views of the model checking prob...
research
10/05/2021

Local certification of MSO properties for bounded treedepth graphs

The graph model checking problem consists in testing whether an input gr...
research
04/08/2022

On Presburger arithmetic extended with non-unary counting quantifiers

We consider a first-order logic for the integers with addition. This log...
research
11/15/2021

Towards Capturing PTIME with no Counting Construct (but with a Choice Operator)

The central open question in Descriptive Complexity is whether there is ...

Please sign up or login with your details

Forgot password? Click here to reset