Download as pdf or txt
Download as pdf or txt
You are on page 1of 54

LTL Model Checking By Automata

Model Checking
LTL Model Checking By Automata
[Baier & Katoen, Chapter 5.2]

Joost-Pieter Katoen and Tim Quatmann

Software Modeling and Verification Group

RWTH Aachen, SoSe 2022

Joost-Pieter Katoen and Tim Quatmann Lecture #8 1/41


LTL Model Checking By Automata

Overview

1 Linear Temporal Logic

2 LTL Model Checking

3 From LTL to GNBA

4 Complexity

5 Summary

Joost-Pieter Katoen and Tim Quatmann Lecture #8 2/41


LTL Model Checking By Automata

Topic

Joost-Pieter Katoen and Tim Quatmann Lecture #8 3/41


LTL Model Checking By Automata Linear Temporal Logic

Overview

1 Linear Temporal Logic

2 LTL Model Checking

3 From LTL to GNBA

4 Complexity

5 Summary

Joost-Pieter Katoen and Tim Quatmann Lecture #8 4/41


LTL Model Checking By Automata Linear Temporal Logic

LTL Syntax
Definition: LTL syntax
BNF grammar for LTL formulas with proposition a ∈ AP:
» » »» » »
ϕ ∶∶= true »»»» a »»»» ϕ1 ∧ ϕ2 »» ¬ϕ »»» ◯ϕ »»» ϕ1 U ϕ2
»» »» »»
» »

▶ Propositional logic
▶ a ∈ AP atomic proposition
▶ ¬ϕ and ϕ ∧ ψ negation and conjunction

▶ Temporal modalities
▶ ◯ϕ neXt state fulfills ϕ
▶ ϕUψ ϕ holds Until a ψ-state is reached

Linear Temporal Logic (LTL) is a logic to describe LT properties

Joost-Pieter Katoen and Tim Quatmann Lecture #8 5/41


LTL Model Checking By Automata Linear Temporal Logic

Derived Operators

◇ ϕ ≡ true U ϕ “some time in the future”

□ϕ ≡ ¬ ◇¬ϕ “from now on forever”

Joost-Pieter Katoen and Tim Quatmann Lecture #8 6/41


LTL Model Checking By Automata Linear Temporal Logic

Semantics Over Words


Definition: LTL semantics over infinite words
The LT-property induced by LTL formula ϕ over AP is:
ω
Words(ϕ) = { σ ∈ (2 ) ∣ σ ⊧ ϕ }, where ⊧ is the smallest relation with:
AP

σ ⊧ true
σ ⊧ a iff a ∈ A0 (i.e., A0 ⊧ a)
σ ⊧ ϕ1 ∧ ϕ2 iff σ ⊧ ϕ1 and σ ⊧ ϕ2
σ ⊧ ¬ϕ /ϕ
iff σ ⊧
σ ⊧ ◯ϕ iff σ[1..] = A1 A2 A3 . . . ⊧ ϕ
σ ⊧ ϕ1 U ϕ2 iff ∃j ≥ 0. σ[j..] ⊧ ϕ2 and σ[i..] ⊧ ϕ1 , 0 ≤ i < j

for σ = A0 A1 A2 . . ., let σ[i..] = Ai Ai+1 Ai+2 . . . be the suffix of σ from index i on.

Joost-Pieter Katoen and Tim Quatmann Lecture #8 7/41


LTL Model Checking By Automata Linear Temporal Logic

Semantics of □, ◇, □◇ and ◇□

σ ⊧ ◇ϕ iff ∃j ≥ 0. σ[j..] ⊧ ϕ

σ ⊧ □ϕ iff ∀j ≥ 0. σ[j..] ⊧ ϕ

Joost-Pieter Katoen and Tim Quatmann Lecture #8 8/41


LTL Model Checking By Automata Linear Temporal Logic

Semantics of □, ◇, □◇ and ◇□

σ ⊧ ◇ϕ iff ∃j ≥ 0. σ[j..] ⊧ ϕ

σ ⊧ □ϕ iff ∀j ≥ 0. σ[j..] ⊧ ϕ

σ ⊧ □◇ ϕ iff ∀j ≥ 0. ∃i ≥ j. σ[i . . .] ⊧ ϕ
ÍÒÒ Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ñ Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ï
infinitely often ϕ

