9 Bayesian flows, conjugacy, and hidden states
On this page · Permalink · Source line 1026
Fix a score vector \(g\). The likelihood flow is
and the Bayesian flow is
Theorem 9.1: Bayesian nonlinear semigroup
Its generator is the centered multiplicative field
Read proof · Visual guide: A nonlinear semigroup of odds · Read statement and proof side by side · Permalink · Source line 1039 · Claim record · Lean coverage · Code · Worked examples
Proof of Theorem 9.1
The semigroup law is the likelihood-composition theorem with \(e^{sg}e^{tg}=e^{(s+t)g}\). Differentiating the normalized exponential formula gives
The quotient is \(\langle g,p(t)\rangle\).
Back to statement · Read statement and proof side by side · Permalink · Source line 1055 · Claim record · Lean coverage · Code · Worked examples

Example 9.2: Beta–Binomial conjugate packet
A \(\operatorname{Beta}(a,b)\) prior and \(s\) successes in \(n\) trials produce
The prior exponents are additive packets: the likelihood increments them by \((s,n-s)\). In the numerical example,
so the posterior is \(\operatorname{Beta}(9,6)\) with mean \(0.6\).
Visual guide: Conjugacy tracks exponents · Permalink · Source line 1070

9.1 Hidden Markov filtering
On this page · Permalink · Source line 1089
Let \(K\) be column stochastic and let \(\lambda^{(r)}\) be the likelihood associated with the \(r\)th observation. The filter recursion is
Proposition 9.3: Prediction-update reconstruction
Every hidden Markov filtering step is the composition of a linear Markov transfer and a normalized nonlinear likelihood transfer. Assume a probability initial vector, a column-stochastic transition matrix, and nonnegative likelihoods with positive evidence at every step. Then every \(p_r\) is a probability vector.
Read proof · Visual guide: Prediction and observation do not commute · Visual guide: One complete coarse filter · Read statement and proof side by side · Permalink · Source line 1098 · Claim record · Lean coverage · Code · Worked examples
Proof of Proposition 9.3
Column stochasticity gives \(\widehat p_r\ge0\) and \({\boldsymbol{1}}^T\widehat p_r=1\). Bayesian normalization then gives \(p_r\ge0\) and \({\boldsymbol{1}}^Tp_r=1\).
Back to statement · Read statement and proof side by side · Permalink · Source line 1102 · Claim record · Lean coverage · Code · Worked examples
