As you all know, in predicate logic when using Tableaux Method the quantifiers must be removed and their variables must be replaced with constants inside the relations and functions. The problem is I don't know how this process must be done. I've read many documentations (like this or this one and lots of other files and web pages) but I'm still unable to solve such problems and I don't know how to assign constants. Here is a few questions in my mind:
What is the difference between $\forall$ and $\exists$ when introducing new constant?
Is it true to define the same constant for different variables? as an example replacing $\forall x,y R(x,y)$ with $R(a,a)$ is right or it must be $R(a,b)$?
Under what conditions we are allowed to use an already used (defined) constant for a variable of a quantifier (I mean the constant is used in the node ancestor)?
What restrictions must be regarded when introducing constants in different branches?
As an example $\exists y \exists x \forall z (C(x,y,z) \rightarrow \neg C(x,x,x))$ is inconsistent but I failed to prove it, it is the way I tried:
$\exists y \exists x \forall z (C(x,y,z) \rightarrow \neg C(x,x,x))$
$\exists y \exists x \forall z (\neg C(x,y,z) \lor \neg C(x,x,x))$
$\exists y \exists x (\neg C(x,y,\overbrace {a} ^ {Constant}) \lor \neg C(x,x,x))$
$\exists y (\neg C(b,y,a) \lor \neg C(b,b,b))$
$(\neg C(b,d,a) \lor \neg C(b,b,b))$
and it is not a contradiction while I'm sure this formula is inconsistent.
As another example this set of formula is consistent but I don't know how to assign constants to variables of quantifiers, I would be appreciated if you help me with this set.
$\{ \forall x \exists y B(x,y) \rightarrow \neg \exists y \forall x B(x,y) , \exists B(x,x) \}$
I only tried this:
$\exists B(x,x)$
$\forall x \exists y B(x,y) \rightarrow \neg \exists y \forall x B(x,y)$
$\neg \forall x \exists y B(x,y) \vee \neg \exists y \forall x B(x,y)$
$B(a,a)$
but at this point I don't know if it is true to use $a$ in place if $x$ in $\neg \forall x \exists y B(x,y) \vee \neg \exists y \forall x B(x,y)$ or not (because $a$ is used in place of $\exists$ quantifier in another formula)?
Thank you