Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(4), p. 10 — Bayes rule: the ratio ∫h·P(Z|σ)d𝔾 / ∫P(Z|σ)d𝔾 is a version of E[h(Σ) | Z]

Proved
InfoInundation.Screening.eq_4

by mikedeng1 · Oct 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

bayesian-learningconditional-expectationgaussian-scale-mixturep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space carrying three mutually independent random variables: the truth θ∼N(μ,s2)\theta\sim\mathcal N(\mu,s^2)θ∼N(μ,s2) with s>0s>0s>0, the accuracy Σ∼G\Sigma\sim\mathbb GΣ∼G, where G\mathbb GG satisfies the standing assumption (a probability law with support in some [σ‾,σ‾][\underline\sigma,\overline\sigma][σ​,σ], 0<σ‾0<\underline\sigma0<σ​), and the noise ϵ∼N(0,1)\epsilon\sim\mathcal N(0,1)ϵ∼N(0,1). Let Z=θ+ΣϵZ=\theta+\Sigma\epsilonZ=θ+Σϵ be the post. Then for every bounded measurable h:R→Rh:\mathbb R\to\mathbb Rh:R→R,

E[h(Σ) ∣ Z]=∫h(σ) ψ((Z−μ)2,2(σ2+s2)) dG(σ)∫ψ((Z−μ)2,2(σ2+s2)) dG(σ)P-almost surely.\mathbb E\big[h(\Sigma)\,\big|\,Z\big]=\frac{\int h(\sigma)\,\psi\big((Z-\mu)^2,\sqrt{2(\sigma^2+s^2)}\big)\,d\mathbb G(\sigma)}{\int \psi\big((Z-\mu)^2,\sqrt{2(\sigma^2+s^2)}\big)\,d\mathbb G(\sigma)}\qquad P\text{-almost surely.}E[h(Σ)​Z]=∫ψ((Z−μ)2,2(σ2+s2)​)dG(σ)∫h(σ)ψ((Z−μ)2,2(σ2+s2)​)dG(σ)​P-almost surely.

This is the Bayes rule (4) of the paper, stated through posterior expectations: the posterior law of the accuracy given one post has density proportional to the likelihood (5) with respect to G\mathbb GG. It ties the ratio used in the definition of the screening scores to the probability model of the posts.

Formalization Note. The conditional expectation is with respect to the σ-algebra generated by ZZZ. The paper writes (4) as a posterior "density" P(Σ=σ∣Z)P(\Sigma=\sigma\mid Z)P(Σ=σ∣Z); testing it against all bounded measurable hhh is the measure-theoretic content of that identity.

Preamble
import Mathlib
import Definitions.Def_InfoInundation_Screening_Model
open MeasureTheory ProbabilityTheory
Formal statement
namespace InfoInundation.Screening

theorem eq_4 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (G : Measure ℝ) (hG : AccuracyLaw G) (μ s : ℝ) (hs : 0 < s) (θ Sig ε : Ω → ℝ)
    (hθ : Measurable θ) (hSig : Measurable Sig) (hε : Measurable ε)
    (hθlaw : P.map θ = gaussianReal μ (s ^ 2).toNNReal) (hSiglaw : P.map Sig = G)
    (hεlaw : P.map ε = gaussianReal 0 1) (hind : iIndepFun ![θ, Sig, ε] P)
    (h : ℝ → ℝ) (hh : Measurable h) (hhb : ∃ C : ℝ, ∀ x, |h x| ≤ C) :
    P[h ∘ Sig | MeasurableSpace.comap (fun ω => θ ω + Sig ω * ε ω) inferInstance]
      =ᵐ[P] fun ω => postExp G μ s (θ ω + Sig ω * ε ω) h := by sorry

end InfoInundation.Screening
Source
Allon, Drakopoulos & Manshadi, Information Inundation on Platforms and Implications, SSRN 3385627 (version of 2020-04-05), p. 10, proof of Proposition 1, eq. (4) (with eq. (1) and (5))
Human review
  • Endorsed by Shuze Chen · Oct 19, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 19, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me