NLA-lib Explorer

NLAlib.QueryAlgorithm.IsMeasurableFamily.exists_le_measureReal_run_mem

Library · theorem

Yao's principle, worst-case form: let \rho be a seed law and \nu an input law, both probability measures, and B a measurable set of (input, output) pairs. If every measurable deterministic algorithm has \nu-probability at least \delta of (\mathbf{x}, \text{output}) \in B, then for the randomized algorithm some input \mathbf{x} has \rho-probability at least \delta of (\mathbf{x}, \mathcal{A}_s(\mathbf{x})) \in B. Read with B the failure set: a lower bound against one input distribution is a lower bound for randomized algorithms in the worst case. [Yao1977, Section 3] (locator to check); [ZhangEtAl2026, Section 8]; there for finite or implicit input spaces.

NLAlib.QueryAlgorithm.IsMeasurableFamily.exists_le_measureReal_run_mem.{u_2, u_3, u_4, u_5, u_6}
  {Q : Type u_2} {R : Type u_3} {β : Type u_4} {S : Type u_5} {M : Type u_6} {q : ℕ}
  [MeasurableSpace Q] [MeasurableSpace R] [MeasurableSpace β] [MeasurableSpace S]
  [MeasurableSpace M] {alg : S → QueryAlgorithm Q R q β}
  (halg : QueryAlgorithm.IsMeasurableFamily alg) {O : M → Q → R}
  (hO : Measurable (Function.uncurry O)) (ρ : Measure S) [IsProbabilityMeasure ρ] (ν : Measure M)
  [IsProbabilityMeasure ν] {B : Set (M × β)} (hB : MeasurableSet B) {δ : ℝ}
  (h : ∀ (a : QueryAlgorithm Q R q β), a.IsMeasurable → δ ≤ ν.real {x | (x, a.run (O x)) ∈ B}) :
  ∃ x, δ ≤ ρ.real {s | (x, (alg s).run (O x)) ∈ B}

Full source on GitHub

Import NLAlib.LowerBounds.QueryModel.Yao.