Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(3), p. 9 — under the flat prior, expert k's posterior of θ given (xk, y) is N(θ̂k, σ̂²θ)

Proved
HerdingForecast.Equilibrium.eq_3_posterior

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

bayesian-posteriorflat-priorgaussianherdingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let τx,τy>0\tau_x, \tau_y > 0τx​,τy​>0 and consider the signals y=θ+ϵyy = \theta + \epsilon_yy=θ+ϵy​, xk=θ+ϵxkx_k = \theta + \epsilon_{x_k}xk​=θ+ϵxk​​ with independent ϵy∼N(0,τy−1)\epsilon_y \sim N(0, \tau_y^{-1})ϵy​∼N(0,τy−1​), ϵxk∼N(0,τx−1)\epsilon_{x_k} \sim N(0, \tau_x^{-1})ϵxk​​∼N(0,τx−1​) and the improper flat prior π(θ)∝1\pi(\theta) \propto 1π(θ)∝1. For all signal values (xk,y)(x_k, y)(xk​,y), the normalized likelihood of (xk,y)(x_k, y)(xk​,y) as a function of θ\thetaθ is the normal law

θ∣xk,y∼N(θ^k,σ^θ2),θ^k=τxτy+τxxk+τyτy+τxy,σ^θ2=(τy+τx)−1.\theta \mid x_k, y \sim N\big(\hat\theta_k, \hat\sigma^2_\theta\big),\qquad \hat\theta_k = \frac{\tau_x}{\tau_y+\tau_x}x_k + \frac{\tau_y}{\tau_y+\tau_x}y,\qquad \hat\sigma^2_\theta = (\tau_y+\tau_x)^{-1}.θ∣xk​,y∼N(θ^k​,σ^θ2​),θ^k​=τy​+τx​τx​​xk​+τy​+τx​τy​​y,σ^θ2​=(τy​+τx​)−1.

This identifies expert kkk's belief about θ\thetaθ with a Gaussian, which makes the error term of the objective (9) and the predictive law of the other experts' signals explicit.

Formalization Note The posterior is Lebesgue measure weighted by the product of the two normal densities, normalized by its total mass; the statement asserts it equals Mathlib's gaussianReal with the stated mean and variance. The hypotheses K≥2K \ge 2K≥2 and 0≤r<10 \le r < 10≤r<1 of Standing are carried for uniformity and are not used.

Preamble
import Mathlib
import Definitions.Def_HerdingForecast_Equilibrium_Model
Formal statement
namespace HerdingForecast.Equilibrium
theorem eq_3_posterior (P : Params) (hP : Standing P) (x y : ℝ) :
    posterior P x y = ProbabilityTheory.gaussianReal (thetaHat P x y) (postVar P).toNNReal := by sorry
end HerdingForecast.Equilibrium
Source
Jia, Keppo & Satopää, Herding in Probabilistic Forecasts, SSRN 3674961 (PDF sha256 820fb50d…), p. 9, eq. (3)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 23, 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