NLA-lib Explorer

NLAlib.QueryAlgorithm.comapResponse

Library · def

The algorithm reading its responses through f : R' → R: it makes the queries alg makes on the responses f r, so against an oracle O' it runs alg against f ∘ O' (QueryAlgorithm.run_comapResponse). A stronger oracle simulates a weaker one this way: the matrix–vector oracle \mathbf{x} \mapsto \mathbf{A}\mathbf{x} is the first component of hiddenRotationOracle.

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

Full source on GitHub

Import NLAlib.LowerBounds.QueryModel.Basic.