package libzipperposition
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=cc320f66f10555c54822da624419e003
sha512=f8d5f7a5ae790bf0388d74261673803cf375f91f92f7b413b70db1ce5841ef55343a208f98727c8551d66f1840ab892f1c0c943a34861d14d79ce469b235a2f2
doc/libzipperposition.calculi/Libzipperposition_calculi/Arith_int/Make/index.html
Module Arith_int.Make
Source
Parameters
module E : Libzipperposition.Env.S
Signature
module Env = E
Equations and Inequations
cancellative superposition where given clause is active
cancellative superposition where given clause is passive
cancellation (unifies some terms on both sides of a comparison operator)
cancellative equality factoring
cancellative inequality chaining.
Also does case switch if conditions are present: C1 or a < b C2 or b < c ------------------------------------- C1 or C2 or or_=a+1....c-1 (b = i) if a and c are integer linear expressions whose difference is a constant. If a > c, then the range a...c is empty and the literal is just removed.
Factoring between two inequation literals
Simplification: a < b ----> a+1 ≤ b
Divisibility
Chain together two divisibility literals, assuming they share the same prime
Eliminate negative divisibility literals within a power-of-prime quotient of Z: not (d^i | m) ----->
Eliminate divisibility literals with a non-power-of-prime quotient of Z (for instance 6 | a ---> { 2 | a, 3 | a }
)
Infer divisibility constraints from integer equations, for instance C or 2a=b ----> C or 2 | b if a is maximal
Other
Eliminate unshielded variables using an adaptation of Cooper's algorithm