https://github.com/math-comp/analysis/blob/c55da8cb969990820bf153840d479faccb26421c/theories/probability.v#L1835 to `rate >= 0`, see the branch `prob_lang`