The syntactic side of autonomous categories enriched over generalised metric spaces

08/30/2022
by   Fredrik Dahlqvist, et al.
0

Programs with a continuous state space or that interact with physical processes often require notions of equivalence going beyond the standard binary setting in which equivalence either holds or does not hold. In this paper we explore the idea of equivalence taking values in a quantale V, which covers the cases of (in)equations and (ultra)metric equations among others. Our main result is the introduction of a V-equational deductive system for linear λ-calculus together with a proof that it is sound and complete. In fact we go further than this, by showing that linear λ-theories based on this V-equational system form a category that is equivalent to a category of autonomous categories enriched over 'generalised metric spaces'. If we instantiate this result to inequations, we get an equivalence with autonomous categories enriched over partial orders. In the case of (ultra)metric equations, we get an equivalence with autonomous categories enriched over (ultra)metric spaces. We additionally show that this syntax-semantics correspondence extends to the affine setting. We use our results to develop examples of inequational and metric equational systems for higher-order programming in the setting of real-time, probabilistic, and quantum computing.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/18/2021

An Internal Language for Categories Enriched over Generalised Metric Spaces

Programs with a continuous state space or that interact with physical pr...
research
04/04/2023

A Complete V-Equational System for Graded lambda-Calculus

Modern programming frequently requires generalised notions of program eq...
research
02/10/2023

On the Lattice of Program Metrics

In this paper we are concerned with understanding the nature of program ...
research
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...
research
05/13/2022

Completeness and expressiveness for gs-monoidal categories

Formalised in the study of symmetric monoidal categories, string diagram...
research
03/11/2020

The Sequent Calculus of Skew Monoidal Categories

Szlachányi's skew monoidal categories are a well-motivated variation of ...
research
09/06/2018

Extending set functors to generalised metric spaces

For a commutative quantale V, the category V-cat can be perceived as a c...

Please sign up or login with your details

Forgot password? Click here to reset