Logical Foundations of Quantitative Equality (long version)

10/11/2021
by   Francesco Dagnino, et al.
0

Quantitative reasoning provides a flexible approach capable to deal with the uncertainty and imprecision that affects modern software systems due to their complexity. Its distinguishing feature is the use of distances, instead of equivalence relations, so that one can measure how much two objects are similar, rather than just saying whether they are equivalent or not. In this paper we aim at providing a solid logical ground to quantitative reasoning, using the categorical language of Lawvere's hyperdoctrines. The key idea is to see distances as equality predicates in Linear Logic. Adding equality to Linear Logic, however, is not as trivial as it might appear. The linear version of the usual rules for equality, asserting that it is reflexive and substitutive, has the consequence that equality collapses to an equivalence relation, as it can be used an arbitrary number of times. To overcome this issue, we consider the extension of Linear Logic with graded modalities and use them to write a resource sensitive substitution rule that keeps equality quantitative. We introduce a deductive calculus for (Graded) Linear Logic with quantitative equality and the notion of Lipschitz doctrine to give semantics to it. Main examples are based on metric spaces and Lipschitz maps and on quantitative realisability.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/25/2019

Calculational HoTT

Based on a loose correspondence between, on one hand, a first order vers...
research
06/19/2020

The Fluted Fragment with Transitive Relations

We study the satisfiability problem for the fluted fragment extended wit...
research
05/30/2023

Colored E-Graph: Equality Reasoning with Conditions

E-graphs are a prominent data structure that has been increasing in popu...
research
03/15/2013

Update report: LEO-II version 1.5

Recent improvements of the LEO-II theorem prover are presented. These im...
research
07/27/2017

A New Game Equivalence and its Modal Logic

We revisit the crucial issue of natural game equivalences, and semantics...
research
05/17/2022

SCL(EQ): SCL for First-Order Logic with Equality

We propose a new calculus SCL(EQ) for first-order logic with equality th...
research
02/09/2021

k-Equivalence Relations and Associated Algorithms

Lines and circles pose significant scalability challenges in synthetic g...

Please sign up or login with your details

Forgot password? Click here to reset