The Boolean basis with unbounded fan-in #
The basis of AC⁰: negation, and conjunctions and disjunctions of any number of arguments. Circuits
and formulas over this basis of constant depth are the setting of Håstad's lower bound for parity.
The conjunction and the disjunction of no arguments are the constants true and false.
Adding one gate of every arity, computing a given family of Boolean functions g, gives the
bases of TC⁰ (majority gates) and AC⁰[q] (MOD_q gates): extSignature and
extInterpretation g, into which the unbounded fan-in basis maps by toExt.
Main definitions #
Cslib.Circuits.Boolean.Unbounded.signature: negation, and conjunction and disjunction of every arity.Cslib.Circuits.Boolean.Unbounded.interpretation: their Boolean meaning.Cslib.Circuits.Boolean.Unbounded.andOrCost: the costs of the AND/OR depth, in which negations are free.Cslib.Circuits.Boolean.Unbounded.deMorganToUnbounded: the De Morgan basis inside it.Cslib.Circuits.Boolean.Unbounded.extSignature,Cslib.Circuits.Boolean.Unbounded.extInterpretation: the basis with one extra gate of every arity.
Main results #
Cslib.Circuits.Boolean.Unbounded.interpretation_of_op_eq_not,Cslib.Circuits.Boolean.Unbounded.interpretation_of_op_eq_and,Cslib.Circuits.Boolean.Unbounded.interpretation_of_op_eq_or: the values of the gates of a program.Cslib.Circuits.Boolean.Unbounded.cost_andOrCost_eq_card: the AND/OR cost of a program is its number of conjunctions and disjunctions.Cslib.Circuits.Boolean.Unbounded.preserves_deMorganToUnbounded: the De Morgan basis embeds with its meaning.
Instances For
The arity of an operation.
Instances For
The signature of negation and of conjunction and disjunction of unbounded fan-in. It is reducible, so that case analysis on its operations sees their arities.
Instances For
The Boolean meaning of the operations.
Instances For
The cost of an operation in the AND/OR depth: negations are free. With these costs,
Circuit.depthWith is the largest number of conjunctions and disjunctions on a path, the usual
depth of AC⁰ circuits, in which negations sit at the inputs.
This is the counterpart of Boolean.binaryCost and Monotone.binaryCost for the bases of fan-in
two, which charge one for AND and OR and nothing for negations and constants. It is not their
transport along deMorganToUnbounded: this basis has no constants, and the De Morgan constants
become the conjunction and the disjunction of no arguments, which cost one here.
Instances For
Instances For
The arity of an operation of the extended basis.
Instances For
The signature of the unbounded fan-in basis with one extra gate of every arity. It is reducible, so that case analysis on its operations sees their arities.
Instances For
The Boolean meaning of the extended basis, with the extra gate of m arguments computing
g m.
Instances For
The unbounded fan-in basis inside its extension.
Instances For
The operations of the De Morgan basis as operations of the unbounded fan-in basis: the constants as the conjunction and disjunction of nothing.
Instances For
The De Morgan basis inside the unbounded fan-in basis.