Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(EC.2) — the expected future value is linear in the risk

Proved
FamilyGenTest.ec_2

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

genetic-testingmarkov-decision-processoptimal-stoppingp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Let s\mathbf ss be feasible and iii untested in s\mathbf ss. Then

Ei[V∗(S′)∣s]=∑γP(Gi=γ∣s) V∗(sγ∪{i})=Φi(s)Pi(s)+V∗(s0∪{i}).\mathbb E_i[V^*(\mathbf S')\mid\mathbf s]=\sum_{\gamma}\mathbb P(G_i=\gamma\mid\mathbf s)\,V^*(\mathbf s_\gamma\cup\{i\})=\Phi_i(\mathbf s)\mathbb P_i(\mathbf s)+V^*(\mathbf s_0\cup\{i\}).Ei​[V∗(S′)∣s]=γ∑​P(Gi​=γ∣s)V∗(sγ​∪{i})=Φi​(s)Pi​(s)+V∗(s0​∪{i}).

The value of information enters the threshold rule through the coefficient Φi(s)\Phi_i(\mathbf s)Φi​(s).

Formalization Note The identity holds also when a child state is infeasible, where V∗V^*V∗ is 000 and its coefficient vanishes.

Differences from the source:

  • reading: a set of genes J\mathcal JJ in the model of §2; Assumption 4, Assumption 5 and Theorem 1's proof are single-gene → one gene: gi∈{0,1,2}g_i\in\{0,1,2\}gi​∈{0,1,2}; reason: Theorem 1 compares Pi(s)\mathbb P_i(\mathbf s)Pi​(s) with two real thresholds, which needs a scalar; its proof, Assumption 4 and §4.3 are single-gene (pp.15, ec2), and no multi-gene threshold statement is printed
  • generalization: the Mendelian prior (5) → an arbitrary mass function on {0,1,2}I\{0,1,2\}^{\mathcal I}{0,1,2}I; reason: the argument does not use the pedigree and p.11 says priors incorporate all prior information; (5) is the special case given by the theorem eq_5_mendelian_prior
  • encoding: a state as a partition {s0,s1,s2}\{s_0,s_1,s_2\}{s0​,s1​,s2​} of the tested individuals, state space S={s:∃g∈G(s)}\mathcal S=\{\mathbf s:\exists g\in\mathcal G(\mathbf s)\}S={s:∃g∈G(s)} → State I := I → Option (Fin 3), with Feasible meaning P(G∈G(s))>0\mathbb P(G\in\mathcal G(\mathbf s))>0P(G∈G(s))>0; reason: same objects when G\mathcal GG is the support of the prior; the family is a Fintype, possibly empty
  • encoding: αi(s)\alpha_i(\mathbf s)αi​(s) is a ratio with denominator Pi(s)\mathbb P_i(\mathbf s)Pi​(s) → αi(s)=0\alpha_i(\mathbf s)=0αi​(s)=0 when the denominator is 000; reason: the page leaves this case undefined; every use of αi\alpha_iαi​ is then multiplied by 000
  • encoding: V∗V^*V∗ as the maximum of (3), an expectation over sample paths with absorbing state Δ\DeltaΔ and action CCC, undefined at infeasible states → Vstar: the maximum over the finite type Policy I of the posterior average of a rolled-out return, with no Δ\DeltaΔ and no CCC; V∗=0V^*=0V∗=0 at infeasible states; reason: given G=gG=gG=g and the rule the path is determined, so the two expectations agree; the infeasible children enter only with coefficient 000
Preamble
import Mathlib
import Definitions.Def_FamilyGenTest_Pmax
Formal statement
namespace FamilyGenTest

variable {I : Type*} [Fintype I] [DecidableEq I]

/-- (EC.2) (Adelman & Wang, Optimal Genetic Testing of Families, SSRN 4624694 (Jan 24 2023), p.ec2):
`Eᵢ[V*(S′) | s] = Φᵢ(s)ℙᵢ(s) + V*(s₀ ∪ {i})`. -/
theorem ec_2 (R : Rewards I) (μ : Prior I) (s : State I) (hs : Feasible μ s) (i : I)
    (hi : s i = none) :
    ∑ γ, marginal μ s i γ * Vstar R μ (test s i γ)
      = Phi R μ s i * risk μ s i + Vstar R μ (test s i 0) := by sorry

end FamilyGenTest
Source
Adelman & Wang, Optimal Genetic Testing of Families, SSRN 4624694 (Jan 24 2023), (EC.2), p.ec2
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