Induction and Recursion Principles in a Higher-Order Quantitative Logic for Probability
Provides foundational reasoning principles for quantitative verification of probabilistic systems, addressing a gap in higher-order quantitative logic.
This work develops a higher-order quantitative logic with guarded recursion and induction principles for reasoning about probabilistic programs, enabling proofs of bisimilarity distances, convergence of temporal learning algorithms, and random walks.
Quantitative logic reasons about the degree to which formulas are satisfied. This paper studies the fundamental reasoning principles of higher-order quantitative logic and their application to reasoning about probabilistic programs and processes. We construct an affine calculus for $1$-bounded complete metric spaces and the monad for probability measures equipped with the Kantorovich distance. The calculus includes a form of guarded recursion interpreted via Banach's fixed point theorem, useful, e.g., for recursive programming with processes. We then define an affine higher-order quantitative logic for reasoning about terms of our calculus. The logic includes novel principles for guarded recursion, and induction over probability measures and natural numbers. We illustrate the expressivity of the logic by a sequence of case studies: Proving upper limits on bisimilarity distances of Markov processes, showing convergence of a temporal learning algorithm and of a random walk using a coupling argument.