1) Thanks for tacking the time to write such a complete answer.
2)
Evgeny.Makarov said:
By the way, I like my former advisor's convention of using square brackets to indicate that a variable occurs somewhere in a term or formula, such as $A[x]$, and using parentheses when a propositional or functional symbol is applied to a variable, as in $P(x)$ and $f(x)$.
$$(\forall x_1) A^3_1(f^2_1(x_1,x_2),x_2,f^1_1(x_2))\rightarrow (\forall x_2)A^2_1(x_1,x_3)$$
Would became, following your advisor's convention:
$$(\forall x_1) A^3_1[f^2_1[x_1,x_2],x_2,f^1_1[x_2]]\rightarrow (\forall x_2)A^2_1[x_1,x_3]$$ ?
3) Using the keyword you gave me, I found some documentation, which (I think) helped me understand more.
I found another definition, which (I think) is more "intuitive" to me, I'll write it down here
"A term t is free for (substitution for) a variable x in a formula A, if no variable in t is captured by a quantifier when t is substituted for
x in A. "
(which seem to be the same as yours, if I have understand correctly)
Link:
http://www2.imm.dtu.dk/~vfgo/02286/2013/Slides/FirstOrderLogicSyntaxFreeBoundVarsQuantScopeCaptureSubstRenamingTrans.pdfNow I'll try to redo the exemple I posted.
starting with
A) is t free for $$x_1$$doing the substitution of $$x_1$$ by t (t given in the first post) we get
The well formed formula A':
$$[\forall x_1) A^3_1[f^2_1[f^2_2[x_1,x_3],x_2],x_2,f^1_1[x_2]]\rightarrow (\forall x_2)A^2_1[f^2_2[x_1,x_3],x_3]$$
Now since the Quantifier $$\forall x_1$$ at the begining, we have that $$x_1$$ in bound within A', so we can conclude that t is bound for $$x_1$$
Doing the same for B) we get the term t is free for $$x_2$$ in A
and for C) t is free for $$x_3$$ in A
Doing some exercice in my book, will write them down here with, what I think, is the solution, if you could tell me if I'm right:
Which occurence of $$x_1$$ in the following well formed formula are free and which are bound:
A)$$(\forall x_2)[A^2_1[x_1,x_2]\rightarrow A^2_1[x_2,a_1]]$$ where $$a_1$$ is an individual constant, I would say that $$x_1$$ is free in this one. Since there is no quantifier that apply to $x_1$