# The Geometry of Bayesian Programming

**Authors:** Ugo Dal Lago, Naohiko Hoshino

arXiv: 1904.07425 · 2023-06-22

## TL;DR

This paper introduces a geometric interaction model for a typed lambda-calculus designed for higher-order Bayesian programming, incorporating sampling and soft conditioning, based on measurable spaces.

## Contribution

It provides a novel geometric interaction model for Bayesian programming languages, connecting category theory with probabilistic semantics.

## Key findings

- Model is adequate for distribution-based semantics
- Model is adequate for sampling-based semantics
- Framework supports higher-order Bayesian programming

## Abstract

We give a geometry of interaction model for a typed lambda-calculus endowed with operators for sampling from a continuous uniform distribution and soft conditioning, namely a paradigmatic calculus for higher-order Bayesian programming. The model is based on the category of measurable spaces and partial measurable functions, and is proved adequate with respect to both a distribution-based and a sampling based operational semantics.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1904.07425/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/1904.07425/full.md

## References

51 references — full list in the complete paper: https://tomesphere.com/paper/1904.07425/full.md

---
Source: https://tomesphere.com/paper/1904.07425