Abstract
Under a standard hardness assumption we exactly characterize the worst-case running time of languages that are in average polynomial-time over all polynomial-time samplable distributions. More precisely we show that if exponential time is not infinitely often in subexponential space, then the following are equivalent for any algorithm : where is the Kolmogorov complexity (size of smallest program generating ) and is the size of the smallest program generating within time . To prove this result we show that, under the hardness assumption, the polynomial-time Kolmogorov distribution, , is universal among the P-samplable distributions.