NLA-lib Explorer

NLAlib.QueryAlgorithm.run_comapResponse

Library · theorem

An algorithm reading its responses through f against the oracle O' outputs what alg outputs against f \circ O'. So a lower bound for an oracle O holds for every weaker oracle f \circ O: the matrix–vector oracle is the first component of hiddenRotationOracle.

NLAlib.QueryAlgorithm.run_comapResponse.{u_1, u_2, u_3, u_4} {Q : Type u_1} {R : Type u_2}
  {R' : Type u_3} {β : Type u_4} {q : ℕ} (f : R' → R) (alg : QueryAlgorithm Q R q β) (O : Q → R') :
  (QueryAlgorithm.comapResponse f alg).run O = alg.run (f ∘ O)

Full source on GitHub

Import NLAlib.LowerBounds.QueryModel.Basic.