Completed proof of distr function soundness