Theoremresearch
Pnueli-Rosner theorem
Also called 2EXPTIME-completeness of LTL synthesis.
Synthesis of a reactive system from an LTL specification is complete for doubly exponential time.
The Pnueli-Rosner theorem gives the exact complexity of reactive synthesis from linear temporal logic. Deciding whether an LTL formula over inputs and outputs is realizable is complete for 2EXPTIME, the class of problems solvable in time for a polynomial . Pnueli and Rosner gave the upper bound in 1989, and Rosner proved the lower bound in his thesis of 1992. The theorem explains a gap that surprises many readers: LTL satisfiability and LTL model checking are PSPACE-complete, but realizability costs one more exponential, because the environment chooses the inputs as an adversary.
Statement
Let and be disjoint sets of input and output propositions, and let be an LTL formula over of length . Realizability is defined on the reactive synthesis page: some strategy makes every outcome satisfy .
Theorem (Pnueli and Rosner 1989, Rosner 1992).
- Upper bound. Realizability of can be decided in time . If is realizable, a Mealy machine with states that realizes it can be built in the same time.
- Lower bound. Realizability of LTL formulas is 2EXPTIME-hard.
So LTL realizability is 2EXPTIME-complete. The same holds for Moore strategies, where the output at a step does not depend on the input of that step.
In plain words
A specification over inputs and outputs is given. The question is whether some controller keeps it against every possible input. The theorem says how much time this question needs in the worst case.
The answer is "doubly exponential": the time grows like two raised to two raised to the length of the specification. An algorithm reaches this bound, and no algorithm can do much better in general.
This is one level higher than the cost of asking whether some single run meets the specification. The extra level comes from the opponent. The controller must decide now, without knowing what the inputs will do later, so it must be ready for all futures at once.
Proof
Upper bound
The algorithm is the reduction to a parity game on the reactive synthesis page. Its correctness is the Büchi-Landweber argument proved there. Here we count its cost. Let , so the alphabet has letters.
Step 1: a Büchi automaton. Build a nondeterministic Büchi automaton that accepts exactly the words that satisfy (LTL to Büchi translation, Vardi and Wolper 1994). It has states for a constant , and it is built in time .
Step 2: a deterministic parity automaton. Determinize into a deterministic parity automaton with the same language (Piterman 2006). It has states and priorities. Since ,
The construction takes time polynomial in and , so .
Step 3: the game. The parity game has an environment position for each state of and a system position for each state and input letter. The environment moves from to , and the system moves from to for an output letter . Both positions carry the priority of . The game has
so and are , and the game has priorities.
Step 4: solving the game. Zielonka's algorithm solves a parity game with positions, moves and priorities in time and returns positional winning strategies. With the bounds above,
for a constant . Here the exponent is exponential in , but it multiplies an exponent that is already exponential, so the result stays doubly exponential.
Step 5: the answer. By the Büchi-Landweber argument, is realizable exactly when the system wins from the initial state of . In that case a positional strategy of the system is a Mealy machine with the states of . The total time of the four steps is , which proves part 1.
For Moore strategies, swap the order of the moves: the system picks in , and then the environment picks . The counts do not change.
Why the automaton must be deterministic. If the game were played on the states of , with the system choosing the next state of , a win of the system would still give a correct strategy. But a loss would not prove that is unrealizable, because the system would have to resolve the choices of before it sees the future inputs. Take , and the valid formula , with the union of the usual two-state automaton for , which guesses when stays true forever, and a deterministic automaton for . If the system picks the second part, the environment plays forever. If it picks the first part, the environment plays right after the guess, or the system never guesses. In each case rejects the play, so the system loses the game on , yet is realizable, since it holds on every word. Determinization removes the choice.
Lower bound
Rosner (1992, PhD thesis) proved that LTL realizability is 2EXPTIME-hard: there is a polynomial-time reduction from every problem in 2EXPTIME to the realizability of LTL formulas. The proof is not repeated here.
As context for the bound: by the theorem of Chandra, Kozen and Stockmeyer (1981), 2EXPTIME equals the class of problems decided by alternating Turing machines in exponential space. Realizability has the same shape: two players with opposite goals, and a winning condition that needs an exponentially large automaton to check.
Two easier lower bounds follow at once from the special cases on the reactive synthesis page. With , realizability is validity, and with , it is satisfiability. Both are PSPACE-complete for LTL, so realizability is at least PSPACE-hard by these reductions alone. The thesis lifts this to 2EXPTIME.
Consequences
- Realizability is not satisfiability. By the time hierarchy theorem, EXPTIME is a proper subclass of 2EXPTIME. So LTL realizability is not in EXPTIME, while satisfiability is in PSPACE, which is inside EXPTIME. The adversarial environment adds at least one exponential that cannot be removed.
- Finite-state controllers suffice. A realizable LTL formula is realized by a Mealy machine with states. No controller with infinite memory is ever needed.
- Parity game solving is not the bottleneck. Even Zielonka's algorithm, which is exponential in the number of priorities, stays inside the doubly exponential bound, as step 4 shows. A faster solver from parity game solving, such as the quasi-polynomial algorithm of Calude and others (2017), makes the solving step cheaper but does not change the bound. The blowup comes from the determinization in step 2.
- Fragments. Practical tools work in fragments of LTL with cheaper determinization, such as GR(1), or search for small implementations directly, as in bounded synthesis on the reactive synthesis page.
Tightness
- Both exponentials are needed. The lower bound shows that no algorithm runs in time for a polynomial , by the time hierarchy theorem. The upper bound shows that time is enough.
- Determinization is the source of the second exponential. The Büchi automaton of step 1 is exponential in , and some Büchi automata need deterministic automata that are exponentially larger again, even on finite words (determinization blowup lower bound). A deterministic automaton is needed, as the example in the proof shows.
- Satisfiability and model checking stay in PSPACE. With no adversary, the same formula needs only a search for one lasso-shaped run, and the nondeterministic automaton of step 1 is enough.
- Richer logics cost more. For S1S the problem is still decidable (Büchi and Landweber 1969), but not elementary, because already its satisfiability is not elementary.
History
Church posed the synthesis problem for circuits in 1957. Büchi and Landweber (1969) solved it for S1S with finite-state strategies. Pnueli (1977) proposed LTL for reasoning about reactive programs. Pnueli and Rosner (1989) defined the realizability of LTL by a reactive module, pointed out that it differs from satisfiability, and gave an algorithm through deterministic tree automata. Its time is doubly exponential, with Safra's determinization of 1988 as the key step. Rosner's thesis (1992) proved the matching lower bound. Piterman (2006) gave a direct determinization into parity automata, which is the form used in the proof above.
References
- Amir Pnueli and Roni Rosner, On the synthesis of a reactive module, Principles of Programming Languages (POPL 1989), pp. 179-190, realizability of LTL by a reactive module, decided in doubly exponential time through the emptiness of a deterministic tree automaton, with a finite-state module when one exists
- Roni Rosner, Modular Synthesis of Reactive Systems, PhD thesis, Weizmann Institute of Science, Rehovot, 1992, the proof that LTL realizability is 2EXPTIME-hard, which makes the upper bound of 1989 tight
- J. Richard Büchi and Lawrence H. Landweber, Solving sequential conditions by finite-state strategies, Transactions of the American Mathematical Society 138, 1969, pp. 295-311, Church's problem for S1S is decidable, and finite-state strategies suffice
- Moshe Y. Vardi and Pierre Wolper, Reasoning about infinite computations, Information and Computation 115(1), 1994, pp. 1-37, the translation of an LTL formula of length n into a Büchi automaton with 2^O(n) states
- Shmuel Safra, On the complexity of omega-automata, Foundations of Computer Science (FOCS 1988), pp. 319-327, determinization of Büchi automata with 2^O(m log m) states
- Nir Piterman, From nondeterministic Büchi and Streett automata to deterministic parity automata, Logic in Computer Science (LICS 2006), pp. 255-264, a deterministic parity automaton with at most 2 m^m m! states and 2m priorities for a Büchi automaton with m states
- E. Allen Emerson and Charanjit S. Jutla, Tree automata, mu-calculus and determinacy, Foundations of Computer Science (FOCS 1991), pp. 368-377, positional determinacy of parity games
- Wiesław Zielonka, Infinite games on finitely coloured graphs with applications to automata on infinite trees, Theoretical Computer Science 200(1-2), 1998, pp. 135-183, the recursive algorithm for parity games
- Cristian S. Calude, Sanjay Jain, Bakhadyr Khoussainov, Wei Li and Frank Stephan, Deciding parity games in quasipolynomial time, Symposium on Theory of Computing (STOC 2017), pp. 252-263, parity games in time polynomial in the number of positions when the number of priorities is logarithmic, and quasi-polynomial in general
- Ashok K. Chandra, Dexter C. Kozen and Larry J. Stockmeyer, Alternation, Journal of the ACM 28(1), 1981, pp. 114-133, alternating exponential space equals doubly exponential time
- Amir Pnueli, The temporal logic of programs, Foundations of Computer Science (FOCS 1977), pp. 46-57, linear temporal logic as a specification language for reactive programs
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag R8YAMJ Edit this page History Report an error Markdown