Joost-Pieter Katoen and Tim Quatmann Lecture #8 8/41


LTL Model Checking By Automata Linear Temporal Logic

Semantics of □, ◇, □◇ and ◇□

σ ⊧ ◇ϕ iff ∃j ≥ 0. σ[j..] ⊧ ϕ

σ ⊧ □ϕ iff ∀j ≥ 0. σ[j..] ⊧ ϕ

σ ⊧ □◇ ϕ iff ∀j ≥ 0. ∃i ≥ j. σ[i . . .] ⊧ ϕ
ÍÒÒ Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ñ Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ï
infinitely often ϕ

σ ⊧ ◇□ ϕ iff ∃j ≥ 0.∀i ≥ j. σ[i . . .] ⊧ ϕ


ÍÒÒ Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò ÒÑÒ Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ï
persistence of ϕ

Joost-Pieter Katoen and Tim Quatmann Lecture #8 8/41


LTL Model Checking By Automata Linear Temporal Logic

Semantics over Transition Systems


Let TS = (S, Act, →, I, AP, L) be a transition system
and ϕ be an LTL-formula over AP.

▶ For infinite path fragment π of TS:

π⊧ϕ iff trace(π) ⊧ ϕ

▶ For state s ∈ S:

s⊧ϕ iff ∀π ∈ Paths(s). π ⊧ ϕ

▶ For transition system TS:

TS ⊧ ϕ iff Traces(TS) ⊆ Words(ϕ) iff ∀s ∈ I. s ⊧ ϕ

Joost-Pieter Katoen and Tim Quatmann Lecture #8 9/41


LTL Model Checking By Automata Linear Temporal Logic

Example

Joost-Pieter Katoen and Tim Quatmann Lecture #8 10/41


LTL Model Checking By Automata LTL Model Checking

Overview

1 Linear Temporal Logic

2 LTL Model Checking

3 From LTL to GNBA

4 Complexity

5 Summary

Joost-Pieter Katoen and Tim Quatmann Lecture #8 11/41


LTL Model Checking By Automata LTL Model Checking

The LTL Model Checking Problem

Given:

1. finite transition system TS, and

2. LTL-formula ϕ

/ ϕ, provide a counterexample.
decide whether TS ⊧ ϕ, and if TS ⊧

Joost-Pieter Katoen and Tim Quatmann Lecture #8 12/41


LTL Model Checking By Automata LTL Model Checking

LTL Model Checking By Automata

In this lecture we show:

AP
For any LTL-formula ϕ (over AP) there exists an NBA Aϕ over 2 with

Words(ϕ) = Lω (Aϕ ).

▶ Words(ϕ) is ω-regular

▶ Given Aϕ , we already know how to check TS ⊧ Lω (Aϕ )


ÍÒÒ Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò ÒÑÒ Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò Ò ÒÏ
iff TS ⊧ ϕ

Joost-Pieter Katoen and Tim Quatmann Lecture #8 13/41


LTL Model Checking By Automata LTL Model Checking

NBA for LTL Formulae

Joost-Pieter Katoen and Tim Quatmann Lecture #8 14/41


LTL Model Checking By Automata LTL Model Checking

NBA for LTL Formulae

Joost-Pieter Katoen and Tim Quatmann Lecture #8 15/41


LTL Model Checking By Automata LTL Model Checking

NBA for LTL Formulae

Joost-Pieter Katoen and Tim Quatmann Lecture #8 15/41


LTL Model Checking By Automata LTL Model Checking

Büchi Automaton for LTL Formula ◇□a

Joost-Pieter Katoen and Tim Quatmann Lecture #8 16/41


LTL Model Checking By Automata LTL Model Checking

Büchi Automaton for LTL Formula ◇□a


true a
a
NBA: s t

Recall from Lecture #5:

No DBA for Words(◇□a) exists

▶ There is a need to use NBA

Joost-Pieter Katoen and Tim Quatmann Lecture #8 16/41


LTL Model Checking By Automata LTL Model Checking

A Naive Attempt
TS ⊧ ϕ if and only if Traces(TS) ⊆ Words(ϕ)

if and only if Traces(TS) ⊆ Lω (Aϕ )

