Skip to content

epfl-systemf/sepviz

Repository files navigation

Sepviz

Sepviz demo

A library for visualizing and animating separation-logic formulas as memory diagrams. This repo contains:

  • sepviz: The visualization library, written in TypeScript. It parses separation-logic formulas from Rocq goal strings, renders them using Graphviz, and animates them using d3.

  • sepviz-alectryon: Glue code to use Sepviz with Alectryon.

  • sepviz-vsrocq: A fork of the VSRocq IDE to visualize and animate separation logic proofs while writing them.

  • interop: Rocq notations allowing Sepviz to understand many CFML, SLF, and Iris formulae.

  • examples: Examples of integration with CFML, SLF, and Iris.

This library works with Coq 8.20.1 (most of the separation-logic libraries that we target have not yet been ported to Rocq 9):

  • Use make init to {OPAM,npm,pip} dependencies, then make all to build everything.
  • Use make serve and browse to localhost:8080 to view generated examples.

About

Automatic rendering of separation-logic diagrams for Iris and CFML in Alectryon and VSRocq

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors