NLA-lib Explorer

NLAlib.measureReal_exists_abs_sub_lt_le

Library · theorem

A random shift avoids a finite set (Event I): for a finite set \Lambda of reals, c > 0, w \ge 0 and \mathbf{v} uniform on [-1, 1], \mathbb{P}[\exists \lambda \in \Lambda,\ \lvert \lambda - c\mathbf{v} \rvert < w] \le \frac{\lvert\Lambda\rvert\,w}{c} \,. [Shah2024, proof of Lemma 4.1], there with the density \ell/(2R) of the shift and the bound nw/R, which drops the factor \ell; here c = R/\ell gives nw\ell/R.

NLAlib.measureReal_exists_abs_sub_lt_le (Λ : Finset ℝ) {c w : ℝ} (hc : 0 < c) (hw : 0 ≤ w) :
  ℙ[|Set.Icc (-1) 1].real {v | ∃ e ∈ Λ, |e - c * v| < w} ≤ ↑Λ.card * w / c

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.