Git Product home page Git Product logo

astra's Introduction

Astra

Astra stands for Automatic Synthesis for Transducers. It contains the implementation of the algorithm presented in the FMCAD 22 paper Synthesizing Tranducers from Complex Specifications, as well as the experimental results.

Dependencies and Installation

This is a Maven project that depends on the symbolicautomata library. It also makes use of the Z3 and CVC4 SMT solvers.

First, build the symbolicautomata library following the directions on the repository page. Make sure that models and benchmarks project are in your working set so that Astra can find them. The easiest way to build both symbolicautomata and Astra is by opening them in Eclipse: go to import existing Maven project, and then click on update project.

The lib directory should include the dynamic libraries for z3 and the binary executable for cvc4.

z3 : You need to build z3 for JAVA api and copy your com.microsoft.z3.jar, libz3.dylib/so and libz3java.dylib/so into lib folder CVC4 : you need to build CVC4 and copy the binary file CVC4 into lib folder.

Finally, make sure that the LD_LIBRARY_PATH (on Linux) or DYLD_LIBRARY_PATH (on MacOS) includes the lib directory.

Running experiments

The synthesizer is in the src/main/java directory; the SMT encodings are in the subdirectory solver, while automata contains the implementation of symbolic transducers and operations on symbolic automata and transducers.

The benchmarks are in the src/test/java/benchmarks directory. The main set of benchmarks is in the Benchmarks subdirectory. To run this entire set of benchmarks, call the main function of RunBenchmarks.java. The results of running the benchmarks are written to the Outputs subdirectory.

astra's People

Contributors

anvayg avatar

Watchers

 avatar

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.