Code Monkey home page Code Monkey logo

presburger's Introduction

Presberger

Rust

This project is a work in progress.

This project will eventually be a library for Presburger Arithmetic [1], including symbolic manipulation of formulas and a decision procedure for the full theory based on quantifier elimination.

The decision to use Rust for implementation was first to experiment with Rust and second to try and produce a highly efficient decision procedure for not just Linear Integer Arithmetic, but the full Presburger Arithmetic. The lofty goal is to outperform Coq Tactics Omega [2] & LIA [3] for some reasonably common set of benchmark problems.

[1] https://en.wikipedia.org/wiki/Presburger_arithmetic [2] https://coq.github.io/doc/v8.13/refman/addendum/omega.html [3] https://coq.github.io/doc/v8.13/refman/addendum/micromega.html#coq:tacn.lia

Progress

  • 2022-03-10 -- Work in progress on a specific Fourier-Motzkin Elimination (FME) implementation. Current plan is tracked in PLAN.md.
  • 2020-07-26 -- Ironed out and tested (proptest) to_nnf for AST formulas, still need to do some memory profiling before committing to the current AST representation.
  • 2020-07-07 -- Got out the dust mop
  • 2019-11-02 -- Switched parser generators to lalrpop which seems better suited to this task. There are unit tests now that verify parsing for a range of presberger expressions.
  • 2019-10-23 -- Setup Rust skeleton, experimenting with different parser generator options

presburger's People

Contributors

benjaminfjones avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dchaly

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.