Skip to content
benmandrewPublic

About

Multi-objective evolutionary repair of unrealisable specifications

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,156 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PEREDUR

Docker image Coverage

PEREDUR repairs unrealisable reactive specifications with a multi-objective genetic algorithm. It takes a linear temporal logic (LTL) specification in the Temporal Logic Synthesis Format (TLSF) and searches for edits that make it realisable while staying close to the original.

Quickstart

The Docker image holds the binaries, the solvers they call and the bundled examples. To repair the paper's running example and write the repairs to out/:

mkdir -p out
docker run --rm --init --user "$(id -u):$(id -g)" -v "$PWD:/work" benmandrew/peredur:latest \
    peredur --input /opt/peredur/share/peredur/examples/paper-running-example/spec.tlsf \
    --output-dir out --repair-summary

To repair your own specification, put it in the current directory and pass --input /work/spec.tlsf. Each repair_N.tlsf in out/ is a complete specification. Run peredur --help for the other options.

Building locally

The local build uses Nix with flakes enabled:

nix develop
cmake --workflow --preset release
./build-release/peredur --input examples/paper-running-example/spec.tlsf --output-dir out

Building from source covers the build without Nix, the other presets and the tests.

Documentation

The full documentation is published at benmandrew.com/docs/peredur.

Link Description
Examples every bundled specification and where it comes from
Docker running and building the container image, with resource limits
Building from source Nix and non-Nix builds, dependencies, presets, tests
Virtual machine building a VirtualBox appliance from the image
TLSF specifications a worked repair, minimal unrealisable cores
Architecture algorithm flow, key types, module layout
Configuration tuning via TOML, objectives, selection schemes
API reference the include/ headers
Experiment scripts parameter sweeps and result analysis

About

Multi-objective evolutionary repair of unrealisable specifications

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages