Helper

sum_cPr_eq

Section proba_extra
Type Lemma
Proof Lines 19

Signature

Lemma sum_cPr_eq (T A B : finType) (P : R.-fdist T) (X : {RV P -> A}) (Y : {RV P -> B}) (y : B) : `Pr[Y = y] != 0 -> \sum_(a in A) `Pr[X = a | Y = y] = 1.

Description

Conditional probabilities sum to 1: Σ_a Pr[X = a | Y = y] = 1. This is the law of total probability for conditional distributions, essential for showing that conditional distributions are valid fdists.

Uses (0)

This lemma does not use any other lemmas from the stats.

Used By (0)

No lemmas in the stats use this lemma.

Coq Source Code

View on GitHub
Loading source code...
← Back to Stats