7

I just started studying logic, not as a course at a university, but as pastime. Since I do not study logic at an institution I use many different textbooks, including Enderton's $A$ $Mathematical$ $Introduction$ $to$ $Logic$ and Van Dalen's $Logic$ $and$ $Structure$. Now, my question is this: Is the following theorem (Van Dalen p. 11) a reformulation of the usual recursion theorem? If not, then how would one go about proving this theorem.

Let mappings $H_{\square}: A^{2} \to A$ and $H_{\neg}:A \to A$ be given and let $H_{at}$ be a mapping from the set of atoms into $A$, then there exists exactly one mapping $F:PROP \to A$ $$F(\phi) = H_{at}(\phi) \quad \text{for $\phi$ atomic,}$$ $$ F((\phi \square \psi)) = H_{\square}(F(\phi),F(\psi)),$$ $$F((\neg \phi)) =H_{\neg}(F(\phi))$$

Thank you for taking the time to read this question.

  • 2
    This may be seen as a particular case of the recursion theorem, but I would not call it that, personally. Anyway, you prove this by the same procedure, checking that 1) For each $n$ there is a unique $F_n$ satisfying the three requirements, but only defined on formulas of length at most $n$, and 2) If $m<n$, then $F_m$ is simply the restriction of $F_n$ to its domain. Using this, it follows that $F=\bigcup_n F_n$ is as wanted. – Andrés E. Caicedo Sep 02 '13 at 22:05
  • Is the tag "transfinite recursion" appropriate ? Induction on integers seems enough here. – Denis Sep 03 '13 at 00:34
  • @AndresCaicedo Please consider converting your comment into an answer, so that this question gets removed from the unanswered tab. If you do so, it is helpful to post it to this chat room to make people aware of it (and attract some upvotes). – Lord_Farin Oct 09 '13 at 17:15
  • @Lord_Farin I have added an answer. – Andrés E. Caicedo Oct 09 '13 at 21:41
  • (@Lord_Farin I did not see how to log in to the chat room, the automatic log in feature did not seem to work, and I gave up after a few tries. Please let others know that the answer has been added, and thanks for reminding me of this question.) – Andrés E. Caicedo Oct 09 '13 at 21:46
  • (@Andres I had similar troubles yesterday; I got in using the "Log in using StackExchange" link in the blurb you see because login fails.) – Lord_Farin Oct 09 '13 at 21:48
  • (@Lord_Farin Thank you! I will try again later with some time, I've been curious about this chat room in particular, but had not gotten around to visited it.) – Andrés E. Caicedo Oct 09 '13 at 21:53
  • Yes, this is a particular instance of the more general recursion theorem on freely generated inductive sets (c.f. The Enderton book) – Poscat Mar 19 '24 at 14:21

1 Answers1

8

Depending on what you mean by "the" recursion theorem (there are too many results using the same name), this claim may or may not be seen as a particular case, or even as equivalent. I find it better to argue directly than to try to make it fit abstractly into some setting and then deduce it as a corollary.

One way to proceed is by strong induction on the length of the propositional formulas, first verifying that for each $n$ there is a unique $F_n$ defined on formulas of length at most $n$, and satisfying the three requirements.

This is clear if $n=1$, since the last two clauses doe not apply, and the first one tells us exactly what $F_1$ is: $$F_1=H_{at}\upharpoonright\{\mbox{Propositional formulas}\}.$$

If $n>1$ and the result is true for formulas of length strictly less $n$, it also holds for formulas of length $n$, that is: If for all $m<n$ there is a unique $F_m$ defined on formulas of length at most $m$ and satisfying the three requirements, then the same holds for $n$.

To see this, suppose first that $F_n$ and $F_n'$ are two functions satisfying the three requirement, and defined on the set of formulas of length at $n$. For any $m<n$, the restriction of $F_n$ to formulas of length at most $m$ must be $F_m$ (by the inductive assumption) and similarly for $F_n'$. It follows that if $F_n$ and $F_n'$ disagree, the disagreement occurs on a formula of length precisely $n$. But any such formula, not being atomic, is either $(\lnot\phi)$ or $(\phi\mathrel{\square}\psi)$ for some shorter formulas $\phi,\psi$, and some binary connective $\square$.

In the first case, we have $$ F_n((\lnot\phi))=H_{\lnot}(F_n(\phi))=H_{\lnot}(F_{n-3}(\phi))=H_{\lnot}(F_n'(\phi))=F_n'((\lnot\phi)), $$ since $F_n$ and $F_{n'}$ satisfy the third requirement, and the inductive assumption on the uniquenesss of $F_{n-3}$.

The second case is completely analogous. This shows that there is no disagreement between $F_n$ and $F_n'$, and uniqueness follows.

To prove existence is similar, if only slightly more cumbersome. We can define $F_n$ using the three given clauses, and the existence of the previous functions $F_m$. For example, $F_n(\phi)$ is defined as $F_1(\phi)$ if $\phi$ is atomic, and as $H_\square(F_m(\psi),F_j(\tau))$, if $\phi$ is $(\psi\mathrel{\square}\tau)$ where $\psi$ is a formula of length $m$ and $\tau$ is a formula of length $j$ (and similarly for the remaining case).

That this is well defined follows from the (previously established) result that there is unique readability of formulas, so: Given any $\phi$, it is either atomic, or it has the form $(\lnot\tau)$, and $\tau$ is a formula, or it has the form $(\psi\mathrel{\square}\tau)$, for some formulas $\psi,\tau$ and some binary connective $\square$. Moreover, these cases are mutually exclusive, and in the last case, there is a unique such decomposition of $\phi$.

Once we have that $F_n$ is well-defined, it follows trivially that it satisfies the three requirements: First, the inductive assumption gives us (again) that $F_n$ extends the unique $F_m$ whenever $m<n$. This ensures that the three requirements hold when evaluating $F_n(\phi)$ for formulas $\phi$ of length less than $n$. For $\phi$ of length precisely $n$, this follows from the definition of $F_n$, noticing that since $F_n$ extends the functions $F_m$ for $m<n$, then, for example, $$ F_n((\psi\mathrel{\square}\tau))=H_\square(F_m(\psi),F_j(\tau))=H_\square(F_n(\psi),F_n(\tau)). $$

Now that we have established existence and uniqueness of the $F_n$, we have that the functions are compatible, in the sense that their graphs extend each other: $$F_1\subseteq F_2\subseteq F_3\subseteq \dots$$ This means that $F=\bigcup_n F_n$ is a function, and it satisfies the three requirements since each $F_n$ does. But $F$ has domain the set $\mathsf{PROP}$ of all propositional formulas. Uniqueness of $F$ is as before, noticing that if $F$ is any function with domain $\mathsf{PROP}$ and satisfying the three requirements, its restriction to formulas of length at most $n$ is precisely $F_n$, so in fact $F=\bigcup_n F_n$.