2018 · 13 citations · 21 references
Natural SciencesComputer ScienceMathematicsProbability TheoryProgramming LanguagesStochastic ProcessesBoolean AlgebraMarkov ProcessesModel TheoryRandom VariablesStochastic CalculusStochastic ProgrammingBoolean-valued ModelsContinuation SemanticsContinuation-passing StyleModel-theoretic SemanticsProbabilistic ComputationProbabilistic ProgrammingProbabilistic Semantics
The ordinary untyped λ-calculus has a λ-theoretic model proposed in two related forms by Scott and Plotkin in the 1970s. Recently Scott showed how to introduce probability by extending these models with random variables. However, to reason about correctness and to add further features, it is useful to reinterpret the construction in a higher-order Boolean-valued model involving a measure algebra. We develop the semantics of an extended stochastic λ-calculus suitable for modeling a simple higher-order probabilistic programming language. We exhibit a number of key equations satisfied by the terms of our language. The terms are interpreted using a continuation-style semantics with an additional argument, an infinite sequence of coin tosses, which serves as a source of randomness. We also introduce a fixpoint operator as a new syntactic construct, as β-reduction turns out not to be sound for unrestricted terms. Finally, we develop a new notion of equality between terms interpreted in a measure algebra, allowing one to reason about terms that may not be equal almost everywhere. This provides a new framework and reasoning principles for probabilistic programs and their higher-order properties.
21
Theory of Recursive Functions and Effective Computability
D. C. Cooper · The Computer Journal · 1969 · 2.6K citations · Full text
Choice Reviews Online · 1992 · 1.5K citations
Semantics of probabilistic programs
Dexter Kozen · Journal of Computer and System Sciences · 1981 · 507 citations