202404161904

Tags : Logic

LTL vs CTL


Both LTL and CTL are temporal logics commonly used a languages for writing specification. This begs the question: Which is better?

What is better

Better in this context means more expressive, since both formulas are defined for Kripke Structures, using those as a comparison metric seems useful

We will say that one of the logics is more expressive than the other if give any structures and , one of them will be able to distinguish between them and the other one won’t

Spoiler Alert : They are incomparible!


CTL LTL

Consider the following Kripke Structures.

Transclude of CTL-not-weaker-than-LTL.excalidraw
The CTL formula .

  • This formula is satisfied by the left kripke structure but not by the right one.

LTL cannot distinguish between the two structures as the set of runs produced by both of them are the same.


LTL CTL

Consider the following LTL formula . This formula states that in each run of the kripke structure, there will be a point after which will be true in all states.

TODO : EF Games for CTL


References