Critical-path bottlenecks over the full binary Boolean basis B₂ #
Boolean specialization of CslibFrontier.Computability.Circuit.CriticalPath to the complete binary
Boolean basis B₂ (Cslib.Circuits.fullInterpretation (k := 2) (Carrier := Bool)), following
Sections 4.1.1 and 7.1 of Fan, Li, and Yang [FLY22].
Every binary Boolean operation is either affine (SemiCircuit.IsAffineOp) or non-affine
(IsAndType, GF(2) degree 2). Composing a binary gate opG with unary Boolean functions on its
inputs and output preserves affineness and cannot turn a non-affine gate into a balanced affine XOR
gate (IsXorType). Consequently, if two distinct input coordinates x ≠ y of a single-output B₂
circuit with NoDeadGates have intersecting critical paths, either no 2-bit restriction to
(x, y) is AND-type or no 2-bit restriction to (x, y) is XOR-type
(not_isAndType_or_not_isXorType_of_not_disjoint_criticalPath). Combined with Lemma 7.4
(Circuit.two_mul_sub_two_mul_le_size), every n-bit Boolean function (2 ≤ n) of B₂
complexity strictly below 2 * n - 2 exhibits such a restricted-subfunction obstruction on some
coordinate pair x < y (exists_lt_pair_not_isAndType_or_not_isXorType).
Main definitions #
Cslib.Circuits.Boolean.IsAndType,Cslib.Circuits.Boolean.IsXorType: non-affine (GF(2)degree2) and balanced two-variable affine operations inB₂([FLY22], §4.1.1).
Main results #
Cslib.Circuits.Boolean.not_isAndType_comp_of_isAffineOp,Cslib.Circuits.Boolean.not_isXorType_comp_of_not_isAffineOp: unary pre- and post-processing cannot turn an affine binary gate into an AND-type function or a non-affine gate into an XOR-type function.Cslib.Circuits.Boolean.not_isAndType_or_not_isXorType_of_not_disjoint_criticalPath: intersecting critical paths in a single-outputB₂circuit withNoDeadGatesexclude either all AND-type or all XOR-type2-bit restrictions ([FLY22], Lemma 7.2).Cslib.Circuits.Boolean.exists_lt_pair_not_isAndType_or_not_isXorType: everyn-bit Boolean function (2 ≤ n) ofB₂-complexity strictly below2 * n - 2hasx < yinFin nwhose2-bit restrictions are either never AND-type or never XOR-type.
References #
Composing an affine binary gate G with unary pre- and post-processing never yields an
AND-type binary function.
Composing a non-affine (AND-type) binary gate G with unary pre- and post-processing never
yields an XOR-type binary function.
In a single-output B₂ circuit with NoDeadGates and intersecting critical paths at x ≠ y,
either no 2-bit restriction to (x, y) is AND-type or no 2-bit restriction to (x, y) is
XOR-type (the structural core of Fan–Li–Yang [FLY22], Lemma 7.2).
Every n-bit Boolean function (2 ≤ n) of B₂-circuit complexity strictly less than
2 * n - 2 either has an isolated coordinate or has two intersecting critical paths in an
equivalent NoDeadGates circuit, and in both cases admits x < y in Fin n whose 2-bit
restrictions are either never AND-type or never XOR-type.