Local oracle-circuit classes #
Oracle circuits as an OracleModel, so that OracleModel.LocalClass gives the local circuit
classes [q, ℓ, a]–Circuit[S] of [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Section 2.5,
Definition 11, p. 13]. The measures are those of the circuit library:
- the size is
Circuit.size, the number of gates; - the quantity is
Program.costunderOracleOp.queryWeight, the number of oracle gates; - the locality is
Program.QueryArityAtMost: every oracle gate has fan-in at mostℓ; - the adaptivity is
Circuit.depthWithunderOracleOp.queryWeight, the largest number of oracle gates on a path to an output.
Program.QueryArityAtMost bounds the fan-in of the oracle gates only, and says nothing about the
De Morgan gates. A bound on the fan-in of every gate (Program.FanInAtMost) implies it
(Program.QueryArityAtMost.of_fanInAtMost).
Main definitions #
Cslib.Circuits.Program.QueryArityAtMost,Cslib.Circuits.Circuit.QueryArityAtMost: every oracle gate has fan-in at mostℓ.Cslib.Circuits.Boolean.circuitModel: oracle circuits as anOracleModel.Cslib.Circuits.Boolean.LocalCircuitClass: the local circuit classes[q, ℓ, a]–Circuit[S].
Main results #
Cslib.Circuits.Program.QueryArityAtMost.of_fanInAtMost,Cslib.Circuits.Circuit.QueryArityAtMost.of_fanInAtMost: a fan-in bound on every gate bounds the fan-in of the oracle gates.Cslib.Circuits.Boolean.LocalCircuitClass.of_two_pow: a promise problem whose instances have lengths that are powers of two is in a local circuit class once each length2 ^ nhas a separating circuit within the bounds, provided1 ≤ S 0.
References #
The fan-in of an oracle gate is its arity, and a De Morgan operation has query arity zero.
Every oracle gate in a program has fan-in at most ℓ. The De Morgan gates are unconstrained.
Instances For
The oracle-gate fan-in bound is decidable for every concrete program.
An oracle-gate fan-in bound holds for every larger bound.
A fan-in bound on every gate bounds the fan-in of the oracle gates.
Every oracle gate in a circuit has fan-in at most ℓ. The De Morgan gates are
unconstrained.
Instances For
The oracle-gate fan-in bound is decidable for every concrete circuit.
An oracle-gate fan-in bound holds for every larger bound.
A fan-in bound on every gate bounds the fan-in of the oracle gates.
A pure wiring circuit has no oracle gates.
One gate meets an oracle-gate fan-in bound exactly when its operation does.
Oracle circuits with one output as a model of oracle devices.
- The size is
Circuit.size, which counts every gate, De Morgan or oracle, including negations and constants; the source'sCircuit[s]counts gates too [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Section 2.1, p. 12]. A circuit on no inputs needs a gate for its output, so the class at a size bound withS 0 = 0is empty. - The quantity is the number of oracle gates, the cost under
OracleOp.queryWeight. - The locality is
Circuit.QueryArityAtMost, a bound on the fan-in of the oracle gates. - The adaptivity is
Circuit.depthWithunderOracleOp.queryWeight: the largest number of oracle gates on a path to the output. It counts paths that start at a constant or at an oracle gate of fan-in zero as well as paths from inputs, so it is at least the source's adaptivity, which counts paths from inputs; a bound on it implies the source's bound.
Local circuit 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]–Circuit[S] when there is one oracle language O such that, for
every input length m, some oracle circuit on m inputs with
- at most
S mgates, - 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. This isOracleModel.LocalClassforcircuitModel, whose lemmas (mono,anti,of_two_pow) apply;circuitModelrecords how the measures compare with the source's.
Instances of power-of-two length, for circuits: 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 circuit
class once some oracle O and, at each length 2 ^ n, an oracle circuit within the bounds at
2 ^ n separates the instances of that length, provided 1 ≤ S 0. At the other lengths a circuit
with no gates outputs an input, except at length zero, where a constant gate does. The hypothesis
1 ≤ S 0 is necessary: a circuit with no inputs and no gates has no wire for its output
(Wire 0 0 is empty), so every circuit on zero inputs has size at least one.