kuntions
Kuntions are a theoretical construct used in abstract mathematics and theoretical computer science to model generalized function-like processes that yield probabilistic outcomes rather than a single result. In this framework, a kuntion from a set A to a set B assigns to each input a probability distribution over B, rather than a single value. Deterministic functions correspond to degenerate kuntions where each input has a single output with probability one.
Formal definition and composition
A kuntion f from A to B can be described as a family {f(a)}_{a in A} of
Given kuntions f: A -> B and g: B -> C, their composite h = g ∘ f is defined
Kuntions are used in discussions of nondeterministic processes, probabilistic programming semantics, and certain toy models in
A simple example uses A = {0,1} and B = {0,1}. If f(0) = {0:0.7, 1:0.3} and f(1) = {0:0.2,