Chapter 9: Problem 2
Let \(A\) be a probabilistic algorithm that on a given input \(x,\) halts with probability \(1,\) and produces an output in the set \(T\). Let \(\mathrm{P}\) be the corresponding probability distribution, and let \(Y\) and \(Z\) be random variables representing the output and running time, respectively. For each \(k \geq 0,\) let \(\mathrm{P}_{k}\) be the uniform distribution on all execution paths \(\lambda\) of length \(k\). We define random variables \(Y_{k}\) and \(Z_{k},\) associated with \(\mathrm{P}_{k},\) as follows: if \(\lambda\) is complete, we define \(Y_{k}(\lambda)\) to be the output produced by \(A,\) and \(Z_{k}(\lambda)\) to be the actual number of steps executed by \(A\); otherwise, we define \(Y_{k}(\lambda)\) to be the special value " \(\perp\) " and \(Z_{k}(\lambda)\) to be \(k\). For each \(t \in T,\) let \(p_{t k}\) be the probability (relative to \(\mathrm{P}_{k}\) ) that \(Y_{k}=t,\) and let \(\mu_{k}\) be the expected value (relative to \(\mathrm{P}_{k}\) ) of \(Z_{k}\). Show that: (a) for each \(t \in T, \mathrm{P}[Y=t]=\lim _{k \rightarrow \infty} p_{t k}\).
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.