Quasi-Borel Spaces
This repository contains a formalization of Quasi-Borel Spaces1 and Quasi-Borel Pre-Domains2 in Lean 43.
Usage
[[require]]
name = "quasi-borel-spaces"
git = "https://github.com/YellPika/quasi-borel-spaces"
rev = "main"
Differences from the Papers
We differ from the original papers12 in the following ways:
-
The definition of variable for
Sigmatypes (e.g.,(i : I) × P iorΣi : I, P i) is tweaked to more easily support types which are uninhabited. -
A
QuasiBorelSpaceinstance is defined for all types(i : I) × P i(the paper1 only allows countableI). -
Probability measures from the paper1 are called
PreProbabilityMeasures. We reserve the nameProbabilityMeasurefor the monad defined in Section V-D, i.e. probability measures quotiented by the relation -
We prove the probability measure monad is strong by constructing the strength operation (as in the Isabelle formalization4), instead of by showing
bindis a morphism (as in Section V-D1). -
We provide a
QuasiBorelSpaceinstance forChains, which allows a more succinct definition ofOmegaQuasiBorelSpace: we only require the supremum functionωSup : Chain A → Ais a morphism.