if and only if Traces(TS) ∩ Lω (Aϕ ) = ∅

if and only if Traces(TS) ∩ Lω (Aϕ ) = ∅.

Naive idea: check whether TS has no behaviour accepted by NBA Aϕ

But complementation of NBA yields a blow-up:


2
n
if A has n states, A has c states in worst case
⇒ use the fact that: Lω (Aϕ ) = Lω (A¬ϕ )

Joost-Pieter Katoen and Tim Quatmann Lecture #8 17/41


LTL Model Checking By Automata LTL Model Checking

Approach
TS ⊧ ϕ if and only if Traces(TS) ⊆ Words(ϕ)

if and only if Traces(TS) ⊆ Lω (Aϕ )

if and only if Traces(TS) ∩ Lω (Aϕ ) = ∅

if and only if Traces(TS) ∩ Lω (Aϕ ) = ∅

if and only if Traces(TS) ∩ Lω (A¬ϕ ) = ∅

if and only if TS ⊗ A¬ϕ ⊧ ◇□ ¬F

where F is the set of accept states of NBA A¬ϕ .

Joost-Pieter Katoen and Tim Quatmann Lecture #8 18/41


LTL Model Checking By Automata LTL Model Checking

Approach
TS ⊧ ϕ if and only if Traces(TS) ⊆ Words(ϕ)

if and only if Traces(TS) ⊆ Lω (Aϕ )

if and only if Traces(TS) ∩ Lω (Aϕ ) = ∅

if and only if Traces(TS) ∩ Lω (Aϕ ) = ∅

if and only if Traces(TS) ∩ Lω (A¬ϕ ) = ∅

if and only if TS ⊗ A¬ϕ ⊧ ◇□ ¬F

where F is the set of accept states of NBA A¬ϕ .

LTL model checking is thus reduced to persistence checking


Joost-Pieter Katoen and Tim Quatmann Lecture #8 18/41
LTL Model Checking By Automata LTL Model Checking

Automata-Based LTL Model Checking

Joost-Pieter Katoen and Tim Quatmann Lecture #8 19/41


LTL Model Checking By Automata LTL Model Checking

From LTL to NBA

Joost-Pieter Katoen and Tim Quatmann Lecture #8 20/41


LTL Model Checking By Automata LTL Model Checking

Recap: Generalized Büchi Automata

Definition: Generalized Büchi automata


A generalized NBA (GNBA) G is a tuple (Q, Σ, δ, Q0 , F) where Q, Σ, δ, Q0
are as before and

F = { F1 , . . . , Fk } with Fi ⊆ Q

for some natural k ∈ N.

ω
Run q0 q1 . . . ∈ Q is accepting if ∀Fj ∈ F: qi ∈ Fj for infinitely many i

The size of G, denoted ∣G∣, is the number of states and transitions in G

Joost-Pieter Katoen and Tim Quatmann Lecture #8 21/41


LTL Model Checking By Automata LTL Model Checking

GNBA and NBA are Equally Expressive

For every GNBA G there exists an NBA A with

Lω (G) = Lω (A) with ∣A∣ = O(∣G∣ ⋅ ∣F∣)

where F = { F1 , . . . , Fk } denotes the set of acceptance sets in G.

Proof.
For k=0, 1, this result follows directly. For k > 1, make k copies of G:
▶ initial states of NBA := the initial states in the first copy
▶ final states of NBA := accept set F1 in the first copy
▶ on visiting in i-th copy a state in Fi , then move to the (i+1)-st copy

Joost-Pieter Katoen and Tim Quatmann Lecture #8 22/41


LTL Model Checking By Automata From LTL to GNBA

Overview

1 Linear Temporal Logic

2 LTL Model Checking

3 From LTL to GNBA

4 Complexity

5 Summary

Joost-Pieter Katoen and Tim Quatmann Lecture #8 23/41


LTL Model Checking By Automata From LTL to GNBA

How to Obtain a GNBA?

Given: an LTL-formula ϕ over AP

▶ Assume ϕ only contains the operators ∧, ¬, ◯ and U


▶ ∨, →, ◇, □, W , and so on, are derived from these base operators

with Lω (Gϕ ) = Words(ϕ)


AP
Task: construct a GNBA Gϕ over 2

