Math100 said:
What's the induction hypothesis? And how to prove a certain upper bound for ##p_{k+1}##?
##p_{k+1}<p_1+\ldots+p_k## is what we have to show. We have to derive it. Your mistake was, that you used it. We cannot use what we want to prove. So our goal is something along the lines
$$
p_{k+1}<\ldots < \ldots < \ldots < p_1+\ldots+p_k
$$
A proof by induction goes this way: Find a number for which the statement is true. This is the induction base and in our case: ##n_0=4.##
Now, if we can find a way to prove it for ##n=5## with the knowledge, that it is true for ##n=4,## which we already showed, then we have it for the next number. Now, if we can find a way to prove it for ##n=6## with the knowledge, that it is true for ##n=5,## which we just showed, then we have it for the next number. Now, if we can find a way to prove it for ##n=6## with the knowledge, that it is true for ##n=5,## which we already showed, then we have it for the next number. This can go on forever. But where to stop? The solution is, that we pretend we have shown it for some number ##n=k##. Now, if we can find a way to prove it for ##n=k+1## with the knowledge, that it is true for ##n=k,## which we already showed - ok, we pretend we did - then we have it for the next number.
That's how a proof by induction goes.
Prove ##S(n_0).##
(induction base)
Pretend ##S(k)## is true.
(induction hypothesis)
Prove ##S(k+1)## is true by using the previous result ##S(k)##.
(induction step)
In our case, we have already checked ##S(4).## Now we need ##S(k+1),## that is ##p_{k+1}<p_1+\ldots+p_k##.
To prove something, we need some truth from which we can derive our desired statement. The tools, these truths, are in our case the induction hypothesis ##S(k),## which is ##p_{k}<p_1+\ldots+p_{k-1}## and the Bertrand-Chebychev theorem ##p_{k+1}<2p_k.##
We start with ##p_{k+1}## and want to end up with ## < p_1+\ldots+p_k.##
So let's do it:
\begin{align*}
p_{k+1} &< 2p_k \quad\text{ Bertrand }\\
&=p_k+p_k\\
&<p_k+ (p_1+\ldots+p_{k-1} )\quad\text{ induction hypothesis }S(k)\\
&=p_1+\ldots+p_k
\end{align*}
That had to be shown. We started with ##p_{k+1}## and made it bigger and bigger and ended up with ##p_1+\ldots+p_{k}.##
This is formally a proof by induction. The and so on, if you like:
\begin{align*}
p_4&=7<10=2+3+5=p_1+p_2+p_3\\
p_5&<2p_4=p_4+p_4<(p_1+p_2+p_3)+p_4\\
p_6&<2p_5=p_5+p_5<(p_1+p_2+p_3+p_4)+p_5\\
p_7&<2p_6=p_6+p_6<(p_1+p_2+p_3+p_4+p_5)+p_6\\
&\text{ and so on }
\end{align*}
Instead of
and so on, we formalize one general step ##S(k)\Longrightarrow S(k+1).## Since ##k## can be any number, we do not have to repeat the whole procedure again and again. We have shown it once and for all instead of
and so on.
That is the idea. You cannot use what you want to prove. It must be at the end of reasoning, not at the beginning and not in the middle. It is the very last statement of a proof.