Zulip Chat Archive

Stream: mathlib4

Topic: Markov Inequality (Generalized)


Alvan Arulandu (Oct 30 2024 at 06:37):

While Markov's is already formalized, I was wondering if it would be of interest to formalize some corollaries such as P(X >= a) <= E[X^n]/a^n or generally P(X >= a) <= E[f(X)] / f(a) for one-to-one f?

Yaël Dillies (Oct 30 2024 at 09:00):

Hey! I think those are a bit too easy to derive from the existing Markov inequality to have (P(X ≥ a) = P(f(X) ≥ f(a)) ≤ E[f(X)] / f(a)). However, we certainly want consequences of said corollaries, such as Chernoff's bound!

Yaël Dillies (Oct 30 2024 at 09:01):

It would be a great contribution to mathlib. But please coordinate with the people in #mathlib4 > Hoeffding's lemma to avoid duplicating work

Rémy Degenne (Oct 30 2024 at 09:09):

Chernoff's bound is here: ProbabilityTheory.measure_ge_le_exp_cgf

Alvan Arulandu (Oct 31 2024 at 13:46):

I agree that the derivation is simple, but I've seen it used in this form a lot in a probability class so was curious. No worries, and thank you so much for the Chernoff bound link!


Last updated: May 02 2025 at 03:31 UTC