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, an internal language) for a class of enriched autonomous categories. In the case of inequations, we get an internal language for autonomous categories enriched over partial orders. In the case of (ultra)metric equations, we get an internal language for autonomous categories enriched over (ultra)metric spaces. We use our results to obtain examples of inequational and metric equational systems for higher-order programs that contain real-time and probabilistic behaviour
翻译:连续状态空间程序或与物理过程互动的程序往往需要超越标准二进制的等同概念,而标准二进制环境的等同性概念是等同的,这种二进制环境的等同性概念是站不住站住住住住住住住不住住住的。在本文中,我们探讨了在四四四等制中等同的等同价值概念,其中包括(在)等等同和(超)等方方程式等(在)等异方程式。我们的主要结果是对线性(lambda)分级算法采用V-等等分制,同时证明对某类浓缩自主性自治性类别来说是健全和完整的(事实上是内部语言)。在进行等同时,我们用一种内部语言,对(超)等方方方程式进行等同,我们用我们的结果来为含有实时和概率行为的高阶方案获取非等化和计量等式系统的实例。