Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7, pp. 9–10 — the value is 2qμ + (p − q)D_Q; λ̄ is optimal for the Hider; the favoring-bias strategy β is optimal for the Searcher

Proved
SignalSearch.Tree.theorem_7

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

game-valuep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1search-gamesignalstreezero-sum-game

Let 12<p≤1\tfrac12<p\le121​<p≤1, q=1−pq=1-pq=1−p, and let (Q,O)(Q,O)(Q,O) be a rooted tree with positive arc lengths and total length μ=μ(Q)\mu=\mu(Q)μ=μ(Q). Let DQD_QDQ​ be its mean depth with respect to the Hider distribution λˉ\bar\lambdaλˉ of Definition 4.

  1. The value V=V(Q)V=V(Q)V=V(Q) of the game G(Q,O,p)G(Q,O,p)G(Q,O,p) is
V(Q)=2qμ+(p−q)DQ.(2)V(Q)=2q\mu+(p-q)D_Q. \tag{2}V(Q)=2qμ+(p−q)DQ​.(2)
  1. The hiding distribution λˉ\bar\lambdaλˉ is optimal for the Hider: it guarantees an expected search time of at least V(Q)V(Q)V(Q) against every pure Searcher strategy.
  2. At every branch node with branches Q1Q_1Q1​ and Q2Q_2Q2​ of lengths μ1\mu_1μ1​ and μ2\mu_2μ2​, where Q1Q_1Q1​ denotes the favored branch, let the Searcher search the favored branch first with probability
β=(p−q)(DQ1−DQ2)2(pμ1+qμ2)(3)\beta=\frac{(p-q)(D_{Q_1}-D_{Q_2})}{2(p\mu_1+q\mu_2)} \tag{3}β=2(pμ1​+qμ2​)(p−q)(DQ1​​−DQ2​​)​(3)

and with the complementary probability 1−β1-\beta1−β follow the signal, whichever direction it points. This Searcher strategy is optimal: it reaches every leaf in expected time at most V(Q)V(Q)V(Q).

The theorem solves the search game with unreliable signals on every tree in closed form. As p→12p\to\tfrac12p→21​ it recovers Gal's value μ\muμ for the game without signals, and at p=1p=1p=1 the value is the mean depth DQD_QDQ​, now concentrated on the deepest leaves.

Formalization Note. (i) is IsValue, the published IsGameValue of the payoff matrix; (ii) and (iii) are the published IsMaxMinStrategy and IsMinMaxStrategy with the value (2): each strategy is a probability vector that guarantees (2), and no strategy of the same player guarantees better. The Searcher strategy of (iii) is favoringStrategy, the product over all branch nodes of each node's law (β\betaβ on "favored branch first", 1−β1-\beta1−β on "follow"); the Hider's guarantee in (ii) holds against every pure strategy, not only against strategies of this form.

Differences from the source:

  • generalization: Q is a binary tree: every node has degree three or one, except possibly the root O (p. 5) → Q is any RTree, which also allows interior nodes of degree two and forks whose branches begin with a fork; reason: this is the paper's own conversion by arcs of length zero (p. 5); every binary tree with positive arc lengths is an RTree, so the statement specializes to the source's
  • encoding: Q is a tree with arc lengths (a metric space) → every arc length is positive (PosLengths); reason: the arcs of a metric tree have positive length; Definition 4 and (3) divide by pμ1 + qμ2, which a zero-length branch would make undefined
  • encoding: signals 1 or 2; the four Searcher choices [1,1], [2,2], [1,2] = follow, [2,1] = opposite → signals and branches are Bool (false = branch 1); an action is a map Bool → Bool, follow = id, opposite = not; reason: the same four strategies, labelled differently
  • encoding: the payoff is the time T for the Searcher to reach the Hider, with random signals at the branch nodes → the payoff is the expected time, accumulated along the path to the leaf: each arc length once, plus twice the length of the other branch times the probability (from that node's signal, correct with probability p) of entering it first; reason: the time to reach a leaf depends only on the signals at the branch nodes of its path (p. 6) and is a sum over those nodes, so its expectation needs only each node's signal marginal; no joint law of the signals is assumed
  • encoding: the value of the game and optimal strategies → the published matrix-game predicates IsGameValue, IsMinMaxStrategy, IsMaxMinStrategy (ZeroSumLP.DantzigExt.MatrixGame) on the finite game whose rows are leaves and whose columns are all pure Searcher strategies; reason: the game is a finite zero-sum game and these are its standard value and optimality notions
  • encoding: without loss of generality D(Q1) ≥ D(Q2), and Q1 is the favored branch → branch 1 of fork t₁ t₂ is favored iff D(t₂) ≤ D(t₁); a tie goes to branch 1; reason: the page does not say which branch is favored on a tie; there β = 0, and the theorem holds for either choice of the weights of (1)
  • reading: (iii) 'when at a branch node … it is optimal for the Searcher to search the favored branch first with probability β' → the strategy uses at every branch node of the tree the β computed from that node's own two branches; reason: the description of the Searcher's solution on p. 6 says 'at every branch node j'; the proof applies (3) at each node of the induction
  • encoding: a behavioural strategy: an independent random choice at each branch node → the mixed strategy on pure strategies that is the product over branch nodes of each node's law; reason: a behavioural strategy on a tree corresponds to this product mixed strategy, with the same expected time at every leaf
Preamble
import Mathlib
import Definitions.Def_ZeroSumLP_DantzigExt_MatrixGame
import Definitions.Def_SignalSearch_Tree_Model
Formal statement
namespace SignalSearch.Tree

open ZeroSumLP.DantzigExt

/-- Theorem 7, pp. 9–10. For every rooted tree `Q` with positive arc lengths and `1/2 < p ≤ 1`,
`q = 1 − p`:
(i) the value of `G(Q, O, p)` is `V(Q) = 2qμ + (p − q)D_Q` (2);
(ii) the hiding distribution `λ̄` is optimal for the Hider (a max-min strategy with value `V(Q)`);
(iii) the Searcher strategy that at every branch node searches the favored branch first with
probability `β` of (3) and otherwise follows the signal is optimal (a min-max strategy with value
`V(Q)`). -/
theorem theorem_7 (p : ℝ) (hp : 1 / 2 < p) (hp1 : p ≤ 1) (t : RTree) (ht : t.PosLengths) :
    IsValue p t (2 * (1 - p) * t.length + (p - (1 - p)) * meanDepth p t) ∧
    IsMaxMinStrategy (payoff p t) (hiderDist p t)
      (2 * (1 - p) * t.length + (p - (1 - p)) * meanDepth p t) ∧
    IsMinMaxStrategy (payoff p t) (favoringStrategy p t)
      (2 * (1 - p) * t.length + (p - (1 - p)) * meanDepth p t) := by sorry

end SignalSearch.Tree
Source
Alpern, Lidbetter, Search for an Immobile Hider on a Binary Tree with Unreliable Locational Information, arXiv:2303.13378v2, pp. 9–10, Theorem 7, eqs. (2) and (3)
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

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