Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

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

Proved
MDPComplexity.CircuitValue.value_true_of_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 and MMM the Markov decision process built from CCC in the proof of Theorem 1, started at the last triple kkk with horizon kkk. If a policy δ(s,t)\delta(s,t)δ(s,t) has expected cost

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,

then the value of CCC is true.

This is the "only if" half of the claim in the proof of Theorem 1: the false inputs, the only states with positive cost, are unreachable, so the decisions of δ\deltaδ choose, at each or gate, an input of true value.

Formalization Note δ\deltaδ ranges over all time-dependent policies, not only stationary ones. The horizon convention is the §2 sum ∑t=0T\sum_{t=0}^{T}∑t=0T​ with T=kT=kT=k.

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 value_true_of_expCost_eq_zero {k : ℕ} [NeZero k] (C : Circuit k)
    (δ : C.toMDP.Policy) (h : C.toMDP.expCost (some (Circuit.lastIdx k)) δ k = 0) :
    C.value = true := 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