TY - GEN
T1 - Encoding a dependent-type λ-calculus in a logic programming language
AU - Felty, Amy
AU - Miller, Dale
N1 - Publisher Copyright:
© Springer-Verlag Berlin Heidelberg 1990.
PY - 1990/1/1
Y1 - 1990/1/1
N2 - Various forms of typed λ-calculi have been proposed as specification languages for representing wide varieties of object logics. The logical framework, LF, is an example of such a dependent-type λ-calculus. A small subset of intuitionistic logic with quantification over simply typed λ-calculus has also been proposed as a framework for specifying general logics. The logic of hereditary Harrop formulas with quantification at all non-predicate types, denoted here as hhω, is such a meta-logic that has been implemented in both the Isabelle theorem prover and the λProlog logic programming language. Both frameworks provide for specifications of logics in which details involved with free and bound variable occurrences, substitutions, eigenvariables, and the scope of assumptions within object logics are handled correctly and elegantly at the “meta” level. In this paper, we show how LF can be encoded into hhω in a direct and natural way by mapping the typing judgments in LF into propositions in the logic of hhω. This translation establishes a very strong connection between these two languages: the order of quantification in an LF signature is exactly the order of a set of hhωclauses, and the proofs in one system correspond directly to proofs in the other system. Relating these two languages makes it possible to provide implementations of proof checkers and theorem provers for logics specified in LF by using standard logic programming techniques which can be used to implement hhω.
AB - Various forms of typed λ-calculi have been proposed as specification languages for representing wide varieties of object logics. The logical framework, LF, is an example of such a dependent-type λ-calculus. A small subset of intuitionistic logic with quantification over simply typed λ-calculus has also been proposed as a framework for specifying general logics. The logic of hereditary Harrop formulas with quantification at all non-predicate types, denoted here as hhω, is such a meta-logic that has been implemented in both the Isabelle theorem prover and the λProlog logic programming language. Both frameworks provide for specifications of logics in which details involved with free and bound variable occurrences, substitutions, eigenvariables, and the scope of assumptions within object logics are handled correctly and elegantly at the “meta” level. In this paper, we show how LF can be encoded into hhω in a direct and natural way by mapping the typing judgments in LF into propositions in the logic of hhω. This translation establishes a very strong connection between these two languages: the order of quantification in an LF signature is exactly the order of a set of hhωclauses, and the proofs in one system correspond directly to proofs in the other system. Relating these two languages makes it possible to provide implementations of proof checkers and theorem provers for logics specified in LF by using standard logic programming techniques which can be used to implement hhω.
UR - https://www.scopus.com/pages/publications/0346910131
U2 - 10.1007/3-540-52885-7_90
DO - 10.1007/3-540-52885-7_90
M3 - Conference contribution
AN - SCOPUS:0346910131
SN - 9783540528852
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 221
EP - 235
BT - 10th International Conference on Automated Deduction, Proceedings
A2 - Stickel, Mark E.
PB - Springer Verlag
T2 - 10th International Conference on Automated Deduction, CADE 1990
Y2 - 24 July 1990 through 27 July 1990
ER -