I'm having a bit of trouble understanding how to go about formulating recursive definitions. This has caused trouble on the following:
$(1)$ Give a recursive definition of the set of subsentences of a sentence $\phi$ of $L_1$ — i.e. give a recursive specification of the function $\phi \mapsto$ {$ \psi \ | \ \psi$ is a subsentence of $\psi$}.
In order to define the function $\text{Sub}(ϕ) = \text { the set of subformulas of } ϕ$, we have to follow the recursive (or inductive) definition of formula :
In this case $\text {Sub}(\phi) = \{ \phi \}$.
In this case $\text {Sub}(\phi) = \text {Sub}( \psi_1) \cup \text {Sub}( \psi_2) \cup \{ \psi_1 \circ \psi_2 \}.$
In this case $\text {Sub}(\phi) = \text {Sub}( \psi) \cup \{ \lnot \psi \}.$
And similar for quantifiers.
We have to use them in the general schema of Definition by Recursion :
Above we have defined the specific functions to be used with $A=\text{FORM}$ to get $F=\text{Sub}$.