There are several facilities in REDUCE, such as the differentiation operator and the linear operator facility, that can utilize knowledge of the dependency between various variables, or kernels. Such dependency may be expressed by the command DEPEND. This takes an arbitrary number of arguments and sets up a dependency of the first argument on the remaining arguments. For example,
says that X is dependent on both Y and Z.
says that Z is dependent on COS(X) and Y.
Dependencies introduced by DEPEND can be removed by NODEPEND. The arguments of this are the same as for DEPEND. For example, given the above dependencies,
says that Z is no longer dependent on COS(X), although it remains dependent on Y.