Skip to content

submission/Sim2HCSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository can be downloaded by the following commands:

    $ mkdir /path/to/your/project
    $ cd /path/to/your/project
    $ git init
    $ git remote add origin [email protected]:liangdzou/Sim2HCSP.git
    $ git pull origin master

File struct:

  • HHLProver: A theory prover for HCSP.
  • Sim2HCSP: A tool translating Simulink/Stateflow diagrams into HCSP process.
  • model: Simulink model for the CTCS case study. (including the xml format.)
  • main: Generated files for the CTCS case study by Sim2HCSP.
  • proof: The interactive proof we have done for the CTCS case study.

Settings for Sim2HCSP:

  1. Install Java JRE because Sim2HCSP is implemented in Java.
  2. Set the following environment variables, so Sim2HCSP can invoke Isabelle and import HHLProver automatically.
export IsarHOME=".../Isabelle2013"
export HCSPHOME=".../HHLProver"

Run Sim2HCSP with the following command:

$ Sim2HCSP -xml fsco.xml -uds uds/

How to check the proof:

  1. Replace files assertionDef.thy controlADef.thy goal.thy with files in proof. (replace those files which are generated automatically.)
  2. Check it in Isabelle.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published