Reduction of logics to the primitive logic