From 597897f0a5a7930aa6e3c0efaa944ddeaa228ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Wed, 5 Feb 2020 03:00:43 +0100 Subject: [PATCH] Add readme --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b98ea17 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# foliage [![GitHub release](https://img.shields.io/github/release/potassco/foliage.svg?maxAge=3600)](https://github.com/potassco/foliage/releases) [![crates.io](https://img.shields.io/crates/v/foliage.svg?maxAge=3600)](https://crates.io/crates/foliage) + +> First-order logic with integer arithmetics + +This crate provides an abstract syntax tree for first-order formulas with integer arithmetics. + +## Supported Formulas + +- Booleans values (`true` and `false`) +- predicates +- negated formulas +- comparisons of terms (<, ≤, >, ≥, =, ≠) +- implications and biconditionals +- conjunctions and disjunctions of formulas +- existentially and universally quantified formulas + +## Supported Terms + +- Boolean values (`true` and `false`) +- integers +- strings +- special integers (infimum and supremum) +- symbolic functions +- variables +- binary operations (addition, subtraction, multiplication, division, modulo, exponentiation) +- unary operations (absolute value, numeric negation)