A parser for logical formulas
Project description
implies: a Pybound Rust crate for logical formulas
implies is a Rust crate for storing logical formulas as parse trees and performing complex operations on them,
like substitution, rotation, conversion to conjunctive normal form, and more. Propositional logic comes pre-implemented,
but this crate operates on a generic struct Formula<B,U,A> which can easily be used with your own Binary and Unary
operators and Atomic formula types: if you can implement those types for your own preferred logic (modal, temporal,
predicate, etc...) you can use the full functionality of this crate for your own language. A lot more information is in
the docs for this crate.
There are Python bindings for propositional logic, but using the API in Python gives much less control and flexibility. You can use the Python APIs from Rust if you want by enabling the "python" feature when compiling, which will add "pyo3" as a dependency.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file implies-0.3.1.tar.gz.
File metadata
- Download URL: implies-0.3.1.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80da2d4eac224ac23068298633eac9d94a51476fcba597e9235d39dc1db14583
|
|
| MD5 |
962cf0298a37c25cdcaabc1df6801ac8
|
|
| BLAKE2b-256 |
2ef157650bb99db56499820fab448891a0b19c37128e23ef822059de75de0c99
|
File details
Details for the file implies-0.3.1-cp39-cp39-macosx_10_7_x86_64.whl.
File metadata
- Download URL: implies-0.3.1-cp39-cp39-macosx_10_7_x86_64.whl
- Upload date:
- Size: 261.4 kB
- Tags: CPython 3.9, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e288fc27c6aa2d525b2b0e41fd49d3fa07a36d53ea7ba4f786b90235108c1382
|
|
| MD5 |
3419dedf7cf202e51dc1ea04264e370f
|
|
| BLAKE2b-256 |
465a9da38611c4e6412c18828d860a692b33e506caba4b1144e098d03b891682
|