Just expand the quantifier:
$$ \exists ! x ~ P(x) \equiv \exists x ~ (P(x) \wedge (\forall y ~ P(y) \rightarrow y = x)) $$
and apply the usual negation rules for quantifiers.
Just expand the quantifier:
$$ \exists ! x ~ P(x) \equiv \exists x ~ (P(x) \wedge (\forall y ~ P(y) \rightarrow y = x)) $$
and apply the usual negation rules for quantifiers.