[Paper Review] Up-To Techniques for Behavioural Metrics via Fibrations
This paper introduces a generic framework for up-to techniques in behavioural metrics using fibrational methods, extending coinductive proof principles to quantitative system analysis. By leveraging the Wasserstein lifting of functors via change-of-base in fibrations over quantales, it establishes soundness conditions for up-to techniques such as reflexivity, transitivity, and contextual closure in a compositional, modular way—enabling efficient verification of behavioural distances in systems like automata and probabilistic processes.
Up-to techniques are a well-known method for enhancing coinductive proofs of behavioural equivalences. We introduce up-to techniques for behavioural metrics between systems modelled as coalgebras and we provide abstract results to prove their soundness in a compositional way. In order to obtain a general framework, we need a systematic way to lift functors: we show that the Wasserstein lifting of a functor, introduced in a previous work, corresponds to a change of base in a fibrational sense. This observation enables us to reuse existing results about soundness of up-to techniques in a fibrational setting. We focus on the fibrations of predicates and relations valued in a quantale, for which pseudo-metric spaces are an example. To illustrate our approach we provide an example on distances between regular languages.
Motivation & Objective
- To extend up-to techniques—proven effective for behavioural equivalence in coinductive reasoning—to the quantitative setting of behavioural metrics.
- To provide a general, compositional framework for proving the soundness of up-to techniques in metric coinduction, avoiding ad hoc case-by-case analysis.
- To unify and generalize existing approaches to metric coinduction by using fibrational structures and quantale-valued relations.
- To establish conditions under which up-to techniques like contextual closure, reflexivity, and transitivity are sound in the context of behavioural metrics.
- To demonstrate the applicability of the framework through a case study on distances between regular languages using automata.
Proposed method
- Model systems as coalgebras and behavioural metrics as coinductive predicates in a fibration of V-valued relations and predicates, where V is a quantale.
- Use the Wasserstein lifting of functors as a systematic way to lift endofunctors on Set to endofunctors on metric spaces, enabling metric coinduction.
- Establish that this lifting arises from a change-of-base between the fibrations V-Rel and V-Pred, allowing reuse of existing fibrational results on up-to techniques.
- Define compatibility of up-to techniques via the condition f ◦ b ≤ b ◦ f for monotone maps b and f on complete lattices, generalizing the lattice-theoretic framework to the quantitative setting.
- Introduce the canonical predicate lifting for functors and prove that it preserves constructively-convergent sups under mild assumptions (e.g., constructively completely distributive quantales).
- Prove that contextual closure is compatible under the canonical lifting by verifying that the distributive law between the functor and the algebraic structure lifts appropriately to the metric setting.
Experimental results
Research questions
- RQ1How can up-to techniques—commonly used for behavioural equivalence—be generalized to the setting of behavioural metrics?
- RQ2What abstract, compositional conditions ensure the soundness of up-to techniques in the context of metric coinduction?
- RQ3Can the Wasserstein lifting of functors be systematically characterized using fibrational structures and change-of-base?
- RQ4Under what conditions is the canonical lifting of a functor compatible with up-to techniques such as reflexivity, transitivity, and contextual closure?
- RQ5How can the framework be applied to concrete systems, such as automata, to verify distances between regular languages?
Key findings
- The Wasserstein lifting of a functor corresponds to a change-of-base in the fibration of V-valued relations and predicates, providing a principled way to lift structure to metric spaces.
- Up-to techniques such as reflexivity and transitivity are sound for behavioural metrics when the underlying lifting satisfies mild conditions on the quantale V, generalizing prior results.
- Contextual closure is compatible with the canonical lifting of functors under very mild assumptions, ensuring that syntactic contexts are non-expansive with respect to the induced behavioural metric.
- For deterministic automata, the shortest-distinguishing-word-distance between states is the greatest fixpoint of a monotone function on [0,1]Q×Q, enabling coinductive verification.
- The framework applies to probabilistic systems: for the distribution functor D, the canonical lifting satisfies the required compatibility conditions despite the failure of the evaluation map to preserve non-bottom elements.
- The framework generalizes and unifies prior results on non-expansiveness and continuity of contexts in behavioural metrics, showing that such properties are instances of up-to techniques in a fibrational setting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.