Papers
Topics
Authors
Recent
Search
2000 character limit reached

Monad Structures on Topological Spaces Comprising Mislove's Random Variables

Published 19 Aug 2026 in cs.LO | (2608.18683v1)

Abstract: Mislove, Goubault and Varacca investigated how to define random variables in Domain theory to form monads over the category of bounded complete domains. They intended to model probabilistic programming languages with their random variables monads. In this paper, we focus on the random variables defined by Mislove from a topological perspective. We provide a topology for \surd-max continuous random variables on a T0T_0 space, we construct a new T0T_0 space, where \surd-max property is essential for the monad structures. We show that the spaces of normalized \surd-max simple random variables form a monad over the category of T0T_0 spaces and that the spaces of normalized \surd-max continuous random variables give a monad over the category of d-spaces. In addition, on a sober space, the space of normalized \surd-max continuous random variables is the sobrification of the space of normalized \surd-max simple random variables.

Authors (2)

Summary

  • 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\mathbb{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 \surd to obtain his Cantor tree M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd} [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 — T0T_0 spaces, d-spaces, sober spaces, dcpos, and bounded complete domains.

Random variables with a topology

A continuous random variable on a T0T_0 space XX is a pair (μ,f)(\mu, f) where μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M} is a continuous valuation on Mislove's tree and ff is a partially continuous map with domain supp(μ)supp(\mu). A lower subset \surd0 is called \surd1-max if every \surd2 has \surd3 maximal in \surd4; this condition excludes supports where a ticked string coexists with a strictly longer unticked extension. The space \surd5 of \surd6-max continuous random variables carries the topology generated by subbasic sets \surd7 requiring both \surd8 and \surd9. A key technical observation is that the topology generated by M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}0 coincides with the weak (equivalently Scott) topology on M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}1, which itself is shown to be a bounded complete domain whose basis elements enjoy binary meets. Consequently M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}2 is M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}3, its specialization order is the product order M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}4 iff M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}5 and M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}6, and the valuation projection is continuous. Normalized variants M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}7 and M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}8 (simple random variables, i.e., those with valuations in the basis M=CC\mathbb{M} = \mathbb{C} \cup \mathbb{C}^{\surd}9) are defined analogously.

The simple-random-variable monad over T0T_00 spaces

For a continuous map T0T_01, the Kleisli lift T0T_02 splices the distribution of T0T_03 onto the subtree rooted at T0T_04 for each ticked leaf T0T_05, leaving mass on unticked nodes untouched. The unit is T0T_06 with T0T_07 mapping both T0T_08 and T0T_09 to T0T_00. The authors verify all three Kleisli triple laws directly, establishing a monad T0T_01 over T0T_02.

Crucially, the T0T_03-max restriction is not cosmetic. The paper exhibits an explicit counterexample showing that Mislove's original lift T0T_04 on unrestricted simple random variables does not preserve the specialization order: for two particular two-point domains T0T_05 and a specific T0T_06, one obtains T0T_07 yet T0T_08, which would violate continuity of the lift. The T0T_09-max property guarantees that the support of XX0 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 XX1 is sober then XX2 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 XX3-max closed subsets remain XX4-max, and that XX5 for irreducible families. If XX6 is a d-space, then XX7 and XX8 are d-spaces.

The truncation maps XX9 approximate any continuous random variable by simple ones: (μ,f)(\mu, f)0 on d-spaces. This yields two completion results:

  • For sober (μ,f)(\mu, f)1, (μ,f)(\mu, f)2 is the sobrification of (μ,f)(\mu, f)3 (and (μ,f)(\mu, f)4 of (μ,f)(\mu, 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)(\mu, f)6, (μ,f)(\mu, f)7 is the D-completion of (μ,f)(\mu, f)8, since it is the minimal subdcpo containing the simple random variables.

Moreover, sobriety reflects: (μ,f)(\mu, f)9 is sober iff μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}0 (equivalently μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}1) is sober, giving a powerspace-style characterization of sober spaces. Over bounded complete domains μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}2, μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}3 is a bounded complete domain whose topology agrees with the Scott topology, and μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}4 is a topological retract thereof (via normalization μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}5), 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 μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}6. The authors define, for μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}7, the lift as a double directed supremum

μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}8

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 μV1ΣM\mu \in \mathcal{V}_{\leq 1}\Sigma\mathbb{M}9 preserves bounded directed sups. With unit ff0, this forms a Kleisli triple over the category ff1 of d-spaces. An explicit formula for ff2 is derived: mass on unticked nodes is retained, mass at each ticked leaf ff3 is pushed through ff4 applied to the valuation component of ff5, and the map component is reassembled accordingly. Via the functors ff6 and ff7, this induces a Kleisli triple over ff8 that restricts to ff9 — 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(μ)supp(\mu)0 versus supp(μ)supp(\mu)1, which differ in general. Hence neither supp(μ)supp(\mu)2 nor supp(μ)supp(\mu)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(μ)supp(\mu)4 is core-compact whenever supp(μ)supp(\mu)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(μ)supp(\mu)6-max continuous random variables with a supp(μ)supp(\mu)7 topology generated by mixed valuation-and-value subbasic opens. It delivers monads of normalized supp(μ)supp(\mu)8-max simple random variables over supp(μ)supp(\mu)9 spaces and of normalized \surd00-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 \surd01-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.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.