Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6, the reduction (pp. 448–449, horizon corrected to 2n+22n+22n+2): a quantified formula is true iff its partially observed process has a zero-cost policy

Proved
MDPComplexity.PartiallyObserved.theorem6_reduction

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

markov-decision-processp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1partially-observedpspaceqsatreduction

Let φ\varphiφ be a QSAT formula of the paper's alternating, three-literal form with nnn variables and m≥1m \ge 1m≥1 clauses, let MφM_\varphiMφ​ be the partially observed stationary Markov decision process built from it in the proof of Theorem 6 (state set SSS, initial state s0s_0s0​), and let T=2n+2T = 2n + 2T=2n+2. Then

  1. T<∣S∣T < |S|T<∣S∣;
  2. there exists an observation-history policy π\piπ with expected cost Jπ(T)=0J_\pi(T) = 0Jπ​(T)=0 if and only if φ\varphiφ is true;
  3. the optimal expected cost satisfies
inf⁡πJπ(T)≤0  ⟺  φ is true.\inf_\pi J_\pi(T) \le 0 \iff \varphi \text{ is true}.πinf​Jπ​(T)≤0⟺φ is true.

This is the mathematical content of Theorem 6 of Papadimitriou and Tsitsiklis: since quantified satisfiability is PSPACE-complete and the construction is computable in polynomial time, deciding whether a partially observed stationary process with horizon T<∣S∣T < |S|T<∣S∣ achieves cost 000 is PSPACE-hard.

Formalization Note. The paper prints the horizon as 2m+22m+22m+2 ("just enough time for the process to reach one of Ai,n+1A_{i,n+1}Ai,n+1​ or Ai,n+1′A'_{i,n+1}Ai,n+1′​"); that time is 2n+12n+12n+1, so we use T=2n+2T = 2n+2T=2n+2, which keeps T<∣S∣=6mn+2m+2T < |S| = 6mn + 2m + 2T<∣S∣=6mn+2m+2. IsPaperQSAT enforces the alternating prefix and three literals per clause; clauses are sets, with three witnesses allowing repeated literals. PSPACE-hardness itself, the polynomial-time computability of the construction, membership in PSPACE and Corollaries 1 and 2 are not formalized. The infimum is over all policies mapping observation sequences to decisions.

Preamble
import Mathlib
import Definitions.Def_MDPComplexity_PartiallyObserved_Construction
Formal statement
namespace MDPComplexity.PartiallyObserved

/-- Theorem 6, the reduction (pp. 448–449), horizon corrected to `2n + 2`: for a quantified
formula with `m ≥ 1` clauses, the constructed partially observed stationary process has
`T < |S|`, a policy of expected cost zero exists iff the formula is true, and the optimal
expected cost is at most 0 iff the formula is true. -/
theorem theorem6_reduction {n m : ℕ} (φ : QBF n m) (hm : 0 < m)
    (hqsat : φ.IsPaperQSAT) :
    horizon n < Fintype.card (St n m) ∧
    ((∃ π : (φ.toPOMDP hm).Policy, (φ.toPOMDP hm).expCost .s0 π (horizon n) = 0) ↔ φ.holds) ∧
    ((φ.toPOMDP hm).optCost .s0 (horizon n) ≤ 0 ↔ φ.holds) := by sorry

end MDPComplexity.PartiallyObserved
Source
Papadimitriou and Tsitsiklis, The Complexity of Markov Decision Processes, Math. Oper. Res. 12(3) (1987), pp. 448–449, Theorem 6 and its proof (horizon corrected from 2m + 2 to 2n + 2)
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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me