Skip to content
egraphs in rust
Rust Other
  1. Rust 98.8%
  2. Other 1.2%
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
egg-math
src
tests
web-demo
.gitignore
Cargo.toml
LICENSE
Makefile
README.md

README.md

egg: egraphs good

Build Status Crates.io Docs.rs

Check out the web demo.

Developing

It's written in Rust. Typically, you install Rust using rustup.

Run cargo doc --open to build and open the documentation in a browser.

Before committing/pushing, make sure to run ./check.sh, which runs all the tests and lints that Travis will.

Tests

Running cargo tests will run the tests.

There are a couple interesting tests in the tests directory:

  • prop.rs implements propositional logic and proves some simple theorems.
  • math.rs implements real arithmetic, with rewrite rules and a test case taken from Herbie.
You can’t perform that action at this time.