FormalSAT / trestle

Apache License 2.0
18 stars 2 forks source link

LeanSAT

LeanSAT is a collection of utilities for SAT work. This includes:

This repository is an active research code base using the Research Codebase Manifesto, and the core library (in LeanSAT/) is not very stable yet.

We would love to hear from any projects using LeanSAT! Contact @JamesGallicchio by email or mastodon.

Getting it

Add the following to your project's lakefile:

require «lean-sat» from git
  "https://github.com/JamesGallicchio/LeanSAT" @ "main"

The main branch is currently on Lean v4.7.0, and Lean still has breaking changes every minor revision, so expect it to not compile on any other version of Lean.

As this project relies on mathlib, we recommend running lake exe cache get after modifying your lakefile. This downloads a precompiled version of mathlib.

Usage

In your files, import LeanSAT will import everything in the library.

Everything in the library is under the LeanSAT namespace, so we generally assume you also have open LeanSAT at the top of your files.

Important types:

Notation

TODO(JG): describe available notation for PropFun, PropForm

Planned scope

License

This project is licensed under the Apache 2.0 license (see LICENSE). If you want to use the library but need it to be released under different terms, please contact us or open an issue.

Contributing

PRs are welcome and appreciated. That said, because the repository is quite unstable, please open an issue or comment on an existing one to let us know what you are working on!

Contributors

@vtec234 @ccodel @JamesGallicchio