# Complexity of MSO # On words Shubh and Sreevani

March, 2024


Theorem

Assume . Let be an elementary function and a polynomial, then there is no model checking algorithm for monadic-second order logic on the class of words whose running time is bounded by

note:

  • PSPACE-Complete but words >>> formula irl.
  • Separate it out by considering FPT

FPT


A parameterized problem is called **fixed parameter tractable** if it can be solved in the time $$ \begin{align} &\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;f(k)\cdot p_k(n) \\ \text{where}\; & f \text{ is an arbitrary computable function} \\ & \quad\quad p_{k} \text{ is some polynomial.} \end{align} $$

note:

  • Problem is in FPT
    • Buchi Theorem
      • build automata in time
      • word check time linear
  • Still infeasible, so we want to try to bound

Elementary Functions

A function is elementary if where the power tower has height .

note:

  • We show that if it not possible by contradiction
    • give an efficient encoding for CNF + tiny formula
    • fast model checking algo Sat can be solved in

Efficient Encoding for

note:

  • CNF assignment
    • variables indexed by nats
    • find the variable of the CNF in the assignment
    • tiny formula to compare nats

And we have the following formula that checks if two encodings of natural numbers starting at positions and are the same.

note:

  • write formula and tell that its linear
  • tell that it can check numbers of size up to
  • Motivation for general case
    • write by had
    • And show how easy it is to write a formula for

And two numbers encoded by starting at positions and can be equated by the following formula.

note:

  • show that it is of complexity
    • explain why the above statement is a lie is the actual complexity
    • Show that we can also compute it in time linear to that.
  • And that we can compare number of 2^2^…^2^l (height h)

Efficient Encoding for formulas and assignments

note:

  • Write CNF definition on board
    • and of clauses

Literals




This logical formula checks if a literal starting at position evaluates to :

note: mention alphabets added.

Clause




This formula checks if a clause evaluates to true, i.e at least one literate in the clause that evaluates to :

note: mention alphabets added.

CNF Formula




This formula checks if a clause evaluates to true, i.e at least one literate in the clause that evaluates to :

note: mention alphabets added.

Assignment Encoding

An assignment is a function from the of propositional variables to . For an assignment we can give the following encoding to it.




Now, given a input of the form we give the following encoding.