This is part of my homework (not mandatory and not accredited).
Please comment/answer if my reasoning for the exercises is correct, because I'd like to see if I understand the material.
I will start with the axioms to show what I am working with:
(T1) Every variable is a term
(T2) Every constant symbol is a term
(T3) An expression of the form $F(t_1, \dots , t_n)$ where $f$ is an $n-$ary function symbol and $t_1, \dots , t_n$ are terms, is again a term
(F1) Are $t_1,t_2$ terms, then $t_1=t_2$ is also a formula
(F2) Are $t_1, \dots , t_n$ terms and is $R$ an $n-$ary relation symbol, then $R(t_1, \dots , t_n)$ is a formula
(F3) Is $\varphi$ a formula, then $\neg \varphi$ is also a formula
(F4) Are $\varphi, \phi$ formulas, then so are $(\varphi \wedge \phi) ,( \varphi \vee \phi), (\varphi \to \phi), (\varphi \leftrightarrow \phi)$
(F5) Is $\varphi$ a formula and $x$ a variable, then $\forall x \varphi$ and $\exists x \varphi$ is a formula
Exercise: Let $F_1$ be a $1$-ary, $F_2$ a $2$-ary, and $F_3$ a $3$-ary Function symbol. Let $R_2$ be a $2$-ary Relation symbol, $c$ a constant symbol and $x,y,z$ variables. Which of the following are syntactic correct terms or formulas? \begin{align}a) \ &F_3xF_3yF_3zF_2xF_1zzcc \\ b) \ & \neg \neg \neg\exists x \neg (( y = F_3xF_1y) \vee (x=x)) \\ c) \ & \forall x \neg(c=x) \vee \exists c(c=x)\end{align} My answer (or ideas):
$\cdot $ For a) I thought because I have troubles reading the Polish notation I should convert it into the notation I am used to.
My problem is now I don't know the rules to do that, my intuitive approach was to go from the inside to the outside, meaning I'd start with $F_1$ and associate one term to it and then continue with $F_2$, associate two terms to it and so on. With that logic I'd obtain: $$F_3xF_3yF_3zF_2xF_1zzcc = F_3\Bigg(x,F_3\bigg(y,F_3\Big(z,F_2\big(x,F_1(z)\big),z\Big),c\bigg),c\Bigg) $$ Edit: So the above term should be correct, we obtain a term again.
$ \cdot $ For b) Unlike as above, the Polish notation $F_3xF_1y$ seems not well defined
$\cdot $ c) This is a correct formula.