Metric Reasoning About λ-Terms: The Affine Case

Raphaëlle Crubillé 1 Ugo Dal Lago 2, 3
3 FOCUS - Foundations of Component-based Ubiquitous Systems
CRISAM - Inria Sophia Antipolis - Méditerranée , DISI - Dipartimento di Informatica - Scienza e Ingegneria [Bologna]
Abstract : Terms of Church's λ-calculus can be considered equivalent along many different definitions, but context equivalence is certainly the most direct and universally accepted one. If the underlying calculus becomes probabilistic, however, equivalence is too discriminating: terms which have totally unrelated behaviours are treated the same as terms which behave very similarly. We study the problem of evaluating the distance between affine λ-terms. A natural generalisation of context equivalence , is shown to be characterised by a notion of trace distance, and to be bounded from above by a coinductively defined distance based on the Kantorovich metric on distributions. A different, again fully-abstract, tuple-based notion of trace distance is shown to be able to handle nontrivial examples.
Document type :
Conference papers
Complete list of metadatas

Cited literature [29 references]  Display  Hide  Download

https://hal.inria.fr/hal-01231814
Contributor : Ugo Dal Lago <>
Submitted on : Friday, November 20, 2015 - 5:23:33 PM
Last modification on : Wednesday, October 10, 2018 - 10:09:25 AM
Long-term archiving on : Friday, April 28, 2017 - 8:19:00 PM

File

main.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Raphaëlle Crubillé, Ugo Dal Lago. Metric Reasoning About λ-Terms: The Affine Case. LICS 2015, Jul 2015, Kyoto, Japan. ⟨10.1109/LICS.2015.64⟩. ⟨hal-01231814⟩

Share

Metrics

Record views

291

Files downloads

100