Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A7 a), p. A15 (PDF 41) — under (14), for S0 = N, Pr*[S2 = P] is a four-step function of π with breakpoints 𝒯1(P,0,N), 𝒯1(N,0,N), 𝒯0(N)

Proved
InterimTesting.NotProficient.lemma_A7

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

dynamic-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1principal-agent

Suppose (A26) = (14) holds, or the interim assessment is used (where (14) holds automatically). Let (a,b)=(ϕP∣P,ϕP∣N)(a,b)=(\phi_{P|P},\phi_{P|N})(a,b)=(ϕP∣P​,ϕP∣N​) under the formative assessment and (a,b)=(1,0)(a,b)=(1,0)(a,b)=(1,0) under the interim assessment. For a school starting not proficient and every π≥0\pi\ge0π≥0, the probability of ending the year proficient under the teachers' optimal response is

Pr⁡∗[S2=P∣S0=N]={μB(1+(1−μ)B),0≤π<T1(P,0,N),μ(B(Aa+B)+(1−μB)(Ab+B)),T1(P,0,N)≤π<T1(N,0,N),μ(A+B)(1+(1−μ)B),T1(N,0,N)≤π<T0(N),μ(A+B)(1+(1−μ)(A+B)),T0(N)≤π,\Pr^*[S_2=P\mid S_0=N]=\begin{cases}\mu B(1+(1-\mu)B),&0\le\pi<\mathcal T_1(P,0,N),\\ \mu\big(B(Aa+B)+(1-\mu B)(Ab+B)\big),&\mathcal T_1(P,0,N)\le\pi<\mathcal T_1(N,0,N),\\ \mu(A+B)(1+(1-\mu)B),&\mathcal T_1(N,0,N)\le\pi<\mathcal T_0(N),\\ \mu(A+B)(1+(1-\mu)(A+B)),&\mathcal T_0(N)\le\pi,\end{cases}Pr∗[S2​=P∣S0​=N]=⎩⎨⎧​μB(1+(1−μ)B),μ(B(Aa+B)+(1−μB)(Ab+B)),μ(A+B)(1+(1−μ)B),μ(A+B)(1+(1−μ)(A+B)),​0≤π<T1​(P,0,N),T1​(P,0,N)≤π<T1​(N,0,N),T1​(N,0,N)≤π<T0​(N),T0​(N)≤π,​

where T1(x,0,N)\mathcal T_1(x,0,N)T1​(x,0,N) is the second-period threshold (11) after observation xxx with no first-period effort, computed with the accuracy (a,b)(a,b)(a,b), and T0(N)=1/(μ(1−μ)A(A+B))\mathcal T_0(N)=1/(\mu(1-\mu)A(A+B))T0​(N)=1/(μ(1−μ)A(A+B)).

This is the response curve behind the district's choice of incentive.

Formalization Note The page states the formative case; the interim case is the special case (a,b)=(1,0)(a,b)=(1,0)(a,b)=(1,0) (p. 12). The hypothesis is zI = true ∨ Cond14 θ.

Preamble
import Mathlib
import Definitions.Def_InterimTesting_NotProficient_Model
Formal statement
namespace InterimTesting.NotProficient

/-- Lemma A7 a), p. A15, (A89): under (A26) (automatic under the interim assessment), for
`S0 = N` the probability `Pr*[S2 = P | S0 = N]` is a four-step function of `π` with breakpoints
`𝒯1(P, 0, N) ≤ 𝒯1(N, 0, N) ≤ 𝒯0(N)`; `(a, b) = acc θ zI` stands for `(ϕ_{P|P}, ϕ_{P|N})`. -/
theorem lemma_A7 (θ : Params) (hθ : θ.Standing) (zI : Bool) (h14 : zI = true ∨ Cond14 θ)
    (π : ℝ) (hπ : 0 ≤ π) :
    PrStar θ zI .N π =
      if π < T1 θ zI .N 0 .P then θ.μ * θ.B * (1 + (1 - θ.μ) * θ.B)
      else if π < T1 θ zI .N 0 .N then
        θ.μ * (θ.B * (θ.A * (acc θ zI).1 + θ.B)
          + (1 - θ.μ * θ.B) * (θ.A * (acc θ zI).2 + θ.B))
      else if π < T0N θ then θ.μ * (θ.A + θ.B) * (1 + (1 - θ.μ) * θ.B)
      else θ.μ * (θ.A + θ.B) * (1 + (1 - θ.μ) * (θ.A + θ.B)) := by sorry

end InterimTesting.NotProficient
Source
Virudachalam, Savin & Steinberg, Too Much Information: When Does Additional Testing Benefit Schools?, SSRN 3884543 (version of November 3, 2022), p. A15 (PDF 41), Lemma A7 a), (A89)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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