I need to find a Herband model for the formula $Pc \land \forall x (\exists y (Px \leftrightarrow \neg Py))$, where $c$ is a constant and $P$ is a unary relation. I've already read the theory but unfortunately don't understand how to proceed in practice. It would be nice if someone can help me with some hints.
Thanks in advance.
Ref. to Resolution.
1) Transform the formula in a set $s$ of clauses in Conjunctive Normal Form, removing the universal quantifiers and replacing existentially-quantified variables by Skolem functions:
2) Build the Herbrand universe with constant and function symbols.
Having only the constant $c$ and the skolem function $f$, the H-universe will be:
3) Build the Herbrand base for the set $S$ of clauses, i.e. the set of all ground atoms of the form $P(t)$ for the only predicate symbol occurring in $S$ using the closed terms in $U$:
Finally:
4) build the Herbrand interpretation:
In your example:
See:
You can compare it with a "minimal" model $\mathcal M$ with universe $\{ a , b \}$ such that: