Going through a proof (related to probability) I found on a paper(Comp sci.) i could not undertstand the steps he followed. Basically the author did the following steps:
$$E(T_{Fail}) = E(t_{f_{\scriptstyle i}} - t_{k} | t_{k} < t_{f_{\scriptstyle i}} \le t_{k + 1})$$
$$E(T_{Fail}) = \int^{t_{k+1} - t_{k}}_{0} P(\tau > t_{f_{\scriptstyle i}} - {t}_{k} | t_{k} < t_{f_{\scriptstyle i}} \le t_{k + 1}) d \tau$$
$\tau$ is not defined anywhere throughout the paper.
There are more steps after the above-mentioned lines(too much to type).
So i don't know how we are moving from expectation to probability. The link to the paper is: http://nslab.kaist.ac.kr/courses/2014/cs712/paperlist/2-17.pdf
Page:19 and 20. Thank you.
The expectation can also be written as an integral. The two integrals can be transformed into each other by integration by parts.