Back to Search Start Over

A general approach to define binders using matching logic

Authors :
Grigore Rosu
Xiaohong Chen
Source :
Proceedings of the ACM on Programming Languages. 4:1-32
Publication Year :
2020
Publisher :
Association for Computing Machinery (ACM), 2020.

Abstract

We propose a novel definition of binders using matching logic, where the binding behavior of object-level binders is directly inherited from the built-in exists binder of matching logic. We show that the behavior of binders in various logical systems such as lambda-calculus, System F, pi-calculus, pure type systems, can be axiomatically defined in matching logic as notations and logical theories. We show the correctness of our definitions by proving conservative extension theorems, which state that a sequent/judgment is provable in the original system if and only if it is provable in matching logic, in the corresponding theory. Our matching logic definition of binders also yields models to all binders, which are deductively complete with respect to formal reasoning in the original systems. For lambda-calculus, we further show that the yielded models are representationally complete, a desired property that is not enjoyed by many existing lambda-calculus semantics. This work is part of a larger effort to develop a logical foundation for the programming language semantics framework K (http://kframework.org).

Details

ISSN :
24751421
Volume :
4
Database :
OpenAIRE
Journal :
Proceedings of the ACM on Programming Languages
Accession number :
edsair.doi...........ecbdee7f32f8f26888d8d3b6885de6ef