计算机科学 > 数字图书馆
[提交于 2025年10月5日 (v1),最后修订于 2026年4月23日 (此版本, v2)]
标题:Markov kernels in Mathlib's probability library
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The probability folder of Mathlib, Lean's mathematical library, makes a heavy use of Markov kernels. We present their definition and properties and describe the formalization of the disintegration theorem for Markov kernels. That theorem is used to define conditional probability distributions of random variables as well as posterior distributions. We then explain how Markov kernels are used in a more unusual way to get a common definition of independence and conditional independence and, following the same principles, to define sub-Gaussian random variables. Finally, we also discuss the role of kernels in our formalization of entropy and Kullback-Leibler divergence.