Quantitative Equational Logic
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.
Authors
- Giorgio Bacci (ORCID: https://orcid.org/0000-0003-4004-6049)
- Prakash Panangaden (ORCID: https://orcid.org/0000-0001-8763-6172)
- Gordon Plotkin (ORCID: https://orcid.org/0000-0001-8496-6096)
- Radu Mardare (ORCID: https://orcid.org/0000-0001-8660-1832)
Institutions
- Heriot-Watt University Malaysia (MY)
- Allied American University (US)
- Institute of Informatics of the Slovak Academy of Sciences (SK)
- McGill University (CA)
Publication Details
- Journal
- Journal of the ACM
- Published
- 2026-05-29
- DOI
- https://doi.org/10.1145/3818603
- Primary Topic
- Advanced Algebra and Logic
- Type
- article
- Field-Weighted Citation Impact
- 0.00