Well Scoped Locally Nameless Representation of Syntax
When using interactive theorem provers based on dependent type
theory to define and reason about languages involving binding
constructs, we advocate the use of a well-scoped version of the
locally nameless method of representing syntax. This paper
describes generic code parameterized by a Plotkin-style binding
signature for this style of syntax representation within the Agda
theorem prover, gives a proof of its adequacy with respect to
naïve nameful syntax modulo α-conversion and discusses some
examples of its use.