Joost-Pieter Katoen and Tim Quatmann Lecture #8 24/41


LTL Model Checking By Automata From LTL to GNBA

GNBA Gϕ —Intuition (1)


▶ States of Gϕ encode a “guess”:
Which sub-formulas of ϕ hold at the current position?
▶ The guess has to be consistent
Example: if we guess that a holds, then ¬a ∧ b cannot hold as well

▶ Transitions and accept sets of Gϕ validate the “guess”

Joost-Pieter Katoen and Tim Quatmann Lecture #8 25/41


LTL Model Checking By Automata From LTL to GNBA

GNBA Gϕ —Intuition (2)


▶ States of Gϕ are elementary sets Bi of sub-formulas in ϕ
▶ for σ = A0 A1 . . . ∈ Words(ϕ), expand Ai ⊆ AP with sub-formulas of ϕ
▶ . . . to obtain the infinite word σ̄ = B0 B1 . . . with Bi a set of
sub-formulas of ϕ such that
i
ψ ∈ Bi if and only if σ = Ai Ai+1 . . . ⊧ ψ

▶ σ̄ is intended to be a run of GNBA Gϕ for σ

Joost-Pieter Katoen and Tim Quatmann Lecture #8 26/41


LTL Model Checking By Automata From LTL to GNBA

GNBA Gϕ —Intuition (2)


▶ States of Gϕ are elementary sets Bi of sub-formulas in ϕ
▶ for σ = A0 A1 . . . ∈ Words(ϕ), expand Ai ⊆ AP with sub-formulas of ϕ
▶ . . . to obtain the infinite word σ̄ = B0 B1 . . . with Bi a set of
sub-formulas of ϕ such that
i
ψ ∈ Bi if and only if σ = Ai Ai+1 . . . ⊧ ψ

▶ σ̄ is intended to be a run of GNBA Gϕ for σ

▶ Transitions are derived from semantics ◯ and expansion law for U

▶ Accept sets guarantee that: σ̄ is an accepting run for σ iff σ ⊧ ϕ

▶ Elementary set Bi is an initial state iff ϕ ∈ Bi

Joost-Pieter Katoen and Tim Quatmann Lecture #8 26/41


LTL Model Checking By Automata From LTL to GNBA

Closure

Definition: Closure
The closure of LTL-formula ϕ is the set cl(ϕ) consisting of all sub-formulas
ψ of ϕ and their negation ¬ψ where ψ and ¬¬ψ are identified.

Example
For ϕ = a U (¬a ∧ b) we have

cl(ϕ) = { a, b, ¬a, ¬b, ¬a ∧ b, ¬(¬a ∧ b), ϕ, ¬ϕ }.

We cannot take Bi as arbitrary subset of cl(ϕ).


They must be elementary.

Joost-Pieter Katoen and Tim Quatmann Lecture #8 27/41


LTL Model Checking By Automata From LTL to GNBA

Elementary Sets

Definition: Elementary sets


B ⊆ cl(ϕ) is elementary if all following conditions hold:

Joost-Pieter Katoen and Tim Quatmann Lecture #8 28/41


LTL Model Checking By Automata From LTL to GNBA

Elementary Sets

Definition: Elementary sets


B ⊆ cl(ϕ) is elementary if all following conditions hold:

1. B is maximally consistent, i.e., for all ϕ1 ∧ ϕ2 , ψ ∈ cl(ϕ):


▶ ϕ1 ∧ ϕ2 ∈ B ⇔ ϕ1 ∈ B and ϕ2 ∈ B
▶ ψ∈ / B ⇔ ¬ψ ∈ B
▶ true ∈ cl(ϕ) ⇒ true ∈ B

Joost-Pieter Katoen and Tim Quatmann Lecture #8 28/41


LTL Model Checking By Automata From LTL to GNBA

Elementary Sets

Definition: Elementary sets


B ⊆ cl(ϕ) is elementary if all following conditions hold:

1. B is maximally consistent, i.e., for all ϕ1 ∧ ϕ2 , ψ ∈ cl(ϕ):


▶ ϕ1 ∧ ϕ2 ∈ B ⇔ ϕ1 ∈ B and ϕ2 ∈ B
▶ ψ∈ / B ⇔ ¬ψ ∈ B
▶ true ∈ cl(ϕ) ⇒ true ∈ B

