Parity is in NC¹ #
The parity of n bits has a De Morgan formula of depth at most 2 ⌈log₂ n⌉, with negations free
(formulaDepth_parity_le_two_mul_clog, a balanced tree of XORs). By the formula characterization
of NC¹ (mem_NC_one_iff_formulaDepth_le), the parity language is in nonuniform NC¹
(parity_mem_NC_one). This is the PARITY half of Exercise 7 of Chapter 13 of
Arora and Barak, draft of 2007-01-08; the MAJORITY half is
majority_mem_NC_one. The exercise suggests the Karchmer–Wigderson game as a proof route; this
proof uses the explicit formula instead.
Main results #
Cslib.Circuits.Boolean.parity_mem_NC_one,Cslib.Circuits.Boolean.parity_mem_FormulaPoly: the parity language is in NC¹ and inFormulaPoly.
References #
Parity is in NC¹ [AroraBarak07, Chapter 13, Exercise 7]: the language of bit strings with
an odd number of ones has fan-in-two circuits of depth O(log n) and polynomial size.
The parity language has polynomial-size De Morgan formulas (FormulaPoly = NC 1).