How to put this recursive definiton:
Definition. (Gentzen) subformulas of A are defined by
(a) A is a subformula of A;
(b) if B ◦ C is a subformula of A then so are B, C, for ◦ = →,∧,∨;
(c) if ∀xB or ∃xB is a subformula of A, then so is B[x := t], for all t free for x in B.
in a formal way (without recursion)?