Papers
Topics
Authors
Recent
Search
2000 character limit reached

Counting on Nowhere Dense Classes

Published 16 Sep 2026 in cs.LO | (2609.18875v1)

Abstract: For every effectively nowhere dense class C\mathcal{C} of relational structures, we present an algorithm that runs an almost-linear-time preprocessing step on a given structure A∈C\mathcal{A} \in \mathcal{C} and a first-order formula φ(x1,…,xk,y1,…,yℓ)φ(x_1, \dots, x_k, y_1, \dots, y_\ell). After the preprocessing, whenever given a tuple vˉ∈A<sup>k\bar{v} \in A<sup>k, the algorithm computes the number of tuples wˉ∈A<sup>ℓ\bar{w} \in A<sup>\ell that satisfy A⊨φ(vˉ,wˉ)\mathcal{A} \models φ(\bar{v}, \bar{w}) in constant time. Building on this, we provide an algorithm for constant-time query answering and constant-delay enumeration after almost-linear-time preprocessing for the recently introduced logic clique-guarded first-order logic with counting (cgFOC) on effectively nowhere dense classes. This generalises the testing and enumeration results for first-order logic [Schweikardt, Segoufin, and Vigny, JACM 2022] and the evaluation result for the first-order logic with counting FOC1 [Grohe and Schweikardt, PODS 2018] on nowhere dense classes.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.