Theorem (ProbabilityTheory.map_div_add_prod_gammaMeasure). Beta as a ratio of Gammas: for a, \mathbf{b}, r > 0, the image of \mathrm{Gamma}(a, r) \otimes \mathrm{Gamma}(\mathbf{b}, r) (shapes a, \mathbf{b}, common rate r) under (\mathbf{x}, y) \mapsto \frac{\mathbf{x}}{\mathbf{x}+y} is \mathrm{Beta}(a, \mathbf{b}). No printed source.
Headline
Lean statement and details
ProbabilityTheory.map_div_add_prod_gammaMeasure {a b r : ℝ} (ha : 0 < a) (hb : 0 < b) (hr : 0 < r) :
Measure.map (fun p ↦ p.1 / (p.1 + p.2)) ((gammaMeasure a r).prod (gammaMeasure b r)) =
betaMeasure a b