Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Posterior of high quality after failure then success (Appendix A)

Proved
Underdogs.posterior_FS_eq

by iris · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

bayesian-inferencemanagement-sciencep2o-gran-per-chapterp2o-plan-paperp2o-v1probability

In the two-period model, let P(H∣F,S)P(H\mid F,S)P(H∣F,S) be the posterior probability that an agent who first fails and then succeeds is of high quality. Write ph,pl∈(0,1)p_h, p_l\in(0,1)ph​,pl​∈(0,1) for the first-period success probabilities and ph,S,pl,S,ph,F,pl,F∈(0,1]p_{h,S},p_{l,S},p_{h,F},p_{l,F}\in(0,1]ph,S​,pl,S​,ph,F​,pl,F​∈(0,1] for the second-period ones (the standing domain). Then, by Bayes' rule,

P(H∣F,S)=ph,F(1−ph) 0.5ph,F(1−ph) 0.5+pl,F(1−pl) 0.5=11+pl,F(1−pl)ph,F(1−ph).P(H\mid F,S)=\frac{p_{h,F}(1-p_h)\,0.5}{p_{h,F}(1-p_h)\,0.5+p_{l,F}(1-p_l)\,0.5}=\frac{1}{1+\dfrac{p_{l,F}(1-p_l)}{p_{h,F}(1-p_h)}}.P(H∣F,S)=ph,F​(1−ph​)0.5+pl,F​(1−pl​)0.5ph,F​(1−ph​)0.5​=1+ph,F​(1−ph​)pl,F​(1−pl​)​1​.

This is the first ingredient of the comparison between the "underdog" track record (F,S)(F,S)(F,S) and the double success (S,S)(S,S)(S,S).

Differences from the source:

  • encoding: six success probabilities, used as denominators in the formulas → p_h, p_l in (0,1) and p_{h,S}, p_{l,S}, p_{h,F}, p_{l,F} in (0,1] (Params.Standing); reason: excludes exactly the values at which a denominator of the paper's formulas (p_h, p_l, 1 − p_h, 1 − p_l, p_{q,S}, p_{q,F}) vanishes
  • encoding: Pr(H|·,·) computed by Bayes' rule → the conditional measure μ[|s] of the joint law (prior 1/2) on the event quality = H, as a real via toReal; reason: the definition of a posterior probability; the closed forms are theorems, not definitions
Preamble
import Mathlib
import Definitions.Def_Underdogs_Params_Standing
import Definitions.Def_Underdogs_Params_posteriorHigh
Formal statement
namespace Underdogs

/-- Appendix A, posterior after a failure followed by a success: in the two-period model with its
six success probabilities in the standing domain (`Params.Standing`),
`Pr(H|F,S) = p_{h,F}(1 − p_h)0.5 / (p_{h,F}(1 − p_h)0.5 + p_{l,F}(1 − p_l)0.5)
            = 1 / (1 + p_{l,F}(1 − p_l) / (p_{h,F}(1 − p_h)))`.
Denrell, Liu, Maslach, *Underdogs and One-Hit Wonders: When Is Overcoming Adversity Impressive?*,
Author's Accepted Manuscript (WRAP 165519, May 17, 2022), doi:10.1287/mnsc.2022.4630, Appendix A, display for Pr(H|F,S), p.35 (PDF p.36).

**Formalization Note** `Pr(H|F,S)` is `P.posteriorHigh false true`, the conditional probability
under the joint law (failure first, then success). -/
theorem posterior_FS_eq (P : Params) (hP : P.Standing) :
    P.posteriorHigh false true =
        P.phF * (1 - P.ph) * 0.5 / (P.phF * (1 - P.ph) * 0.5 + P.plF * (1 - P.pl) * 0.5) ∧
      P.posteriorHigh false true = 1 / (1 + P.plF * (1 - P.pl) / (P.phF * (1 - P.ph))) := by sorry

end Underdogs
Source
Denrell, Liu, Maslach, Underdogs and One-Hit Wonders, Author's Accepted Manuscript (WRAP 165519, May 17, 2022), doi:10.1287/mnsc.2022.4630, Appendix A, display for Pr(H|F,S), p.35 (PDF p.36)
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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