Barrington's theorem as a class equality #
NC¹ is logarithmic formula depth and polynomial formula size: a language is in NC¹ exactly
when its slice at length n has a De Morgan formula with O(log n) AND and OR gates on every path
(Boolean.mem_NC_one_iff_formulaDepth_le), and by Spira's theorem (Boolean.Spira) this is
equivalent to having De Morgan formulas of polynomial leaf size or polynomial operation-node size
(Boolean.FormulaPoly_eq_NC_one, Boolean.mem_NC_one_iff_exists_formulas_size,
[AroraBarak07, Chapter 6, Exercise 10]). A circuit unfolds into formulas of its depth
(Circuit.toFormula); conversely, a formula with d AND and OR gates on every path has a
negation normal form of depth at most d + 1 (Formula.nnf), which is a circuit with fewer than
2 ^ (d + 1) gates.
Barrington's theorem [Bar89], Jukna, Section 15.4: NC¹ is the class of
languages decided by permutation branching programs of width 5 and polynomial length
(Boolean.NC_one_eq_polyLength_perm_five). A formula of depth O(log n) becomes a program of
length 4 ^ O(log n), a polynomial (Boolean.exists_four_pow_formulaDepth_le_of_mem_NC_one), that
σ-computes it for any 5-cycle σ
(Boolean.exists_monoidProgram_alternatingGroup_computes_of_mem_NC_one,
Boolean.exists_monoidProgram_computes_of_mem_NC_one). Conversely, a program over a finite
monoid M is a branching program of width |M|, through the action of M on itself by left
multiplication, and so a formula of depth logarithmic in its length [BT88]: the
languages of polynomial-length programs over a finite monoid are in NC¹
(Boolean.polyLength_subset_NC_one). Five-cycles are even, so the programs of Barrington's
theorem are programs over the alternating group A₅
(Boolean.NC_one_eq_polyLength_alternatingGroup), and NC¹ is the class of languages of
polynomial-length programs over any finite monoid into which A₅ embeds
(Boolean.NC_one_eq_polyLength_of_injective), for instance of polynomial-length permutation
branching programs, and of polynomial-length branching programs, of any fixed width w ≥ 5
(Boolean.NC_one_eq_polyLength_perm, Boolean.NC_one_eq_polyLength_end). The classes of
programs here are those of languages over Bool, PolyLength Bool M, and all these classes are
nonuniform.
Main results #
Cslib.Circuits.Boolean.mem_NC_one_iff_formulaDepth_le: NC¹ is logarithmic formula depth.Cslib.Circuits.Boolean.FormulaPoly_eq_NC_one,Cslib.Circuits.Boolean.mem_NC_one_iff_exists_formulas_size: polynomial-size De Morgan formulas (by leaf count or operation-node count) characterize NC¹.Cslib.Circuits.Boolean.exists_monoidProgram_alternatingGroup_computes_of_mem_NC_one,Cslib.Circuits.Boolean.exists_monoidProgram_computes_of_mem_NC_one: Barrington's theorem for the languages of NC¹, overA₅and overS₅.Cslib.Circuits.Boolean.NC_one_subset_polyLength_alternatingGroup,Cslib.Circuits.Boolean.NC_one_subset_polyLength,Cslib.Circuits.Boolean.polyLength_subset_NC_one: the inclusions.Cslib.Circuits.Boolean.NC_one_eq_polyLength_perm_five,Cslib.Circuits.Boolean.NC_one_eq_polyLength_alternatingGroup: Barrington's theorem as a class equality, overS₅and overA₅.Cslib.Circuits.Boolean.NC_one_eq_polyLength_perm,Cslib.Circuits.Boolean.NC_one_eq_polyLength_end: bounded-width branching programs of polynomial length decide exactly the languages of NC¹.
References #
- S. Arora and B. Barak, Computational Complexity: A Modern Approach, draft of 2007-01-08
- D. A. Barrington, Bounded-width polynomial-size branching programs recognize exactly those languages in NC¹
- D. A. Mix Barrington, D. Thérien, Finite monoids and the fine structure of NC¹
- S. Jukna, Boolean Function Complexity: Advances and Frontiers
- P. M. Spira, On time-hardware complexity tradeoffs for Boolean functions
NC¹ as logarithmic formula depth and polynomial formula size #
NC¹ is logarithmic formula depth. A language is in NC¹ exactly when, for a constant c,
its slice at every length n has formula depth at most c (⌊log₂ n⌋ + 1): a De Morgan formula
with at most that many AND and OR gates on every path.
The formula depth of a Boolean function is at most 4 ⌈log₂ L(f)⌉, where L(f) is its
formula leaf size (formulaSize f).
The formula leaf size of a Boolean function is at most 2 ^ d, where d is its formula
depth (formulaDepth f).
Every language with polynomial-size De Morgan formulas is in NC 1
([Spi71], [AroraBarak07, Chapter 6, Exercise 10]).
Every language in NC 1 has polynomial-size De Morgan formulas
([AroraBarak07, Chapter 6, Exercise 10]).
Polynomial-size De Morgan formulas characterize NC 1
([Spi71], [AroraBarak07, Chapter 6, Exercise 10]): a language has polynomial-size De Morgan
formulas if and only if it is in nonuniform NC 1.
Membership in NC 1 is equivalent to having De Morgan formulas of polynomial operation-node
size (Formula.size) at every input length ([AroraBarak07, Chapter 6, Exercise 10]).
Barrington's theorem #
On a language in NC¹, 4 to the power of the formula depth is polynomially bounded.
Barrington's theorem for NC¹ over A₅. For a language in NC¹ there is a polynomially
bounded s such that, at every length n ≠ 0 and for every 5-cycle σ, a program over the
alternating group A₅ of length at most s n σ-computes the slice of the language at n.
Barrington's theorem for NC¹. For a language in NC¹ there is a polynomially bounded s
such that, at every length n ≠ 0 and for every 5-cycle σ, a permutation branching program
of width 5 and length at most s n σ-computes the slice of the language at n.
NC¹ is decided by polynomial-length programs over the alternating group A₅.
NC¹ is decided by polynomial-length permutation branching programs of width 5.
Polynomial-length programs over a finite monoid decide languages in NC¹ [BT88]: by left multiplication, a program over a finite monoid is a branching program of width its cardinality, which is a formula of depth logarithmic in its length.
Barrington's theorem [Bar89]: NC¹ is the class of languages decided by
permutation branching programs of width 5 and polynomial length.
NC¹ is the class of languages decided by polynomial-length programs over any finite monoid
into which the alternating group A₅ embeds.
Barrington's theorem over A₅ [Bar89]: NC¹ is the class of languages decided by
polynomial-length programs over the alternating group A₅.
For every w ≥ 5, NC¹ is the class of languages decided by permutation branching programs of
width w and polynomial length, the programs over Equiv.Perm (Fin w).
Bounded-width branching programs of polynomial length decide exactly the languages of NC¹
[Bar89]: for every w ≥ 5, NC¹ is the class of languages decided by branching programs
of width w and polynomial length, the programs over Function.End (Fin w).