Automation for de Bruijn syntax and substitution in Coq [maintainers=@RalfJung,@co-dan]
73
stars
169
commits
Rocq Prover
primary language
Sep 4, 2026
updated
Autosubst is a library for the Coq proof assistant which provides automation for formalizing syntactic theories with variable binders. Given an inductive definition of syntactic objects in de Bruijn representation augmented with binding annotations, Autosubst synthesizes the parallel substitution operation and automatically proves the basic lemmas about substitutions.
AutosubstThe easiest way to install the latest released version of Autosubst is via OPAM:
opam repo add rocq-released https://rocq-prover.org/opam/released
opam install coq-autosubst
To instead build and install manually, do:
git clone https://github.com/coq-community/autosubst.git
cd autosubst
make # or make -j <number-of-cores-on-your-machine>
make install
To build the examples that do not need ssreflect, type
make examples-plain
The examples that depend on ssreflect are built with
make examples-ssr
To build the documentation (including all examples), type
make doc
You can use the file doc/toc.html to browse the documentation.
Please submit bugs reports on https://github.com/coq-community/autosubst/issues
Rocq Prover
59.7%
TeX
38.4%
Makefile
2.0%
Automation for de Bruijn syntax and substitution in Coq [maintainers=@RalfJung,@co-dan]
73
stars
169
commits
Rocq Prover
primary language
Sep 4, 2026
updated
Autosubst is a library for the Coq proof assistant which provides automation for formalizing syntactic theories with variable binders. Given an inductive definition of syntactic objects in de Bruijn representation augmented with binding annotations, Autosubst synthesizes the parallel substitution operation and automatically proves the basic lemmas about substitutions.
AutosubstThe easiest way to install the latest released version of Autosubst is via OPAM:
opam repo add rocq-released https://rocq-prover.org/opam/released
opam install coq-autosubst
To instead build and install manually, do:
git clone https://github.com/coq-community/autosubst.git
cd autosubst
make # or make -j <number-of-cores-on-your-machine>
make install
To build the examples that do not need ssreflect, type
make examples-plain
The examples that depend on ssreflect are built with
make examples-ssr
To build the documentation (including all examples), type
make doc
You can use the file doc/toc.html to browse the documentation.
Please submit bugs reports on https://github.com/coq-community/autosubst/issues
Rocq Prover
59.7%
TeX
38.4%
Makefile
2.0%