Skip to main content Accessibility help
×
Home
Hostname: page-component-684899dbb8-c97xr Total loading time: 0.275 Render date: 2022-05-24T11:52:06.509Z Has data issue: true Feature Flags: { "shouldUseShareProductTool": true, "shouldUseHypothesis": true, "isUnsiloEnabled": true, "useRatesEcommerce": false, "useNewApi": true }

A quantitative model for simply typed λ-calculus

Published online by Cambridge University Press:  29 November 2021

Martin Hofmann
Affiliation:
Institut für Informatik, Ludwig-Maximilians-Universität München, Germany
Jérémy Ledent*
Affiliation:
Mathematically Structured Programming Group, University of Strathclyde, Glasgow, Scotland
*
*Corresponding author. Email: jeremy.ledent@strath.ac.uk
Rights & Permissions[Opens in a new window]

Abstract

HTML view is not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

We use a simplified version of the framework of resource monoids, introduced by Dal Lago and Hofmann, to interpret simply typed λ-calculus with constants zero and successor. We then use this model to prove a simple quantitative result about bounding the size of the normal form of λ-terms. While the bound itself is already known, this is to our knowledge the first semantic proof of this fact. Our use of resource monoids differs from the other instances found in the literature, in that it measures the size of λ-terms rather than time complexity.

Type
Special Issue: In Homage to Martin Hofmann
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial licence (http://creativecommons.org/licenses/by/4.0/), which permits non-commercial re-use, distribution, and reproduction in anymedium, provided the original article is properly cited. The written permission of Cambridge University Press must be obtained prior to any commercial use.
Copyright
© The Author(s), 2021. Published by Cambridge University Press

Footnotes

Martin Hofmann died on January 23, 2018. This work was carried out in 2016, while the second author was doing a Masters internship supervised by Martin at the Ludwig Maximilian University of Munich. While he could not take part in writing this article, Martin is undoubtedly an author of the work presented here.

References

Beckmann, A. (2001). Exact bounds for lengths of reductions in typed λ-calculus. Journal of Symbolic Logic 66 (3) 12771285.CrossRefGoogle Scholar
Brunel, A. (2015). Quantitative classical realizability. Information and Computation 241 6295.CrossRefGoogle Scholar
Brunel, A. and Terui, K. (2010). Church => scott = ptime: An application of resource sensitive realizability. In: Proceedings International Workshop on Developments in Implicit Computational complExity, DICE 2010, 31–46.+scott+=+ptime:+An+application+of+resource+sensitive+realizability.+In:+Proceedings+International+Workshop+on+Developments+in+Implicit+Computational+complExity,+DICE+2010,+31–46.>Google Scholar
Dal Lago, U. and Hofmann, M. (2005). Quantitative models and implicit complexity. In: Proceedings of Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2005, 189–200.Google Scholar
Dal Lago, U. and Hofmann, M. (2010a). Bounded linear logic, revisited. Logical Methods in Computer Science 6 (4).CrossRefGoogle Scholar
Dal Lago, U. and Hofmann, M. (2010b). A semantic proof of polytime soundness of light affine logic. Theory of Computing Systems 46 (4) 673689.CrossRefGoogle Scholar
Dal Lago, U. and Hofmann, M. (2011). Realizability models and implicit complexity. Theoretical Computer Science 412 (20) 20292047.CrossRefGoogle Scholar
Fortune, S., Leivant, D. and O’Donnell, M. (1983). The expressiveness of simple and second-order type structures. Journal of ACM 30 (1) 151185.CrossRefGoogle Scholar
Hillebrand, G. G. and Kanellakis, P. C. (1996). On the expressive power of simply typed and let-polymorphic lambda calculi. In: Proceedings, 11th Annual IEEE Symposium on Logic in Computer Science, New Brunswick, New Jersey, USA, July 27-30, 1996, IEEE Computer Society, 253263.CrossRefGoogle Scholar
Joly, T. (2001). Constant time parallel computations in lambda-calculus. Theoretical Computer Science 266 (1–2) 975985.CrossRefGoogle Scholar
Nguyên, L. T. D. 2019. Typed lambda-calculi and superclasses of regular functions.Google Scholar
Nguyên, L. T. D., Noûs, C. and Pradic, P. (2020). Implicit automata in typed λ-calculi II: Streaming transducers vs categorical semantics.Google Scholar
Nguyên, L. T. D. and Pradic, P. (2020). Implicit automata in typed λ-calculi I: aperiodicity in a non-commutative logic. In: 47th International Colloquium on Automata, Languages, and Programming, ICALP 2020, 135:1–135:20.Google Scholar
Schwichtenberg, H. (1975). Definierbare funktionen im λ-kalkül mit typen. Archive for Mathematical Logic 17 (3–4) 113114.Google Scholar
Schwichtenberg, H. (1982). Complexity of normalization in the pure typed lambda-calculus. In: Troelstra, A. and van Dalen, D. (eds.) The L. E. J. Brouwer Centenary Symposium, vol. 110, Studies in Logic and the Foundations of Mathematics, Elsevier, 453–457.CrossRefGoogle Scholar
Simmons, H. (2005). Tiering as a recursion technique. The Bulletin of Symbolic Logic 11 (3) 321350.CrossRefGoogle Scholar
You have Access
Open access

Save article to Kindle

To save this article to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

A quantitative model for simply typed λ-calculus
Available formats
×

Save article to Dropbox

To save this article to your Dropbox account, please select one or more formats and confirm that you agree to abide by our usage policies. If this is the first time you used this feature, you will be asked to authorise Cambridge Core to connect with your Dropbox account. Find out more about saving content to Dropbox.

A quantitative model for simply typed λ-calculus
Available formats
×

Save article to Google Drive

To save this article to your Google Drive account, please select one or more formats and confirm that you agree to abide by our usage policies. If this is the first time you used this feature, you will be asked to authorise Cambridge Core to connect with your Google Drive account. Find out more about saving content to Google Drive.

A quantitative model for simply typed λ-calculus
Available formats
×
×

Reply to: Submit a response

Please enter your response.

Your details

Please enter a valid email address.

Conflicting interests

Do you have any conflicting interests? *