Cargando…
Decomposing Probabilistic Lambda-Calculi
A notion of probabilistic lambda-calculus usually comes with a prescribed reduction strategy, typically call-by-name or call-by-value, as the calculus is non-confluent and these strategies yield different results. This is a break with one of the main advantages of lambda-calculus: confluence, which...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7788600/ http://dx.doi.org/10.1007/978-3-030-45231-5_8 |
_version_ | 1783633061044289536 |
---|---|
author | Dal Lago, Ugo Guerrieri, Giulio Heijltjes, Willem |
author_facet | Dal Lago, Ugo Guerrieri, Giulio Heijltjes, Willem |
author_sort | Dal Lago, Ugo |
collection | PubMed |
description | A notion of probabilistic lambda-calculus usually comes with a prescribed reduction strategy, typically call-by-name or call-by-value, as the calculus is non-confluent and these strategies yield different results. This is a break with one of the main advantages of lambda-calculus: confluence, which means results are independent from the choice of strategy. We present a probabilistic lambda-calculus where the probabilistic operator is decomposed into two syntactic constructs: a generator, which represents a probabilistic event; and a consumer, which acts on the term depending on a given event. The resulting calculus, the Probabilistic Event Lambda-Calculus, is confluent, and interprets the call-by-name and call-by-value strategies through different interpretations of the probabilistic operator into our generator and consumer constructs. We present two notions of reduction, one via fine-grained local rewrite steps, and one by generation and consumption of probabilistic events. Simple types for the calculus are essentially standard, and they convey strong normalization. We demonstrate how we can encode call-by-name and call-by-value probabilistic evaluation. |
format | Online Article Text |
id | pubmed-7788600 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
record_format | MEDLINE/PubMed |
spelling | pubmed-77886002021-01-07 Decomposing Probabilistic Lambda-Calculi Dal Lago, Ugo Guerrieri, Giulio Heijltjes, Willem Foundations of Software Science and Computation Structures Article A notion of probabilistic lambda-calculus usually comes with a prescribed reduction strategy, typically call-by-name or call-by-value, as the calculus is non-confluent and these strategies yield different results. This is a break with one of the main advantages of lambda-calculus: confluence, which means results are independent from the choice of strategy. We present a probabilistic lambda-calculus where the probabilistic operator is decomposed into two syntactic constructs: a generator, which represents a probabilistic event; and a consumer, which acts on the term depending on a given event. The resulting calculus, the Probabilistic Event Lambda-Calculus, is confluent, and interprets the call-by-name and call-by-value strategies through different interpretations of the probabilistic operator into our generator and consumer constructs. We present two notions of reduction, one via fine-grained local rewrite steps, and one by generation and consumption of probabilistic events. Simple types for the calculus are essentially standard, and they convey strong normalization. We demonstrate how we can encode call-by-name and call-by-value probabilistic evaluation. 2020-04-17 /pmc/articles/PMC7788600/ http://dx.doi.org/10.1007/978-3-030-45231-5_8 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. |
spellingShingle | Article Dal Lago, Ugo Guerrieri, Giulio Heijltjes, Willem Decomposing Probabilistic Lambda-Calculi |
title | Decomposing Probabilistic Lambda-Calculi |
title_full | Decomposing Probabilistic Lambda-Calculi |
title_fullStr | Decomposing Probabilistic Lambda-Calculi |
title_full_unstemmed | Decomposing Probabilistic Lambda-Calculi |
title_short | Decomposing Probabilistic Lambda-Calculi |
title_sort | decomposing probabilistic lambda-calculi |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7788600/ http://dx.doi.org/10.1007/978-3-030-45231-5_8 |
work_keys_str_mv | AT dallagougo decomposingprobabilisticlambdacalculi AT guerrierigiulio decomposingprobabilisticlambdacalculi AT heijltjeswillem decomposingprobabilisticlambdacalculi |