Giter Site home page Giter Site logo

dwina's Introduction

 **
 * dWiNA - Deciding WS1S using non-deterministic automata 
 * 
 * Copyright (c) 2014  Tomas Fiedor <[email protected]>
 **************************************************************
 
 * About *
 *********
  
  dWiNA is an implementation of backward decision procedure for WS1S logic 
  (weak second-order theory of 1 successors). The tool is using libvata a 
  highly optimised non-deterministic finite tree automata library that supports 
  semi-symbolic encoding using multi-terminal binary decision diagrams (MTBDDs) for
  storing transition table of the automaton. Procedure generates state space on-the-fly
  and prunes the states using the antichain-based approach. State space is represented 
  by downward and upward closed represenation of states. The tool computes the 
  representation of final states and test if initial states are included in final states 
  and thus (dis)prove validity.
  
 * Prerequisities *
 ******************
 
 Following packages are needed in order to compile and run dWiNA on your system:

 	git (>= 1.6.0.0)
 	cmake (>= 2.8.2)
 	gcc (>= 4.8.0)
 	flex (>= 2.5.35)
 	bison (>= 2.7.1)
 	
 * Download *
 ************
 
 In order to compile and work with our tool we highly recommend to clone the repository
 to the local repository. You need to have the git version control system installed.
 
 To download the library, run
 
   $ git clone https://github.com/Raph-Stash/dWiNA.git
 	
 * Compilation *
 ***************
 
 In order to prepare the tool for compilation and commiting a background check for
 prerequisite package issue the following command in the root directory of the tool:
 
   $ cmake CMakeLists.txt
   
 To further compile the source files to runable binary issue the following command:
 
   $ make
   
 * Input file syntax *
 *********************

The following grammar describes supported subset of MONA syntax
for the specification of verified formulae. It uses the classical BNF-like
notation.

For full syntax for MONA tool consult the tool manual at http://www.brics.dk/mona/mona14.pdf.

program ::= (header;)? (declaration;)+
header ::=  ws1s

declaration ::= formula
             |  var0 (varname)+
             |  var1 (varname)+
             |  var2 (varname)+
             |  'pred' varname (params)? = formula
             |  'macro' varname (params)? = formula

formula ::= 'true' | 'false' | (formula)
         |  zero-order-var
         | ~formula
         | formula | formula
         | formula & formula
         | formula => formula
         | formula <=> formula
         | first-order-term = first-order-term 
         | first-order-term ~= first-order-term 
         | first-order-term < first-order-term 
         | first-order-term > first-order-term
         | first-order-term <= first-order-term 
         | first-order-term >= first-order-term
         | second-order-term = second-order-term
         | second-order-term = { (int)+ }
         | second-order-term ~= second-order-term
         | second-order-term 'sub' second-order-term
         | first-order-term 'in' second-order-term
         | ex1 (varname)+ : formula
         | all1 (varname)+ : formula
         | ex2 (varname)+ : formula
         | all2 (varname)+ : formula

first-order-term ::= varname | (first-order-term)
                  |  int
                  | first-order-term + int

second-order-term ::= varname | (second-order-term)
                   |  second-order-term + int

 
 * Contact *
 ***********
 
 If you have any questions, do not hesitate to contact the tool/method authors:
 
   * Tomas Fiedor <[email protected]> (corresponding author of dWiNA)
   * Ondrej Lengal <[email protected]> (corresponding author of VATA)
   * Lukas Holik <[email protected]>
   * Tomas Vojnar <[email protected]> 

dwina's People

Contributors

tfiedor avatar

Stargazers

David Leon Gil avatar

Watchers

 avatar  avatar

dwina's Issues

Wrong results for simple formulas

Dear Lukáš, Ondřej, and Tomáš^2,

recently, I came across your very interesting TACAS'15 paper: Nested Antichains for WS1S. While I'm not yet through with its technical sections, I gave your tool a try. Unfortunately, I am experiencing problems with the simplest formulas.

The following says UNSATISFIABLE:

ex.mona:
ws1s;
var1 a;
var2 A;
a in A <=> a in A;

./dWiNA ex.mona
./dWiNA --use-mona-dfa ex.mona
./dWiNA --no-expnf ex.mona

The following corner case just segfaults:

true.mona:
true;

./dWiNA --use-mona-dfa true.mona
./dWiNA --no-expnf true.mona

MONA says, of course, valid for both examples.

Or have I got the syntax somehow wrong?

I refer to commit 4bc4895.

Best wishes,
Dmitriy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.