The comparisons made along an oracle's path #
Cslib.Query.LEQuery.queriedPairs oracle p lists, in order, the pairs (a, b) that the
comparison program p : FreeM (LEQuery α) γ asks about (a ≤ b?) along the path that oracle
determines. It has exactly p.countQueries oracle entries, and two oracles that answer these
comparisons alike drive p along the same path, so they make the same comparisons and lead to the
same result. These facts are the bookkeeping behind adversary and fooling arguments for
comparison lower bounds.
Main definitions #
Cslib.Query.LEQuery.queriedPairs: the comparisons made along an oracle's path.
Main results #
Cslib.Query.LEQuery.length_queriedPairs: one entry per comparison.Cslib.Query.LEQuery.queriedPairs_eq_of_agree,Cslib.Query.LEQuery.eval_eq_of_agree: two oracles that answer the comparisons along the first one's path alike make the same comparisons and produce the same result.
One entry per comparison: the list of compared pairs has length p.countQueries oracle.
If oracle' answers every comparison along oracle's path of p as oracle does, then it
drives p along the same path and makes the same comparisons.
If oracle' answers every comparison along oracle's path of p as oracle does, then p
evaluates to the same result under both.