### ?

## The minimum number of negations in circuits for systems of multi-valued functions

The paper is concerned with the complexity of realization of π-valued logic functions by logic circuits over an infinite complete bases containing all monotone functions; the weight of monotone functions (the cost of use) is assumed to be 0. The complexity problem of realizations of Boolean functions over a basis having negation as the only nonmonotone element was completely solved by A. A. Markov. In 1957 he showed that the minimum number of NOT gates sufficient for realization of any Boolean function π (the inversion complexity of the function π) is ]log_2(π(π) + 1)[. Here π(π) is the maximum number of the changes of the function π from larger to smaller values over all increasing chains of tuples of variables values. In the present paper, Markov’s result is extended to the case of realization of π-valued logic functions. We show that the minimum number of Post negations (that is, functions of the form π₯ + 1 (mod π)) that is sufficient to realize an arbitrary function of π-valued logic is ]log_2(π(π) + 1)[ and the minimum number of Εukasiewicz negation (that is, functions of the form π − 1 − π₯) that is sufficient to realize an arbitrary π-valued logic function is ]log_π(π(π)+1)[. In addition, another classical Markov’s result on the inversion complexity of systems of Boolean functions is extended to the setting of systems of functions of π-valued logic.