So I am having some confusion about the notation that is used in "Introduction to Mathmatical Logic" by Elliot Mendelson for indicating that some of the variables are free in a wf $\mathscr B$.[Below exercise 2.5]
We shall often indicate that some of the variables $x_{i_1},...,x_{i_k}$ are free variables in a wf $\mathscr B$ by writing $\mathscr B$ as $\mathscr B(x_{i_1},...,x_{i_k})$ .This does not mean that $\mathscr B$ contains these variables as free variables , nor does it mean that $\mathscr B$ does not contain other free variables.
In order for a variable to be a free variable in $\mathscr B$ , it has to have an free occurrence in the wf $\mathscr B$ atleast once.So if a variable $x$ doesn't exist in a wf $\mathscr B$ , then it is not a free variable in $\mathscr B$.
But , the above passage allows us to indicate these "non existent variables" as free variables in $\mathscr B$ by using the notation $\mathscr B(x_{i_1},...,x_{i_k})$. Is this right to do?
There is another confusion of mine regarding non-Existent variables. Lets say $y$ is a variable that doesn't exist in $\mathscr B$ .Then because $\mathscr B$ doesn't have $y$ as a variable , so we can write $\mathscr B \equiv \forall y\mathscr B$ according to this passage.
Notice that $\mathscr B$ need not contain the variable $y$. In that case, we understand (($\forall y)\mathscr B$) to mean the same thing as $\mathscr B$
In this case , $y$ is bound in $\forall y \mathscr B$ .And because $\mathscr B \equiv \forall y\mathscr B$ , we can say that $y$ is bound in $\mathscr B$.Is this faulty?