## Elf: A Language for Logic Definition and Verified Metaprogramming (1989)

Venue: | In Fourth Annual Symposium on Logic in Computer Science |

Citations: | 77 - 8 self |

### BibTeX

@INPROCEEDINGS{Pfenning89elf:a,

author = {Frank Pfenning},

title = {Elf: A Language for Logic Definition and Verified Metaprogramming},

booktitle = {In Fourth Annual Symposium on Logic in Computer Science},

year = {1989},

pages = {313--322},

publisher = {IEEE Computer Society Press}

}

### Years of Citing Articles

### OpenURL

### Abstract

We describe Elf, a metalanguage for proof manipulation environments that are independent of any particular logical system. Elf is intended for meta-programs such as theorem provers, proof transformers, or type inference programs for programming languages with complex type systems. Elf unifies logic definition (in the style of LF, the Edinburgh Logical Framework) with logic programming (in the style of Prolog). It achieves this unification by giving types an operational interpretation, much the same way that Prolog gives certain formulas (Horn-clauses) an operational interpretation. Novel features of Elf include: (1) the Elf search process automatically constructs terms that can represent object-logic proofs, and thus a program need not construct them explicitly, (2) the partial correctness of meta-programs with respect to a given logic can be expressed and proved in Elf itself, and (3) Elf exploits Elliott's unification algorithm for a -calculus with dependent types. This research was...