NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the axiomatizability of quantitative algebras

Radu Mardare, Prakash Panangaden, Gordon D. Plotkin

This paper, authored by Radu Mardare, Prakash Panangaden, and Gordon Plotkin, provides the theoretical "rulebook" for axiomatizing systems where equality isn't binary, but measured in degrees of distance. By extending classical universal algebra to metric spaces, the authors establish the fundamental theorems—analogous to Birkhoff’s Variety Theorem—that define which classes of quantitative systems can be described by specific types of logical axioms.

TL;DR

The authors generalize classical "Variety" and "Quasivariety" theorems to the realm of Quantitative Algebras (QAs), which are algebras over metric spaces. They identify the specific closure properties (like subobjects, products, and a new "c-reflexive" homomorphism) required to determine if a class of metric-algebraic structures can be defined by quantitative equations or Horn clauses.

What Problem Does This Paper Address?

In classical algebra, we reason about absolute equality ($s = t$). However, in modern computer science—particularly in probabilistic, stochastic, and "fuzzy" systems—absolute equality is often too brittle. Instead, we need to reason about distance: "Is the distance between state $s$ and state $t$ less than $\epsilon$?"

The authors previously introduced Quantitative Algebras (QAs) to provide a foundation for this "metric semantics." While they knew how to write quantitative equations (of the form $s =_\epsilon t$), they hadn't yet mapped out the boundaries of what these equations could actually define. In classical algebra, Birkhoff’s Variety Theorem tells us exactly which classes of algebras are "equational" (those closed under homomorphic images, subalgebras, and products). This paper seeks the metric-space equivalent of that landmark result, answering: What kinds of metric-algebraic structures can be axiomatized by quantitative equations or conditional (Horn) clauses?

Methods

The paper employs several novel mathematical constructions to bridge the gap between discrete logic and continuous metrics:

  • Quantitative Equational Theories: These allow for axioms like $\{x_i =_{\epsilon_i} y_i\} \vdash s =_\epsilon t$, meaning "if these variables are close, then these terms must also be close."
  • c-Reflexive Homomorphisms: A standard homomorphism in algebra preserves structure. In the metric setting, the authors found they needed a more nuanced version that accounts for how distances in the image "pull back" to the domain. This concept is central to their new Variety Theorem.
  • Quantitative First-Order Structures (QFOs): The authors show that QAs are isomorphic to a specific type of first-order structure. This allows them to use tools from model theory, specifically regarding how structures behave under limits.
  • Subreduced Products: Standard "reduced products" (used in classical model theory) don't always play nice with the Archimedean property of metrics (e.g., if $d(x,y) \le \epsilon$ for all $\epsilon > 0$, then $d(x,y) = 0$). The authors introduce "subreduced products" to ensure these metric properties are preserved.

Datasets

Not discussed in the paper. This is a theoretical work in mathematical logic and semantics; it does not use empirical datasets.

Key Insights and Ideas

  • The Congruence Gap: In classical algebra, equations define congruences (equivalence relations that play nice with operations). In QAs, equations define pseudometrics. The authors point out that many classical results rely on the "discrete nature" of congruences and fail when metrics become more complex.
  • Reflexivity as a Filter: The discovery of $c$-reflexive homomorphisms is the "aha moment" for the Variety Theorem. It suggests that to define a class of metric algebras, you don't just need to preserve operations; you need to preserve the "reachability" of distances within the structure.
  • Archimedean Challenges: The paper highlights that the "Archimedean axiom" (the idea that distances behave like real numbers) is what makes axiomatizing these systems harder than classical ones, necessitating the move from standard reduced products to subreduced products.

Key Results

  • The c-Variety Theorem: The authors prove that a class of QAs can be axiomatized by $c$-basic conditional equations (Horn clauses with fewer than $c$ hypotheses) if and only if the class is closed under subobjects, products, and $c$-reflexive homomorphisms.
  • Hierarchy of Axiomatizability:
    • 1-Variety: Closed under standard homomorphisms; axiomatized by unconditional equations ($s =_\epsilon t$).
  • $\aleph_0$-Variety: Axiomatized by finitary Horn clauses (finite sets of hypotheses).
  • $\aleph_1$-Variety: Axiomatized by basic conditional equations with countable hypotheses.
  • The Quasivariety Theorem: They establish that a class of QAs is axiomatizable by general Horn clauses if and only if it is closed under isomorphisms, subalgebras, and subreduced products.

Limitations and Future Work

  • Finitary Restriction: Some results regarding general Horn clauses were proved under the restriction of having only finitary functions (functions with a finite number of arguments) in the algebraic signature. The authors suspect the results hold for countable functions but haven't proven it yet.
  • Categorical Framework: While the paper uses some category theory, the authors note that a "fully categorical framework" (integrating these results with things like Lawvere theories or monads on metric spaces) is still a work in progress.
  • Complete Metric Spaces: The paper briefly discusses "Complete QAs" (where every Cauchy sequence converges), suggesting that a similar Quasivariety theorem could be developed specifically for complete spaces, which are common in functional programming semantics.

Summary updated

BibTeX
@inproceedings{mardare2017axiomatizability,
  author = {Radu Mardare and Prakash Panangaden and Gordon D. Plotkin},
  title = {{On the axiomatizability of quantitative algebras}},
  booktitle = {LICS},
  year = {2017},
  doi = {10.1109/lics.2017.8005102},
}
Figure