← Latest papers
💻 computer science

Visualising CTL Witnesses and Counterexamples -- Extended Version

This extended paper introduces a formal model for visualizing CTL witnesses and counterexamples on explicit-state models to enhance human comprehension, providing characterizations of minimal evidence for each temporal operator and a concrete implementation, along with proofs of all results.

Original authors: Arend Rensink

Published 2026-04-23
📖 5 min read🧠 Deep dive

Original authors: Arend Rensink

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a detective trying to solve a mystery about a complex machine. This machine can do many different things, and sometimes it behaves exactly as you hope, and sometimes it crashes or does something wrong.

In the world of computer science, this machine is a system, and the rules it's supposed to follow are called properties (like "the door must never open while the engine is running").

The Problem: Two Types of Logic

There are two main ways to write these rules, and they have very different personalities:

  1. LTL (Linear Time): This is like watching a movie. It looks at one single path of events from start to finish. If the movie has a bad scene, you can just point to that specific scene and say, "See? This is why it failed." It's easy to explain.
  2. CTL (Branching Time): This is like looking at a choose-your-own-adventure book. At every page, the story splits into multiple possible futures. The rules here are about all possible paths or some possible paths.
    • The Problem: If the book fails to follow the rules, you can't just point to one page. You have to explain a whole tree of possibilities. "Why did it fail?" is much harder to answer because the failure might depend on a path that didn't happen, but could have.

The Solution: "Evidence"

The author of this paper, Arend Rensink, asks: "How do we explain to a human why a branching-time rule passed or failed, without drowning them in a sea of possibilities?"

He proposes a new concept called Evidence. Think of evidence as the smallest, most essential piece of the puzzle needed to prove a point.

  • If the rule is PASSED (A Witness): The evidence is the "smallest possible version" of the machine that still works. It's like showing a tiny, working prototype of a car engine to prove the design works, ignoring all the extra parts that aren't strictly necessary.
  • If the rule is FAILED (A Counterexample): The evidence is the "smallest possible version" of the machine that guarantees it will fail. It's like showing a specific broken gear and a specific path the car could take that leads to a crash.

The Secret Ingredient: "Closed States"

The paper introduces a clever trick to make these explanations small and clear. It uses something called Closed States.

Imagine you are drawing a map of a city.

  • Open State: You draw a dot (a location) but leave the roads leading out of it blank. It's like saying, "Here is a place, but we don't know where the roads go yet."
  • Closed State: You draw a dot and put a big red "X" or a wall around it. You are saying, "This is the end of the road. No paths go out from here."

Why is this useful?
In the "choose-your-own-adventure" book, if you want to prove that a bad thing never happens, you have to show that every possible path eventually hits a dead end or loops safely. By marking certain states as "Closed," you are telling the reader: "Stop looking here. There are no other paths to check. We have proven that no matter what, you can't escape this loop."

This allows the "evidence" to be tiny. Instead of drawing the whole infinite universe of possibilities, you just draw the specific path and put a "Closed" sign at the end to say, "And that's it, no other options exist."

Visualizing the Proof

The paper also talks about how to show this to a human.

Imagine you have a giant, messy flowchart of the machine's logic.

  1. The "Proof" (The Tree): The computer calculates the answer.
  2. The "Evidence" (The Highlight): The tool highlights only the parts of the flowchart that matter.
    • If the machine won, it highlights the specific path that led to victory and fades everything else to gray.
    • If the machine lost, it highlights the specific path that led to disaster and puts "Closed" signs on the branches that were blocked.

The paper introduces two ways to make this even clearer:

  • Local Closure: If a rule is simple (like "A and B"), show the result of A and B right there, so you don't have to jump around the page.
  • Natural Evidence: Sometimes the mathematically "smallest" proof looks weird to a human (like a path that is too short to make sense). The tool adds a little bit of extra context to make it look like a "natural" story, even if it's slightly bigger than the absolute minimum.

The Big Picture

The author built a tool (a "demonstrator") that lets you click on any part of a system and see:

  • "Here is the tiny, perfect proof that this works."
  • "Here is the tiny, perfect proof that this fails."

In summary:
This paper solves the problem of "Why did my complex system fail?" by creating a new way to build minimal, easy-to-read stories (evidence) that explain the answer. It uses "Closed States" (dead ends) to cut off unnecessary possibilities, turning a confusing, branching maze into a clear, straight line that a human can understand.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →