§2.2, p. 9 — corrected history-irrelevance probability for binary advice
ProvedSecretaryAdvice.Binary.binary_hi_probabilityFix a round and any information state comprising the observed relative order and signals. If the current secretary is not best so far, the probability that this secretary has the highest rank and that the information state is is zero. If the current secretary is best so far, let be when its signal is and when it is ; let be when its signal is and when it is . Writing for the mass of information state and for the mass where the current secretary is also globally best, the corrected identity is
Thus, whenever , the chance that the current secretary is globally best depends only on its round, whether it is best so far, and its current signal. This is the history-irrelevance property used in the LP reduction.
Formalization Note The paper's displayed fractions on p. 9 omit the factor ; they are incorrect for . The statement uses the corrected values and cross-multiplies, so it also covers information states of zero mass without dividing by zero. Lean indexes rounds from zero, and i.val + 1 is the paper's .
import Mathlib import Definitions.Def_SecretaryAdvice_Binary_Setting
namespace SecretaryAdvice.Binary
/-- Example 5 and §2.2, p. 9: corrected conditional top-rank probability.
The printed display omits the factor `i` in the numerator and denominator. -/
theorem binary_hi_probability (n : ℕ) (hn : 1 ≤ n) (p p' : ℝ)
(hp0 : (1 / 2 : ℝ) ≤ p) (hp1 : p ≤ 1)
(hp'0 : (1 / 2 : ℝ) ≤ p') (hp'1 : p' ≤ 1)
(i : Fin n) (x : Info n i) :
let seen := mass p p' (fun ω => info i ω = x)
let top := mass p p' (fun ω => info i ω = x ∧ isTop ω i)
let good := if x.2 (Fin.last i.val) then p else 1 - p
let other := if x.2 (Fin.last i.val) then 1 - p' else p'
(¬ bestSoFar i x → top = 0) ∧
(bestSoFar i x →
top * (((i.val + 1 : ℕ) : ℝ) * good + ((n - (i.val + 1) : ℕ) : ℝ) * other) =
seen * (((i.val + 1 : ℕ) : ℝ) * good)) := by sorry
end SecretaryAdvice.Binary
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.