Input Program

Program Graph

Formal Methods – A Learning Environment

rec4fun is a tool supporting procedures from Chapter 7 of the book Formal Methods – An Appetizer.

Browser Compatibility

The tool uses a responsive design and can be used on any device with a modern browser. The tool has been developed and tested in Google Chrome v60. The online version of the tool has also been tested in Firefox v49, Opera v46, Safari v10, and Internet Explorer v11.

About

The core functionality is written in F# and then converted to JavaScript using Fable.

Developed by Kasper Laursen and Hanne Riis Nielson, based on the specification developed by Hanne Riis Nielson and Flemming Nielson.

This software is protected under the Simplified BSD License and the Intellectual Property Rights of the Technical University of Denmark.

Bugs and suggestions

Please report all bugs and suggestions to post@formalmethods.dk.

Download

This tool is compiled to javascript, and therefore only requires a browser to run. Download the tool for offline usage.

Download Formal Methods – A Learning Environment

Step-wise Execution with Dynamic Scope

Explore how the memory changes, upon execution of the actions. Recall that if more guards are satisfied then it is non-deterministic which action to take.

When using the Show Trace feature, non-deterministic choices will be shown in the first column as , and if clicked the trace will be "reset" from that configuration.

For the output, all non-terminated and non-stuck configurations can be extended with 1-1000 steps.

Step-wise Execution with Static Scope

Explore how the memory changes, upon execution of the actions. Recall that if more guards are satisfied then it is non-deterministic which action to take.

When using the Show Trace feature, non-deterministic choices will be shown in the first column as , and if clicked the trace will be "reset" from that configuration.

For the output all non-terminated and non-stuck configurations can be extended with 1-1000 steps.