2. B is locally consistent, i.e., for all ϕ1 U ϕ2 ∈ cl(ϕ):


▶ ϕ2 ∈ B ⇒ ϕ1 U ϕ2 ∈ B
/ B ⇒ ϕ1 ∈ B
▶ ϕ1 U ϕ2 ∈ B and ϕ2 ∈

Joost-Pieter Katoen and Tim Quatmann Lecture #8 28/41


LTL Model Checking By Automata From LTL to GNBA

Examples

Joost-Pieter Katoen and Tim Quatmann Lecture #8 29/41


LTL Model Checking By Automata From LTL to GNBA

Automaton Construction
Definition: The GNBA for and LTL Formula
For LTL-formula ϕ, let Gϕ = (Q, 2 , δ, Q0 , F) where
AP

Joost-Pieter Katoen and Tim Quatmann Lecture #8 30/41


LTL Model Checking By Automata From LTL to GNBA

Automaton Construction
Definition: The GNBA for and LTL Formula
For LTL-formula ϕ, let Gϕ = (Q, 2 , δ, Q0 , F) where
AP

▶ Q is the set of all elementary sets of formulas B ⊆ cl(ϕ) with


Q0 = { B ∈ Q ∣ ϕ ∈ B }

Joost-Pieter Katoen and Tim Quatmann Lecture #8 30/41


LTL Model Checking By Automata From LTL to GNBA

Automaton Construction
Definition: The GNBA for and LTL Formula
For LTL-formula ϕ, let Gϕ = (Q, 2 , δ, Q0 , F) where
AP

▶ Q is the set of all elementary sets of formulas B ⊆ cl(ϕ) with


Q0 = { B ∈ Q ∣ ϕ ∈ B }

/ B ∩ AP, then δ(B, A) = ∅.


▶ If A =
▶ For B ′ ∈ Q: B ′ ∈ δ(B, B ∩ AP) iff

(i) For every ◯ ψ ∈ cl(ϕ): ◯ ψ ∈ B ⇔ ψ ∈ B , and
(ii) For every ϕ1 U ϕ2 ∈ cl(ϕ):

⇔ (ϕ2 ∈ B ∨ (ϕ1 ∈ B ∧ ϕ1 U ϕ2 ∈ B ))

ϕ1 U ϕ2 ∈ B

Joost-Pieter Katoen and Tim Quatmann Lecture #8 30/41


LTL Model Checking By Automata From LTL to GNBA

Automaton Construction
Definition: The GNBA for and LTL Formula
For LTL-formula ϕ, let Gϕ = (Q, 2 , δ, Q0 , F) where
AP

▶ Q is the set of all elementary sets of formulas B ⊆ cl(ϕ) with


Q0 = { B ∈ Q ∣ ϕ ∈ B }

/ B ∩ AP, then δ(B, A) = ∅.


▶ If A =
▶ For B ′ ∈ Q: B ′ ∈ δ(B, B ∩ AP) iff

(i) For every ◯ ψ ∈ cl(ϕ): ◯ ψ ∈ B ⇔ ψ ∈ B , and
(ii) For every ϕ1 U ϕ2 ∈ cl(ϕ):

⇔ (ϕ2 ∈ B ∨ (ϕ1 ∈ B ∧ ϕ1 U ϕ2 ∈ B ))

ϕ1 U ϕ2 ∈ B

▶ F = { Fϕ1 U ϕ2 ∣ ϕ1 U ϕ2 ∈ cl(ϕ) } where


Fϕ1 U ϕ2 = { B ∈ Q ∣ ϕ1 U ϕ2 ∈
/ B or ϕ2 ∈ B }

Joost-Pieter Katoen and Tim Quatmann Lecture #8 30/41


LTL Model Checking By Automata From LTL to GNBA

Example: ϕ ≔ ◯ a

Joost-Pieter Katoen and Tim Quatmann Lecture #8 31/41


LTL Model Checking By Automata From LTL to GNBA

Example: ϕ ≔ ◯ a

Joost-Pieter Katoen and Tim Quatmann Lecture #8 31/41


LTL Model Checking By Automata From LTL to GNBA

Example: ϕ ≔ ◯ a

