plclub/metalib

The Penn Locally Nameless Metatheory Library

Coq

78

147 commits

updated Mar 26, 2025

See the code

README

COMPILATION, INSTALLATION, AND DOCUMENTATION:

This library requires Coq 8.14, available via opam or from the Coq website [https://coq.inria.fr/download].

To compile the library, cd to the Metalib directory:

`make`          generate Coq makefile, compile Coq files
`make doc`      generate Coq documentation
`make install`  install library on your system (locally)

Note that both step 1 and 3 are needed in order to be able to run/compile the examples and the tutorial. In particular, step 3 only install the library in your local Coq setup, and does not require special privileges.

The main documentation for this library is available as a collection of HTML files.

TUTORIAL:

The metatheory library comes with a tutorial in directory Stlc. Make sure that you've compiled the library first. These tutorial files contains an introduction to mechanizing programming language definitions with binding in Coq and how to reason about them.

An additional example of the library is available in the Fsub directory.

Those new to Coq should start with Software Foundations, which is an introduction to using Coq. The tutorial assumes some familarity with this resource. (https://softwarefoundations.cis.upenn.edu/current/index.html)

Contributors

sweirich

112 commits

toineo

8 commits

liyishuai

7 commits

lastland

5 commits

plclub/metalib

The Penn Locally Nameless Metatheory Library

Coq

78

147 commits

updated Mar 26, 2025

See the code

README

COMPILATION, INSTALLATION, AND DOCUMENTATION:

This library requires Coq 8.14, available via opam or from the Coq website [https://coq.inria.fr/download].

To compile the library, cd to the Metalib directory:

`make`          generate Coq makefile, compile Coq files
`make doc`      generate Coq documentation
`make install`  install library on your system (locally)

Note that both step 1 and 3 are needed in order to be able to run/compile the examples and the tutorial. In particular, step 3 only install the library in your local Coq setup, and does not require special privileges.

The main documentation for this library is available as a collection of HTML files.

TUTORIAL:

The metatheory library comes with a tutorial in directory Stlc. Make sure that you've compiled the library first. These tutorial files contains an introduction to mechanizing programming language definitions with binding in Coq and how to reason about them.

An additional example of the library is available in the Fsub directory.

Those new to Coq should start with Software Foundations, which is an introduction to using Coq. The tutorial assumes some familarity with this resource. (https://softwarefoundations.cis.upenn.edu/current/index.html)

Contributors

sweirich

112 commits

toineo

8 commits

liyishuai

7 commits

lastland

5 commits

Languages

Coq

93.7%

TeX

2.7%

OCaml

2.0%

Makefile

1.1%