The syntactic side of autonomous categories enriched over generalised metric spaces
-
Published:2023-12-18
Issue:
Volume:Volume 19, Issue 4
Page:
-
ISSN:1860-5974
-
Container-title:Logical Methods in Computer Science
-
language:en
-
Short-container-title:
Author:
Dahlqvist Fredrik,Neves Renato
Abstract
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
{\lambda}-calculus together with a proof that it is sound and complete. In fact
we go further than this, by showing that linear {\lambda}-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.
Publisher
Centre pour la Communication Scientifique Directe (CCSD)
Subject
General Computer Science,Theoretical Computer Science