19
Stack Exchange
votes

To what extent MSO = WS1S, when adding relations?

Posted on 8/16/2010
UQ ID:11
Science
Theoretical Computer Science
Original

[This question has been asked on MathOverflow with no luck a month ago.]

Let me first clarify my definitions. For a word , with , I define two structures:

,

and the more usual word model :

,

where .

Then WS1S is the set of second order formulas with models of the form , with order, and for which second order quantification is limited to finite subsets of the domain. MSO is the set of monadic second order formulas with models of the form , with order.

The usual proof that REG = WS1S proves at the same time that MSO = WS1S. My question is then, for which first or second order relations can we keep this to be true?

For instance, if we add a unary predicate which says that a (monadic) second order variable contains an even number of objects, we add no power, as is expressible as "there exists and that partition , in such a way that if an element is in the next one in is in , , and the first element of is in and the last is in ."

Now, if we add a predicate , then WS1S becomes undecidable (see Klaedtke & Ruess, 10.1.1.7.3029), while MSO stays trivially decidable.

Thank you.


Edit: As a side question, ... is this question of interest? I mean, I'm no expert in the field, so I'm not sure this question is relevant.

Keywords & Tags
lo.logic
automata-theory
descriptive-complexity
Model Answers (9)
Submitted answers from various AI models
Unsolved
No reviews yet

K2-Think

Pending UQ Validation
Needs Human Verification
MBZUAI-IFM
Qwen2.5-32B
Sep 18, 2025, 01:50 PM

The equivalence between MSO (Monadic Second Order Logic over finite words) and WS1S (Weak Monadic Second Order Logic over ℕ with finite subsets) holds for the standard case where both logics capture regular languages. When adding new relations, the equivalence is preserved if and only if the added relations are definable in both logics using their original vocabularies (i.e., order < and sym...

0 model reviews
0 human reviews
No reviews yet

GPT-5

UQ Validated
Needs Human Verification
OpenAI
Sep 2, 2025, 06:56 AM

Short answer

  • The Büchi–Elgot–Trakhtenbrot equivalence (MSO on finite words = WS1S on N with finite-set quantification) is robust under adding any relations that are already MSO-definable in the basic signature; in particular, all “regular” and modular-counting predicates preserve both equivalence and decidability.
  • A much wider class also works: adding Presburger-style cardinality constraints o...
0 model reviews
0 human reviews
No reviews yet

Claude 3.7 Sonnet

Failed UQ Validation
Needs Human Verification
Anthropic
Aug 1, 2025, 12:00 AM

MSO vs WS1S: Equivalence Under Additional Relations

Your question is definitely of interest in theoretical computer science and logic! It explores the boundary conditions of two fundamental logical formalisms.

Understanding the Base Equivalence

The standard equivalence between MSO (over finite words) and WS1S occurs because:

  1. Both logics exactly characterize the regular languages
  2. For...
0 model reviews
0 human reviews
No reviews yet

o3 Pro

Failed UQ Validation
Needs Human Verification
OpenAI
Aug 1, 2025, 12:00 AM

Let τ₀ = {<} ∪ {Qₐ | a ∈ Σ }.
For a finite word w the two structures you look at are

 N(w) = ⟨ ℕ , < , (Qₐ)ₐ ⟩ (WS1S – “weak”, finite–set quantification)
 Nᵣ(w) = ⟨ {0,…,|w|–1}, < , (Qₐ)ₐ ⟩ (MSO – ordinary monadic second–order logic)

Over the vocabulary τ₀ the Büchi/Elgot/Trakhtenbrot theorem gives

 REG = L(WS1S,τ₀) = L(MSO,τ₀).

Now fix an additiona...

0 model reviews
0 human reviews
No reviews yet

DeepSeek R1

Failed UQ Validation
Needs Human Verification
DeepSeek
deepseek-ai/DeepSeek-R1
Aug 1, 2025, 12:00 AM
<think> Okay, the user is asking about the relationship between MSO and WS1S when adding extra relations. Let me start by recalling the definitions. MSO is monadic second-order logic over finite word models, while WS1S is weak monadic second-order logic over infinite structures with finite sets. The standard proof shows they're equivalent for defining regular languages. The question is, when addin...
0 model reviews
0 human reviews
No reviews yet

o4 mini

Failed UQ Validation
Needs Human Verification
OpenAI
Aug 1, 2025, 12:00 AM

Below is a sketch of why “whatever you can define already in MSO (or equivalently in WS1S) you may safely add as a primitive symbol, and you do not gain any extra power or lose decidability, but as soon as you add something not already MSO‐definable the two logics split (or you even lose decidability in the WS1S‐version).” In practice this means:

  1. **Regular (or automatic) relations on po...
0 model reviews
0 human reviews
No reviews yet

o3

Failed UQ Validation
Needs Human Verification
OpenAI
Aug 1, 2025, 12:00 AM

(Throughout we write

 WS1S(w) := ⟨ ℕ , < , Qₐ₁ , … , Qₐₖ ⟩ and MSO(w) := ⟨ {0,…,|w|–1} , < , Qₐ₁ , … , Qₐₖ ⟩ .
“WS1S-formulas” are interpreted in the first structure, but second–order quantifiers range only over finite sets; “MSO-formulas” are interpreted in the second structure and quantify over arbitrary subsets of the finite domain.)

Why do WS1S and MSO define the same languages in th...

0 model reviews
0 human reviews
No reviews yet

Gemini 2.5 Pro

Failed UQ Validation
Needs Human Verification
Google
Aug 1, 2025, 12:00 AM

Excellent question. It touches upon a fundamental topic in logic, automata theory, and descriptive complexity: the boundary of decidability and the expressive power of logical formalisms when augmented with new primitives.

Let's break down the problem to establish a clear answer.

Summary of the Answer

The equivalence between MSO on finite words and WS1S (for defining languages of finite wor...

0 model reviews
0 human reviews
No reviews yet

Claude Opus 4

Failed UQ Validation
Needs Human Verification
Anthropic
Aug 1, 2025, 12:00 AM

This is indeed an interesting question that touches on fundamental issues in logic and automata theory. Let me provide a comprehensive answer.

The Core Issue

The question explores when the equivalence MSO = WS1S is preserved when extending these logics with additional predicates. This is important because:

  1. MSO captures regular languages when interpreted on finite words
  2. WS1S (we...
0 model reviews
0 human reviews
Submit Your Model's Answer
Your submission will be validated by our LLM validator and then by human experts

You need to be logged in to submit an answer