First-Order Logic with Counting: At Least, Weak Hanf Normal Forms Always Exist and Can Be Computed!
Not on the map. Why?
Abstract (arXiv)
We introduce the logic FOCN(P) which extends first-order logic by counting and by numerical predicates from a set P, and which can be viewed as a natural generalisation of various counting logics that have been studied in the literature. We obtain a locality result showing that every FOCN(P)-formula can be transformed into a formula in Hanf normal form that is equivalent on all finite structures of degree at most d. A formula is in Hanf normal form if it is a Boolean combination of formulas describing the neighbourhood around its tuple of free variables and arithmetic sentences with predicates from P over atomic statements describing the number of realisations of a type with a single centre. The transformation into Hanf normal form can be achieved in time elementary in d and the size of the input formula. From this locality result, we infer the following applications: (*) The Hanf-locality rank of first-order formulas of bounded quantifier alternation depth only grows polynomially with the formula size. (*) The model checking problem for the fragment FOC(P) of FOCN(P) on structures of bounded degree is fixed-parameter tractable (with elementary parameter dependence). (*) The query evaluation problem for fixed queries from FOC(P) over fully dynamic databases of degree at most d can be solved efficiently: there is a dynamic algorithm that can enumerate the tuples in the query result with constant delay, and that allows to compute the size of the query result and to test if a given tuple belongs to the query result within constant time after every database update.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Mar 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 2; 2025: 1; 2026: 3.
9 papers.
- 2023The Descriptive Complexity of Graph Neural Networkscited by 26
- 2023Translating Regulatory Clauses into Executable Codes for Building Design Checking via Large Language Model Driven Function Matching and Composingcited by 5
- 2022Automatic Verification of Sound Abstractions for Generalized Planningcited by 1
- 2024Are Targeted Messages More Effective?cited by 1
- 2024Abstracting Situation Calculus Action Theoriescited by 1
- 2025An Automatic Sound and Complete Abstraction Method for Generalized Planning with Baggable Typescited by 1
- 2026Query Languages for Machine-Learning Modelscited by 0
- 2026Abstraction Generation for Generalized Planning with Pretrained Large Language Modelscited by 0
- 2026Neuro-Relational Programs: Unifying Queries and Neural Computation over Structured Datacited by 0
- 2026Neuro-Relational Programs: Unifying Queries and Neural Computation over Structured Data10 Jun 2026
- 2026Abstraction Generation for Generalized Planning with Pretrained Large Language Models11 Feb 2026
- 2026Query Languages for Machine-Learning Models14 Jan 2026
- 2025An Automatic Sound and Complete Abstraction Method for Generalized Planning with Baggable Types25 Jan 2025
- 2024Abstracting Situation Calculus Action Theories9 Oct 2024
- 2024Are Targeted Messages More Effective?11 Mar 2024
- 2023Translating Regulatory Clauses into Executable Codes for Building Design Checking via Large Language Model Driven Function Matching and Composing17 Aug 2023
- 2023The Descriptive Complexity of Graph Neural Networks8 Mar 2023
- 2022Automatic Verification of Sound Abstractions for Generalized Planning24 May 2022