Git Product home page Git Product logo

synudic's Introduction

Synudic 0.1

SYNUDIC is a tool for synthesis of small loop-free programs.

The user provides a sketch of the desired program in an input file (with extension .sketch). The tool uses an SMT solver (Yices or Z3) to generate a program meeting the specification in file.sketch.

INSTALLATION:

  1. Install Yices2 (and optionally Z3, if you want to use Z3 as the backend). (yices.csl.sri.com)

  2. Synudic requires python 2.7.x. Requeriments regarding python packages can be found at src/requeriments.txt, and installed in your python instance or virtualenv with pip as pip install -r requeriments.txt

USING SYNUDIC:

  1. Create a sketch For example, see files in directory examples/ For example, see average.sketch and oeap.sketch

  2. Run the program thus: python src/main.py examples/oeap.sketch na=4 nb=2

DETAILS:

Synudic works by converting the input <filename.sketch> into a (EF-)Yices formula (stored as synth.ys), or just an exists SMT formula (if there are no primal interpretations in filename.sketch). It then invokes Yices on synth.ys Output is stored in synth.yout; and the model is generated in tmp.txt. These files are generated in the current working directory.

We are currently updating the Synudic frontend language for the next version.

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.