← Tools & Demos

Concurrency & Process Algebra · Recorded demonstration

Animation of a patrol robot model

Inspect shared state and choices in a robotic model.

Originally published

The problem

Shared variables and nondeterministic choices make reactive behaviour harder to understand from a diagram alone.

The approach

The patrol-robot demonstration uses interaction trees in Isabelle/HOL to animate a RoboChart model with nondeterministic choice and shared variables. The corridor is divided into three sections with soft and hard boundaries.

See the research

Watch the demonstration

Animation of a patrol robot model

Demonstration published on 26 January 2023.

Captions and transcript are unavailable. The topics are summarised below.

Download the original recording (MP4) ↓

What this demonstrates

  1. Inspect the model

    The RoboChart diagram provides the specification context, including the model described as using shared variables and nondeterministic choice.

  2. Understand the corridor

    A separate three-section corridor illustration shows the environment with soft and hard boundaries.

  3. Watch the model animation

    The original recording makes the model behaviour available for inspection. No new trace, safety result or exhaustive analysis is claimed here.

The recording illustrates a particular model and semantic development. It is not an exhaustive proof of every possible execution or a demonstration of a physical robot. The associated theory branch and tool environment are needed to reproduce it.

Explore the source material

Model and case-study resources

Models & supporting figures

RoboChart patrol-robot model
RoboChart patrol-robot model

Original RoboChart model described as using nondeterministic choice and shared variables.

Three-section patrol corridor
Three-section patrol corridor

Original corridor diagram with soft and hard boundaries.

The later journal paper, Formally verified animation for RoboChart using interaction trees, is co-authored by K. Ye, S. Foster and J. Woodcock and published in 2024. It discusses the chemical-detector and patrol-robot models.

The January 2023 recording illustrates the patrol model; the later journal paper develops the formal results.

Source and model context

The implementation uses the RoboChart_basic_v1_1.thy theory in the robochart_nondeterminism_resolving branch. The model diagram and corridor illustration show the specification and environment. Consult the repository for its version and environment requirements; the static website does not execute the theory.

Related publications

Formally verified animation for RoboChart using interaction trees
K. Ye, S. Foster, and J. Woodcock · 2024

Research resources & references