Math 2.0

Computer science Definition

Model checking

Builds on Kripke semanticsLinear temporal logicComputation tree logic

Definition

Fix a temporal logic ℒ\mathcal{L}, such as linear temporal logic or computation tree logic, over a set APAP of atomic propositions. The model checking problem for ℒ\mathcal{L} is the following decision problem. The input is a finite Kripke structure M=(S,R,L)M = (S, R, L), a state s∈Ss \in S and a formula φ\varphi of ℒ\mathcal{L}. The question is whether M,s⊨φM, s \models \varphi.

Remarks

For CTL the problem can be solved in time O(∣M∣⋅∣φ∣)O(\abs{M} \cdot \abs{\varphi}), where ∣M∣=∣S∣+∣R∣\abs{M} = \abs{S} + \abs{R}. The algorithm labels the states with the subformulas of φ\varphi that they satisfy, from the innermost subformula outward. For LTL the problem is PSPACE-complete in the size of φ\varphi, and it can be solved in time O(∣M∣⋅2O(∣φ∣))O(\abs{M} \cdot 2^{O(\abs{\varphi})}) through a Büchi automaton for ¬φ\neg\varphi.

Example: let S={s,t}S = \set{s, t}, R={(s,t),(t,s)}R = \set{(s, t), (t, s)}, L(s)={p}L(s) = \set{p} and L(t)=∅L(t) = \emptyset. The only path from ss is s t s t⋯s\,t\,s\,t \cdots, so M,s⊨GFpM, s \models G F p in LTL, while M,s⊭GpM, s \not\models G p, since p∉L(t)p \notin L(t).

An input with an infinite state set is not an instance of this problem as defined here; for such systems the question can be undecidable.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Computation tree logic concept
  2. Kripke semantics concept
  3. Linear temporal logic concept
  4. Model checking definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Model_checking
About this page
Tag116FWJPRZK
URIm2://116FWJPRZK
Kinddefinition
WritingW0 stub
MSC68Q60, 03B44, 03B70
DefinesModel checking
UsesKripke semantics, Linear temporal logic, Computation tree logic
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.