Back to Search
Start Over
A Lambda Term Representation Inspired by Linear Ordered Logic
- Source :
- Electronic Proceedings in Theoretical Computer Science, Vol 71, Iss Proc. LFMTP 2011, Pp 1-13 (2011)
- Publication Year :
- 2011
- Publisher :
- Open Publishing Association, 2011.
-
Abstract
- We introduce a new nameless representation of lambda terms inspired by ordered logic. At a lambda abstraction, number and relative position of all occurrences of the bound variable are stored, and application carries the additional information where to cut the variable context into function and argument part. This way, complete information about free variable occurrence is available at each subterm without requiring a traversal, and environments can be kept exact such that they only assign values to variables that actually occur in the associated term. Our approach avoids space leaks in interpreters that build function closures. In this article, we prove correctness of the new representation and present an experimental evaluation of its performance in a proof checker for the Edinburgh Logical Framework. Keywords: representation of binders, explicit substitutions, ordered contexts, space leaks, Logical Framework.<br />Comment: In Proceedings LFMTP 2011, arXiv:1110.6685
- Subjects :
- FOS: Computer and information sciences
Computer Science - Logic in Computer Science
Theoretical computer science
Correctness
Computer science
Context (language use)
lcsh:QA75.5-76.95
Computer Science::Logic in Computer Science
Representation (mathematics)
Computer Science - Programming Languages
Logic in Computer Science
lcsh:Mathematics
Function (mathematics)
Term (logic)
lcsh:QA1-939
Logic in Computer Science (cs.LO)
Variable (computer science)
Tree traversal
Logical framework
TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES
TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS
F.4.1
Computer Science::Programming Languages
Programming Languages
lcsh:Electronic computers. Computer science
Programming Languages (cs.PL)
Subjects
Details
- ISSN :
- 20752180
- Volume :
- 71
- Database :
- OpenAIRE
- Journal :
- Electronic Proceedings in Theoretical Computer Science
- Accession number :
- edsair.doi.dedup.....0db63c308d4c2d09b05a7748060c0be0
- Full Text :
- https://doi.org/10.4204/eptcs.71.1