Joint posterior reasoning: posterior over α × β #
Theorems about PMF.posterior instantiated at product types α × β, and
how marginalization (PMF.fst / PMF.snd) interacts with the resulting
joint posterior.
The "joint posterior" is just PMF.posterior at α := γ × δ — no new
definition is introduced. This file collects the structural theorems
for working with such posteriors:
posterior_fst_apply— closed form for the first-marginalized joint posterior (Bayes + marginalization). Used for L&G2017 Eq. 30 (height marginalization of the joint world × threshold posterior).posterior_fst_lt_iff— inequality decomposition for the marginalized form. Generalizesposterior_lt_iff_score_ltto the marginalized case.
Use cases #
- @cite{lassiter-goodman-2017} Eq. 30: height marginalization of the
joint
(world × threshold)posterior gives the world posterior. - @cite{kao-etal-2014-metaphor}: world marginalization of the joint
(world × QUD)posterior. - General latent-variable RSA where the listener jointly infers
(state, latent)and the per-state marginal posterior is wanted.
Architectural role #
This file is part of the structural track of the PMF-based RSA
discipline (cf. Theories/Pragmatics/RSA/Cancellation.lean). The
structural-track substrate provides theorems about model-class behavior
(joint inference, marginalization, cancellation); per-paper studies
build on it via instantiations and example-style illustrations.
Closed form for the first-marginalized joint posterior.
For a likelihood κ : (α × β) → PMF γ and a joint prior joint : PMF (α × β),
the first-component marginal of the joint posterior at observation c is
(posterior κ joint c).fst a = (∑_b joint(a, b) · κ(a, b)(c)) / marginal κ joint c
Direct combination of posterior_apply (Bayes' rule) and fst_apply
(marginal-from-joint as row-sum). The numerator is the conditional
joint mass for first-component a integrated over the second component.
This is the L&G2017 Eq. 30 pattern: marginalize the joint (world, threshold)
posterior over thresholds to get the per-world posterior. Same shape, different
domain interpretation.
Comparison decomposition for the first-marginalized joint posterior.
Comparing two marginalized joint posteriors at first-components a₁ and a₂
reduces to comparing the corresponding conditional-joint sums. The shared
denominator marginal κ joint c cancels.
Generalizes posterior_lt_iff_score_lt to the marginalized-product case:
posterior_lt_iff_score_lt compares per-element scores μ a · κ a b;
this compares per-first-component conditional sums
∑_b joint(a, b) · κ(a, b)(c).
Companion ≤ form of posterior_fst_lt_iff.
Closed form for the second-marginalized joint posterior.
Companion of posterior_fst_apply for the second component. Used by
L&G2017 for the threshold-marginal posterior P_L1(θ | u) (Fig. 5 left
panel) — analogous to the world-marginal P_L1(h | u) from posterior_fst_apply.
Comparison decomposition for the second-marginalized joint posterior.
Companion of posterior_fst_lt_iff.