Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Theorem 1 (p. 445): if the circuit's value is true, some policy has expected cost zero

Proved
MDPComplexity.CircuitValue.exists_expCost_eq_zero

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

boolean-circuitmarkov-decision-processp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1reduction

Let CCC be a circuit with k≥1k\ge1k≥1 triples whose value is true, and let MMM be the Markov decision process built from CCC in the proof of Theorem 1, started at the last triple kkk with horizon kkk. Then there is a policy δ(s,t)\delta(s,t)δ(s,t) with

Eδ[∑t=0kc(st,δ(st,t))]=0.\mathbb E_\delta\Bigl[\sum_{t=0}^{k}c\bigl(s_t,\delta(s_t,t)\bigr)\Bigr]=0 .Eδ​[t=0∑k​c(st​,δ(st​,t))]=0.

This is the "if" half of the claim in the proof of Theorem 1: when the circuit is true one can choose, at each or gate, an input so that no false input is reachable.

Formalization Note The policy may be any time-dependent policy; the statement only asserts existence.

Preamble
import Mathlib
import Definitions.Def_MDPComplexity_CircuitValue_Model
import Definitions.Def_MDPComplexity_CircuitValue_Circuit
import Definitions.Def_MDPComplexity_CircuitValue_Reduction
Formal statement
namespace MDPComplexity.CircuitValue

theorem exists_expCost_eq_zero {k : ℕ} [NeZero k] (C : Circuit k) (h : C.value = true) :
    ∃ δ : C.toMDP.Policy, C.toMDP.expCost (some (Circuit.lastIdx k)) δ k = 0 := by sorry

end MDPComplexity.CircuitValue
Source
Papadimitriou and Tsitsiklis, The Complexity of Markov Decision Processes, Math. Oper. Res. 12(3) (1987), p. 445, §3, proof of Theorem 1
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me