A Boolean function f : 0 1 n 0 1 is weighted symmetric if there exist a function g : Z 0 1 and integers w 0 w 1 w n such that f ( x 1 x n ) = g ( w 0 + n i =1 w i x i ) holds.
In this paper, we present algorithms for the circuit satisfiability problem of bounded depth circuits with AND, OR, NOT gates and a limited number of weighted symmetric gates. Our algorithms run in time super-polynomially faster than 2 n even when the number of gates is super-polynomial and the maximum weight of symmetric gates is nearly exponential. With an additional trick, we give an algorithm for the maximum satisfiability problem that runs in time pol y ( n t ) 2 n − n 1 O ( t ) for instances with n variables, O ( n t ) clauses and arbitrary weights. To the best of our knowledge, this is the first moderately exponential time algorithm even for Max 2 SAT instances with arbitrary weights.
Through the analysis of our algorithms, we obtain average-case lower bounds and compression algorithms for such circuits and worst-case lower bounds for majority votes of such circuits, where all the lower bounds are against the generalized Andreev function. Our average-case lower bounds might be of independent interest in the sense that previous ones for similar circuits with arbitrary symmetric gates rely on communication complexity lower bounds while ours are based on the restriction method.