NLAlib.QueryAlgorithm.run_eq_of_forall_apply_queries_eq
Library · theorem
Indistinguishability of outputs: if g agrees with f at every query the algorithm makes against f, the algorithm outputs the same value against both.
NLAlib.QueryAlgorithm.run_eq_of_forall_apply_queries_eq.{u_1, u_2, u_3} {Q : Type u_1}
{R : Type u_2} {β : Type u_3} {q : ℕ} (alg : QueryAlgorithm Q R q β) {f g : Q → R}
(h : ∀ (j : Fin q), g (alg.queries (alg.transcript f) j) = f (alg.queries (alg.transcript f) j)) :
alg.run g = alg.run fImport NLAlib.LowerBounds.QueryModel.Basic.