Joost-Pieter Katoen and Tim Quatmann Lecture #8 32/41


LTL Model Checking By Automata From LTL to GNBA

Example: ϕ ≔ ◯ a

Joost-Pieter Katoen and Tim Quatmann Lecture #8 33/41


LTL Model Checking By Automata From LTL to GNBA

Main Theorem

[Vardi, Wolper & Sistla 1986]


AP
For any LTL-formula ϕ (over AP) there exists a GNBA Gϕ over 2 with:
(a) Words(ϕ) = Lω (Gϕ )
∣ϕ∣
(b) Gϕ can be constructed in time and space O (2 )
(c) #accepting sets of Gϕ is bounded above by O(∣ϕ∣).

Corollary
For every LTL-formula ϕ, Words(ϕ) is ω-regular.

Joost-Pieter Katoen and Tim Quatmann Lecture #8 34/41


LTL Model Checking By Automata From LTL to GNBA

NBA More Expressive Than LTL

There is no LTL formula ϕ with Words(ϕ) = E for the LT-property:


{a} ω
E = { A0 A1 A2 . . . ∈ (2 ) ∣ a ∈ A2i for i ≥ 0 }

But there exists an NBA A with Lω (A) = E .

Proof.
Omitted.

Joost-Pieter Katoen and Tim Quatmann Lecture #8 35/41


LTL Model Checking By Automata Complexity

Overview

1 Linear Temporal Logic

2 LTL Model Checking

3 From LTL to GNBA

4 Complexity

5 Summary

Joost-Pieter Katoen and Tim Quatmann Lecture #8 36/41


LTL Model Checking By Automata Complexity

Lower Bound

There exists a family of LTL formulas ϕn with ∣ϕn ∣ = O(poly (n)) such that
n
every NBA Aϕn for ϕn has at least 2 states.

Proof.
On the black board.

Joost-Pieter Katoen and Tim Quatmann Lecture #8 37/41


LTL Model Checking By Automata Complexity

Complexity

The time and space complexity of automata-based LTL model checking is


∣ϕ∣
O( ∣TS∣ ⋅ 2 )

Joost-Pieter Katoen and Tim Quatmann Lecture #8 38/41


LTL Model Checking By Automata Complexity

Complexity

The time and space complexity of automata-based LTL model checking is


∣ϕ∣
O( ∣TS∣ ⋅ 2 )

Proof.
1. the closure of LTL formula ϕ has size in O(∣ϕ∣)
∣ϕ∣
2. the number of elementary sets is in O(2 )
∣ϕ∣
3. the number of states in the GNBA Gϕ is in O(2 )
4. the number of acceptance sets in GNBA Gϕ is in O(∣ϕ∣)
∣ϕ∣
5. the size of the NBA Aϕ is in O(∣ϕ∣ ⋅ 2 )
∣ϕ∣
6. the size of TS ⊗ Aϕ is in O( ∣TS∣ ⋅ 2 )
7. determining TS ⊗ Aϕ ⊧ ◇□¬F is in O(∣TS ⊗ Aϕ ∣).
Joost-Pieter Katoen and Tim Quatmann Lecture #8 38/41
LTL Model Checking By Automata Summary

Overview

1 Linear Temporal Logic

2 LTL Model Checking

3 From LTL to GNBA

4 Complexity

5 Summary

Joost-Pieter Katoen and Tim Quatmann Lecture #8 39/41


LTL Model Checking By Automata Summary

Summary
▶ LTL model checking exploits a GNBA A¬ϕ for the negation of ϕ

▶ States of the GNBA are subsets of certain sub-formulas of ϕ

▶ Taking these subsets give rises to an exponential blow-up. This


cannot be avoided

▶ For each until-sub-formula of ϕ, the GNBA has one acceptance set

▶ Each LTL-formula describes an ω-regular LT property

▶ LTL is strictly less expressive than ω-regular expressions

▶ LTL model checking by automata is linear in the size of the transition


system and exponential in the size of ϕ
Joost-Pieter Katoen and Tim Quatmann Lecture #8 40/41
LTL Model Checking By Automata Summary

Next Lecture

Thursday May 12, 12:30

Joost-Pieter Katoen and Tim Quatmann Lecture #8 41/41

You might also like