Below is the proof I took from textbook A Course in Mathematical Analysis by Proof D. J. H. Garling.
I think there are some typos, which I highlighted in the attached picture.
- $g(s(n))= f(n)$
Since the theorem states $a_{s(n)}=f(a_{n})$, I think the right version should be: $g(s(n))=f(g(n))$, not $g(s(n))= f(n)$.
2.$(n,a)\in P$ and $(n,a')\in P$
I think the right version should be: $(n,a)\in g$ and $(n,a')\in g$
3.$(s(m),f(b))\in g$
Since the author is trying to prove $g'\in S$, I think the right version should be: $(s(m),f(b))\in g'$, not $(s(m),f(b))\in g$.
4.$(s(m),f(b))\notin g$
As in 3., I think the right version should be: $(s(m),f(b))\notin g'$, not $(s(m),f(b))\notin g$.
Please check whether I am right or wrong about these typos!