If I understand right, general cross-entropy cost function can be written as:
$$c := - \sum_{i} t_{i} \log (a_i)$$
where vector $\mathbf{t}$ is 'true' discrete pdf and the vector $\mathbf{a}$ is the predicted pdf for the current input. Is it easily provable that $\mathbf{t} \equiv \mathbf{a}$ minimize the cost?
Obviously this is the case when $\mathbf{t}$ is all 0s except one 1, the usual case where we are sure which category the current input sample belongs to.