PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 31, 2026Journal of the ACM0 citationsOpen Access

Quantitative Equational Logic

View Full Paper
GBGiorgio BacciRMRadu MardarePPPrakash Panangaden

Key Points

  • This work aims to establish a quantitative form of equational reasoning, termed quantitative equational logic, to analyze distances between terms.
  • Introduced quantitative equalities that measure dissimilarity using nonnegative reals.
  • Developed the metatheory of quantitative equational logic.
  • Demonstrated applications through examples involving various metrics.
  • Achieved a completeness theorem for quantitative equational logic.
  • Showed the formation of monads on suitable categories of metric spaces.
  • Illustrated examples where quantitative equational theories correlate with established mathematical structures.

Abstract

We develop a quantitative analogue of equational reasoning, which we call quantitative equational logic. The quantitative equations use, instead of classical equality, quantitative equalities, which are equalities indexed with nonnegative reals. Thus, s = ε t means that “ s and t are points in a metric space and their distance is less than ε”. Quantitative equalities will be used to encode behavioural distances, with ε being an upper bound on the measure of dissimilarity between two terms. We develop the metatheory of this subject. We define a notion of quantitative algebra, which is the quantitative analogue of universal algebra. We prove a completeness theorem for quantitative equational logic, and we show that we obtain monads on suitable categories of metric spaces. We present a set of examples where the free algebra of a quantitative equational theory corresponds to some well-known structure. These examples are: Hausdorff metrics from quantitative semilattices; p -Wasserstein metrics (hence also the Kantorovich metric), and the total variation metric.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Bacci et al. (2026) studied this question.

synapsesocial.com/papers/6a1bd0b55783ba022b6fc66ahttps://doi.org/10.1145/3818603
Ask AI
Helpful
Bookmark
Share
View Full Paper