§4, proof of Theorem 6 (p. 449) — the cost splits over the clause chosen at time 1
ProvedMDPComplexity.PartiallyObserved.cost_splits_over_clauseLet be a QSAT formula of the paper's alternating, three-literal form with variables and clauses, let be the partially observed process built from it in the proof of Theorem 6, with horizon , and let be any observation-history policy. For each clause let
be the part of the expected cost carried by the trajectories that move to at time (the process "chooses" clause ). Then
- the probability of choosing clause is ;
- ;
- if and only if for every clause .
In the paper's words, a policy of zero expected cost "has zero expected cost for all such initial choices" of the clause; this is the first step of the "only if" direction of the reduction.
Formalization Note. is the partial expectation; the conditional expected cost given the choice of clause is by item 1. Clause is Lean index , and is lvlA' i 0 (which is when ). The horizon is , corrected from the printed .
import Mathlib import Definitions.Def_MDPComplexity_PartiallyObserved_Construction
namespace MDPComplexity.PartiallyObserved
/-- §4, proof of Theorem 6 (p. 449): the transition from `s₀` "chooses" clause `C_i` by moving to
`A′_{i1}` with probability `1/m`; the expected cost is the sum over clauses of the partial
expectations over trajectories through `A′_{i1}` at time 1, each nonnegative, so it is zero iff
the cost is zero for every choice of clause. -/
theorem cost_splits_over_clause {n m : ℕ} (φ : QBF n m) (hm : 0 < m)
(hqsat : φ.IsPaperQSAT)
(π : (φ.toPOMDP hm).Policy) :
(∀ i : Fin m,
∑ x ∈ Finset.univ.filter (fun x : Fin (horizon n + 1) → St n m =>
x ⟨1, by unfold horizon; omega⟩ = lvlA' i 0),
(φ.toPOMDP hm).trajProb .s0 π (horizon n) x = 1 / (m : ℝ)) ∧
(φ.toPOMDP hm).expCost .s0 π (horizon n) =
∑ i : Fin m, ∑ x ∈ Finset.univ.filter (fun x : Fin (horizon n + 1) → St n m =>
x ⟨1, by unfold horizon; omega⟩ = lvlA' i 0),
(φ.toPOMDP hm).trajProb .s0 π (horizon n) x * (φ.toPOMDP hm).trajCost π (horizon n) x ∧
((φ.toPOMDP hm).expCost .s0 π (horizon n) = 0 ↔
∀ i : Fin m, ∑ x ∈ Finset.univ.filter (fun x : Fin (horizon n + 1) → St n m =>
x ⟨1, by unfold horizon; omega⟩ = lvlA' i 0),
(φ.toPOMDP hm).trajProb .s0 π (horizon n) x * (φ.toPOMDP hm).trajCost π (horizon n) x = 0) := by sorry
end MDPComplexity.PartiallyObserved
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.