DeepAI
Log In Sign Up

Quantitative Behavioural Reasoning for Higher-order Effectful Programs: Applicative Distances (Extended Version)

01/27/2018
by   Francesco Gavazzo, et al.
0

This paper studies the quantitative refinements of Absramsky's applicative similarity and bisimilarity in the context of a generalisation of Fuzz, a call-by-value λ-calculus with a linear type system that can express programs sensitivity, enriched with algebraic operations à la Plotkin and Power. To do so a general, abstract framework for studying behavioural relations taking values over quantales is defined according to Lawvere's analysis of generalised metric spaces. Barr's notion of relator (or lax extension) is then extended to quantale-valued relations adapting and extending results from the field of monoidal topology. Abstract notions of quantale-valued effectful applicative similarity and bisimilarity are then defined and proved to be a compatible generalised metric (in the sense of Lawvere) and pseudometric, respectively, under mild conditions.

READ FULL TEXT

page 1

page 2

page 3

page 4

07/15/2017

The Intricacies of 3-Valued Extensional Semantics for Higher-Order Logic Programs

In (Bezem 1999; Bezem 2001), M. Bezem defined an extensional semantics f...
06/28/2018

Up-To Techniques for Behavioural Metrics via Fibrations

Up-to techniques are a well-known method for enhancing coinductive proof...
02/14/2022

Quantalic Behavioural Distances

Behavioural distances measure the deviation between states in quantitati...
04/27/2021

On Generalized Metric Spaces for the Simply Typed Lambda-Calculus (Extended Version)

Generalized metrics, arising from Lawvere's view of metric spaces as enr...
01/22/2022

Beyond Nonexpansive Operations in Quantitative Algebraic Reasoning

The framework of quantitative equational logic has been successfully app...
04/26/2019

Quantitative Logics for Equivalence of Effectful Programs

In order to reason about effects, we can define quantitative formulas to...
02/14/2020

Abstract rewriting internalized

In traditional rewriting theory, one studies a set of terms up to a set ...