Documentation

LeanPool.AsymptoticTrianglePacking.Internal.Tight.Selection

LeanPool.AsymptoticTrianglePacking.Internal — generic selection tools #

Two elementary tools used to extract a single good outcome of a nibble round.

placeholder-free and axiom-clean [propext, Classical.choice, Quot.sound].

If two events have total probability < 1, some outcome avoids both.

theorem LeanPool.AsymptoticTrianglePacking.Internal.measureReal_ge_le_integral_div {Ω : Type u_1} [MeasureTheory.MeasureSpace Ω] {f : Ω → ℝ} (hf : ∀ (ω : Ω), 0 ≤ f ω) (hint : MeasureTheory.Integrable f MeasureTheory.volume) {c : ℝ} (hc : 0 < c) :
MeasureTheory.volume.real {ω : Ω | c ≤ f ω} ≤ (∫ (ω : Ω), f ω) / c

Markov's inequality, real-valued form.

theorem LeanPool.AsymptoticTrianglePacking.Internal.card_filter_mul_le_sum {ι : Type u_2} [Fintype ι] (g : ι → ℝ) (hg : ∀ (i : ι), 0 ≤ g i) (t : ℝ) :
↑{i : ι | t ≤ g i}.card * t ≤ ∑ i : ι, g i

Counting Markov. At most (∑ᵢ gᵢ)/t indices satisfy t ≤ gᵢ.