Boolean analysis of lateral inhibition