arXiv:2610.09758cs.LOOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.09758

Two-Variable Logic with Arbitrarily Many Successor Relations

Jakub Michaliszyn, Piotr Witkowski

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

We study two-variable first-order logic with a finite, input-dependent number of distinguished successor relations and arbitrary additional unary and binary predicates. Each distinguished relation must be the exact immediate-successor relation of some linear order on the common domain; the orders themselves are not available in the language and may have arbitrary order types. We prove that satisfiability belongs to 2-NEXPTIME, uniformly in the number of successors.

The proof gives finite certificates for possibly infinite models. A closure operation separates local neighbourhood descriptions, called star types, into those of bounded multiplicity and those that can be realized infinitely often. The bounded part is represented explicitly. Outside it, integer height vectors allow overlapping successor requirements to be matched without creating cycles or unintended identifications. Ordering the resulting path components densely then recovers exact successor relations. Consistent assignments of the additional binary predicates handle witnesses involving the bounded part.

The same certificates decide infinite satisfiability in 2-NEXPTIME and give a doubly exponential threshold above which a finite model guarantees an infinite model. A doubly exponentially large finite core can be forced with only two successors and unary predicates. For finite models, we prove that satisfiability subject to a bound on the total number of reference adjacencies lost by the other orders is NEXPTIME-complete, even when the budget is encoded in binary and the number of successors is part of the input.

2012 ACM Subject Classification Theory of computation → Finite Model Theory; Theory of computation → Logic and verification

Keywords and phrases two-variable logic, successor relations, satisfiability, finite models, infinite models

Two-Variable Logic with Arbitrarily Many Successor Relations

1 Introduction

We prove that satisfiability for two-variable first-order logic remains decidable in the presence of arbitrarily many independent successor relations. The number of successors is part of the input, additional unary and binary predicates are unrestricted, and our 2-NEXPTIME upper bound is uniform in all these parameters. Each distinguished relation is the exact immediate-successor relation of a linear order on the common domain. The orders may have arbitrary order types and are absent from the signature.

This result identifies a boundary between access to order and access to adjacency. Ordinary two-variable first-order logic, FO2FO^{2}, uses only two variable names, reused under quantification; its satisfiability problem is NEXPTIME-complete and it has the finite-model property [18, 8]. Requiring three predicates to be linear orders already makes satisfiability undecidable, even with only additional unary predicates [9]. For successors, finite satisfiability with two distinguished relations is NEXPTIME-complete [6], also with additional binary predicates [4]. Our main theorem allows any input-dependent number of successors in arbitrary models, with no hierarchy or restriction on how their edges overlap. Different successors may share an edge or traverse the same pair in opposite directions. Here NEXPTIME and 2-NEXPTIME denote nondeterministic singly and doubly exponential time, respectively.

Passing to arbitrary models changes the problem substantially. Every successor relation on a finite domain is a single directed spanning path. On an infinite domain, an exact successor graph may have many components, or even no edges. Moreover, successor constraints destroy the finite-model property: ∀x∃yS1(x,y)\forall x \exists y S_1(x, y) has a model over Z\mathbb{Z} and no finite model. An empty successor relation on at least two elements is realizable over Q\mathbb{Q}, but cannot occur in a finite admissible model. A decision procedure must therefore account for models that are necessarily infinite.

▶ Theorem 1. Satisfiability of FO2FO^{2} with any finite number of distinguished exact successor relations belongs to 2-NEXPTIME, uniformly in the number of successors, with arbitrary additional unary and binary predicates. It is NEXPTIME-hard already with one distinguished successor.

References (38)