Back to Search
Start Over
A general approach to define binders using matching logic
- 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).
- Subjects :
- Matching (statistics)
Correctness
Theoretical computer science
Semantics (computer science)
Computer science
010102 general mathematics
020207 software engineering
02 engineering and technology
01 natural sciences
TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES
Conservative extension
If and only if
TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS
Computer Science::Logic in Computer Science
Completeness (logic)
0202 electrical engineering, electronic engineering, information engineering
Computer Science::Programming Languages
Sequent
0101 mathematics
Safety, Risk, Reliability and Quality
Lambda calculus
computer
Software
computer.programming_language
Subjects
Details
- ISSN :
- 24751421
- Volume :
- 4
- Database :
- OpenAIRE
- Journal :
- Proceedings of the ACM on Programming Languages
- Accession number :
- edsair.doi...........ecbdee7f32f8f26888d8d3b6885de6ef