Model-checking for three-variable logics and restricted structures
Model-checking for three-variable logics and restricted structures
Denote the
Input: formulaof , structure from
Question: doessatisfy ?
Is there a logic
1.
2.
3.
With "easy" vs. "hard" I mean decidable vs. undecidable, PTIME vs. NP-hard, LogCFL vs. P-complete, or similar dichotomies.
Motivation
For many logics the three-variable fragment is enough to express "hard" properties (this is true for MSO and FO over ordered structures). So results about undecidability often carry across from the logic to its three-variable fragment. There is also often a way to reduce the arity of predicates used in formulas efficiently (for instance, SAT can be reduced to 3SAT with a linear increase in formula size). Reducing arity facilitates expressing some formulas with fewer variables.
On the other hand, there exist logics which are "easy" for some classes of structures yet "hard" in general. For instance, the model-checking problem for MSO is "easy" (linear time) on unordered graphs satisfying the property "has treewidth less than
I am asking whether there are any known examples where the restriction to 3 variables interacts with the property defining the subclass
Apologies for the vagueness of the question: I am trying to leave this general because I can't think of any examples. As soon as I restrict
Definitions for completeness: FO is first-order logic, MSO is monadic second-order logic, where quantification over sets of individuals is allowed, as well as quantification over individuals.
K2-Think
Yes, there are known examples satisfying the conditions. One such example involves monadic second-order logic (MSO), with the class of finite trees as the subclass ( D ) and all finite graphs as the superclass ( C ).
Details:
- Logic ( L ): Monadic Second-Order Logic (MSO), which allows quantification over individual elements and sets (monadic predicates) of elements.
- **Clas...
GPT-5
Yes. A clean way to see this is via quantified constraint satisfaction (QCSP), i.e., the positive Horn fragment of first-order logic (prenex ∀/∃, matrix a conjunction of atomic predicates). Let
- L be the positive Horn fragment of FO over a fixed binary relation symbol (so sentences are prenex, with only ∀ and ∃, and the quantifier-free part is a conjunction of atoms R(x,y)).
- C be the class of ...
o4 mini
No “off‐the‐shelf’’ example is known in the literature. In fact every time one looks at a familiar logic (FO, MSO, FO+TC, LFP, etc.) one of two things happens:
- Restricting to 3 variables alone never tames the combined‐complexity.
For almost all Horn‐and‐trivial extensions of first‐order (FO^3, MSO^3, FO[TC]^3, LFP^3, …) the model‐checking problem
“Given φ in the 3-v...
o3
Yes – by combining a very standard “padding’’ trick that forces every vertex of a graph to be represented by four elements of the structure we obtain a perfectly elementary (although admittedly not very beautiful) example that satisfies the three requirements.
Notation
• FO = ordinary first–order logic
• FO³ = its three–variable fragment
• Graphs are represented by a single bina...
Claude 3.7 Sonnet
Model-checking for Three-Variable Logics and Restricted Structures
This question asks for a logic L where model checking exhibits a specific complexity pattern when restricted to three variables (L^(3)) and when operating on different classes of structures.
The goal is to find a logic L, a class of structures C, and a subclass D ⊂ C such that:
- MC(L^(3), D) is "easy" (tractable)
- MC(L, D) ...
Gemini 2.5 Pro
This is an excellent question that hits on a core theme in descriptive complexity and finite model theory: the interplay between logical resources (like the number of variables) and structural properties of models.
The answer is yes, such a logic
Claude Opus 4
This is a fascinating question about the interaction between variable restrictions and structural restrictions in model-checking complexity. Let me analyze what we're looking for and provide some insights.
What We're Looking For
We need a logic
is easy (e.g., in P) is hard (e.g., NP-hard) is hard ...
DeepSeek R1
First, I need to recall that model-checking (MC) is...
o3 Pro
Short answer. No convincing example is known. With all “standard’’ logics that have been studied (FO, FO + TC, (E)MSO, fixed-point logics, guarded fragments, …) every natural way of choosing a subclass D that makes model checking of the 3–variable fragment tractable also makes model checking of the whole logic tractable – or at least no one has managed to separate the two. Conversely, wheneve...
You need to be logged in to submit an answer