- The paper constructs monads of normalized, surd-max simple random variables over T₀ spaces and continuous random variables over d-spaces, extending the theory to bounded complete domains.
- The surd-max restriction preserves continuity and order, while continuous random variables emerge as directed suprema of simple ones and as both the sobrification and D-completion of that space.
- The resulting monads are non-commutative, limiting direct modeling of independent parallel probabilistic choice and leaving adequacy, distributive laws, and cartesian closure as open problems.
Background and motivation
The paper addresses a long-standing problem in domain-theoretic semantics: constructing a monad of random variables suitable for modelling probabilistic computation. Mislove's earlier work introduced discrete random variables over domains [Mislove2005], and Goubault-Larrecq and Varacca proposed continuous random variables on bounded complete domains via thin valuations on the Cantor tree C [Goubault2011]; however, that construction fails to form a monad [Mislove2013, Mislove2014]. Mislove later repaired this by adjoining maximal finite elements marked with a termination symbol √ to obtain his Cantor tree M=C∪C√ [Mislove2017]. Barker's randomized-choice monad [Barker2016] handles only non-determinism, while Di Gianantonio and Edalat's PER-domain construction [Pietro2024] solves the Jung–Tix problem by viewing random variables as push-forwards from fixed probability spaces. The present paper takes a different route: it interprets random variables as processes driven by an independent coin-flipping machine, adopts Mislove's Cantor tree as sample space (whose valuations cover all measures on Cantor space), and develops the construction over non-Hausdorff spaces — T0 spaces, d-spaces, sober spaces, dcpos, and bounded complete domains.
Random variables with a topology
A continuous random variable on a T0 space X is a pair (μ,f) where μ∈V≤1ΣM is a continuous valuation on Mislove's tree and f is a partially continuous map with domain supp(μ). A lower subset √0 is called √1-max if every √2 has √3 maximal in √4; this condition excludes supports where a ticked string coexists with a strictly longer unticked extension. The space √5 of √6-max continuous random variables carries the topology generated by subbasic sets √7 requiring both √8 and √9. A key technical observation is that the topology generated by M=C∪C√0 coincides with the weak (equivalently Scott) topology on M=C∪C√1, which itself is shown to be a bounded complete domain whose basis elements enjoy binary meets. Consequently M=C∪C√2 is M=C∪C√3, its specialization order is the product order M=C∪C√4 iff M=C∪C√5 and M=C∪C√6, and the valuation projection is continuous. Normalized variants M=C∪C√7 and M=C∪C√8 (simple random variables, i.e., those with valuations in the basis M=C∪C√9) are defined analogously.
The simple-random-variable monad over T00 spaces
For a continuous map T01, the Kleisli lift T02 splices the distribution of T03 onto the subtree rooted at T04 for each ticked leaf T05, leaving mass on unticked nodes untouched. The unit is T06 with T07 mapping both T08 and T09 to T00. The authors verify all three Kleisli triple laws directly, establishing a monad T01 over T02.
Crucially, the T03-max restriction is not cosmetic. The paper exhibits an explicit counterexample showing that Mislove's original lift T04 on unrestricted simple random variables does not preserve the specialization order: for two particular two-point domains T05 and a specific T06, one obtains T07 yet T08, which would violate continuity of the lift. The T09-max property guarantees that the support of X0 decomposes as a disjoint union, making the case analysis in the definition of the lifted partial map coherent and order-preserving.
Sobrification, D-completion, and bounded complete domains
On the structural side, the paper proves that if X1 is sober then X2 is sober, using the characterization of sobriety via suprema of irreducible subsets; the argument relies on lemmas showing that directed suprema and irreducible suprema of X3-max closed subsets remain X4-max, and that X5 for irreducible families. If X6 is a d-space, then X7 and X8 are d-spaces.
The truncation maps X9 approximate any continuous random variable by simple ones: (μ,f)0 on d-spaces. This yields two completion results:
- For sober (μ,f)1, (μ,f)2 is the sobrification of (μ,f)3 (and (μ,f)4 of (μ,f)5), via Heckmann's criterion that every point of the larger space lies above a point of the dense subspace in each open set.
- For d-spaces (μ,f)6, (μ,f)7 is the D-completion of (μ,f)8, since it is the minimal subdcpo containing the simple random variables.
Moreover, sobriety reflects: (μ,f)9 is sober iff μ∈V≤1ΣM0 (equivalently μ∈V≤1ΣM1) is sober, giving a powerspace-style characterization of sober spaces. Over bounded complete domains μ∈V≤1ΣM2, μ∈V≤1ΣM3 is a bounded complete domain whose topology agrees with the Scott topology, and μ∈V≤1ΣM4 is a topological retract thereof (via normalization μ∈V≤1ΣM5), hence also a bounded complete domain with the Scott topology.
The continuous-random-variable monad over d-spaces
Extending the monad to continuous random variables requires more care because the naive lift need not land in μ∈V≤1ΣM6. The authors define, for μ∈V≤1ΣM7, the lift as a double directed supremum
μ∈V≤1ΣM8
which is well-defined and continuous on d-spaces thanks to the fact that composition in weak d-spaces preserves existing directed sups and that μ∈V≤1ΣM9 preserves bounded directed sups. With unit f0, this forms a Kleisli triple over the category f1 of d-spaces. An explicit formula for f2 is derived: mass on unticked nodes is retained, mass at each ticked leaf f3 is pushed through f4 applied to the valuation component of f5, and the map component is reassembled accordingly. Via the functors f6 and f7, this induces a Kleisli triple over f8 that restricts to f9 — a cartesian closed category — yielding what the authors regard as the principal contribution: a random-variable monad on bounded complete domains in which every continuous random variable is the supremum of a directed family of simple ones. This is presented as resolving Mislove's question from [Mislove2013].
Non-commutativity
Using Moggi's tensorial strengths, the paper computes the left and right strengths explicitly and shows they disagree: composing them produces supp(μ)0 versus supp(μ)1, which differ in general. Hence neither supp(μ)2 nor supp(μ)3 is commutative. This contrasts with the commutative monads of Di Gianantonio and Edalat [Pietro2024], and means these monads cannot directly model independent parallel probabilistic choice without additional structure.
Limitations and open questions
The paper concedes several gaps. No denotational semantics for a programming language is developed from either monad, so their computational adequacy remains untested. Whether a distributive law exists between these random-variable monads and the non-deterministic powerdomains is left open — a prerequisite for combining probability with demonic or angelic choice. Topologically, it is unknown whether supp(μ)4 is core-compact whenever supp(μ)5 is; the authors note this likely depends on the structure of spaces of partially continuous maps, and core-compactness would be needed for a cartesian closed category of such spaces. Finally, the class of spaces whose valuations arise entirely as push-forwards of continuous random variables is only partially characterized by Mislove's preliminary answer, and the paper conjectures the class is larger.
Conclusion
This paper transfers Mislove's random-variable construction from bounded complete domains to general non-Hausdorff spaces, equipping supp(μ)6-max continuous random variables with a supp(μ)7 topology generated by mixed valuation-and-value subbasic opens. It delivers monads of normalized supp(μ)8-max simple random variables over supp(μ)9 spaces and of normalized √00-max continuous random variables over d-spaces (hence over sober spaces, dcpos, and bounded complete domains), identifies the continuous-variable space simultaneously as sobrification and D-completion of the simple-variable space, and demonstrates via counterexamples both the necessity of the √01-max hypothesis and the failure of commutativity. The remaining semantic questions — adequacy, distributive laws, and cartesian closure — define the immediate agenda for this line of work.