Local classes of oracle devices #
Chen, Hirahara, Oliveira, Pich, Rajgopal and Santhanam measure the oracle gates of an oracle
circuit in three ways: their quantity (the number of oracle gates), their locality (the largest
fan-in of an oracle gate) and their adaptivity (the largest number of oracle gates on a path from
an input to the output). A language is in their class [q, ℓ, a]–C when one oracle language O
and, for each input length n, an oracle circuit from C with these measures bounded by q n,
ℓ n and a n compute it [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Section 2.5,
Definition 11, p. 13; repeated as Definition 62, Appendix A.2, p. 51].
The definition is parametric in the class C of devices. An OracleModel packages a family of
devices with their evaluation under an oracle, a size and the three oracle measures, and
OracleModel.LocalClass is Definition 11 for promise problems over it: the class of the source is
[q, ℓ, a]–C[S] with C[S] the devices of the model of size at most S. A language L is the
promise problem with no-instances its complement. The models in this library are oracle formulas
(Cslib.Circuits.Boolean.formulaModel, with LocalFormulaClass) and oracle circuits
(Cslib.Circuits.Boolean.circuitModel, with LocalCircuitClass).
Main definitions #
Cslib.Circuits.Boolean.OracleModel: devices with an oracle evaluation, a size and the three oracle measures.Cslib.Circuits.Boolean.OracleModel.LocalClass: the local class[q, ℓ, a]–C[S]of a promise problem.
Main results #
Cslib.Circuits.Boolean.OracleModel.LocalClass.mono,OracleModel.LocalClass.anti: the classes grow with their parameters and shrink with their promise sets.Cslib.Circuits.Boolean.OracleModel.LocalClass.of_two_pow: a promise problem whose instances have lengths that are powers of two is in a local class once each length2 ^ nhas a separating device, and every other length has some device within the bounds.
References #
A model of oracle devices for Definition 11 of
[CHO+20]: devices on m inputs, their output under an
oracle language, their size, and the quantity, locality and adaptivity of their oracle gates.
Locality is a predicate, "every oracle gate has fan-in at most ℓ", monotone in ℓ.
The devices on
minputs.The output of a device on an input when its oracle gates answer membership in
O.The size of a device.
The quantity of the oracle gates: their number.
The locality of the oracle gates: every oracle gate has fan-in at most
ℓ.The adaptivity of the oracle gates: the largest number of them on a path to the output.
- queryArityAtMost_mono {m : ℕ} {E : self.Device m} {ℓ ℓ' : ℕ} : self.QueryArityAtMost E ℓ → ℓ ≤ ℓ' → self.QueryArityAtMost E ℓ'
A locality bound holds for every larger bound.
Local classes [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Section 2.5,
Definition 11, p. 13], for promise problems: the promise problem with yes-instances Yes and
no-instances No is in [q, ℓ, a]–C[S], for the devices C of the model M, when there is one
oracle language O such that, for every input length m, some device on m inputs with
- size at most
S m, - at most
q moracle gates (quantity), each of fan-in at mostℓ m(locality), - at most
a moracle gates on any path to the output (adaptivity), answerstrueon the yes-instances andfalseon the no-instances of lengthmunderO.
The local classes grow with their parameters.
Shrinking the yes- and no-instances keeps a promise problem in a local class.
Instances of power-of-two length. If every yes- and no-instance has length a power of two,
such as the truth tables of a property, a promise problem is in a local class once some oracle
O and, at each length 2 ^ n, a device within the bounds at 2 ^ n separates the instances of
that length, provided every other length has some device within the bounds; there is nothing to
separate at those lengths.