Mathematics Asked on December 18, 2021
I am studying Hrbacek and Jech’s Introduction To Set Theory (3rd Ed), and on Section 3.4 there is the following problem:
For each finite sequence of natural numbers $langle k_i: 0 leq i < n rangle$. Define $sum langle k_i: 0 leq i < n rangle$ so that:
So a little bit of context here: this section deals with (set-theoretically defined) natural numbers and the Recursion Theorem. Three versions of the Recursion Theorem are given, but in my opinion the following is to be used in this problem (the Parametric version of the Recursion Theorem – PVRT):
Let $a: P rightarrow A$ and $g: P times A times mathbb{N}
> rightarrow A$ be functions. There exists a unique function $f: P
> times mathbb{N} rightarrow A$ such that:
- $f(p, 0) = a(p)$ for all $p in P$;
- $f(p, n+1) = g(p, f(p,n), n)$ for all $n in mathbb{N}$ and all $p in P$.
I would appreciate any clue to finish the solution; if my approach is wrong, any pointer in the right direction would be appreciated. My attempt at a solution is this (notice $operatorname{Seq}{(S)}$ is the set of all finite sequences of elements in the set $S$):
Solution:
In PVRT we take $P = operatorname{Seq}{(mathbb{N})}$, $A = mathbb{N}$, and define $a: operatorname{Seq}{(mathbb{N})} rightarrow mathbb{N}$ as $a(k) = 0$ and $g: operatorname{Seq}{(mathbb{N})} times mathbb{N} times mathbb{N} rightarrow mathbb{N}$ as:
$$g(k, x, l) = begin{cases}
x + k_l, & text{if } l in operatorname{dom}{k}; \
x, & text{if } l notin operatorname{dom}{k}
end{cases}$$
By PVRT, there is a function $f: operatorname{Seq}{(mathbb{N})} times mathbb{N} rightarrow mathbb{N}$ such that:
If $k in operatorname{Seq}{(mathbb{N})}$ y $operatorname{dom}{k} = l + 1 > 0$, notice that $f(k, l+1) = g(k, f(k, l), l) = f(k, l) + k_l$ (since $l < l+1$).
Now define $sum: operatorname{Seq}{(mathbb{N})} rightarrow mathbb{N}$ as $sum(k) = sum langle k_i: 0 leq i < operatorname{dom}{k} rangle = f(k, operatorname{dom}{k}).$
From this definition it is easy to see that:
My problem is with $3.$ It is intuitively clear for me, by the way $g$ (and hence $f$) was defined, that $f(k, n) = f(k[n], n)$, where $k[n]$ is the restriction of $k$ to the set $n$. However, I am having an incredibly difficult time proving this. I tried to prove this via induction:
I got stuck at one point, where I could no longer use the induction hypothesis. Then I tried to prove something stronger, hoping a stronger hypothesis would help:
This time I got entangled in a dobule induction argument, where again the induction hypothesis was useless.
For the sake of completeness, I present the other two versions of the Recursion Theorem that appear in the book:
For any set $A$, any $a in A$ and any function $g: A times
> mathbb{N} rightarrow mathbb{N}$, there exists a unique infinite
sequence $f: mathbb{N} rightarrow A$ such that:
- $f_0 = a;$
- $f_{n+1} = g(f_n, n)$, for all $n in mathbb{N}$.
For any set $S$ and any function $g: operatorname{Seq}{(S)}
> rightarrow S$, there exists a unique sequence $f: mathbb{N}
> rightarrow S$ such that:
- $f_n = g(f[n])$, for all $n in mathbb{N}$.
I also noticed this question was asked recently here. However, since no solution was presented, I think it is pointless to comment there with a partial (and potentially incorrect) solution.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP