package term-indexing
Install
Dune Dependency
Authors
Maintainers
Sources
md5=9ba5dcf909fde539e173daf8f13abffd
sha512=e84fb1104c420db346181416a1e95e60aeb1b757ed7456a6028a6dfd5096bb7888af7c1ad6ea1acb25e99318e86d1f75c82a072bbdc3ba8218e5b16778199dfe
Description
A library for term indexing. It allows to represent set of first-order terms and to perform queries such as iterating on terms unifiable with, specializing or generalizing a given query term. The library also exposes facilities for term rewriting and solving unification problems.
README
term-indexing
term-indexing
provides facilities to perform term rewriting and term indexing.
Look no further for the documentation.
Term indexing
The library implements substitution trees, a data structure allowing to efficiently store a set of first-order terms and perform the following queries:
iterate on all terms unifiable with a given query term
iterate on all terms generalizing a given query term
iterate on all terms specializing a given query term
Term rewriting
The library implements basic facilities to enumerate matches for given patterns and perform substitutions. It also exposes facilities to solve unification problems.
TODO
Deletion operation on substitution trees
Discrimination trees
Dependencies (7)
-
fmt
>= "0.9.0"
-
printbox-text
>= "0.9.0"
-
printbox
>= "0.11"
-
containers
>= "3.13.1"
-
hashcons
>= "1.4.0"
-
ocaml
>= "4.14"
-
dune
>= "3.0"
Dev Dependencies (5)
-
odoc
with-doc
-
qcheck-alcotest
>= "0.21" & with-test
-
qcheck-core
>= "0.21" & with-test
-
qcheck
>= "0.21" & with-test
-
alcotest
>= "0.8.1" & with-test
Used by
None
Conflicts
None