I am asking about Selberg's elementary proof. There seem to be a few key points. One is his symmetry formula:
$$ \sum_{pq \leq x} \log p \, \log q + \sum_{p \leq x} \log^2 p = 2x \log x + O(x) $$
Instead let's start from a more basic starting point. Selberg uses:
$$ \sum_{p \leq x} \frac{\log p}{x} = \log x + O(1) $$
This would have $\theta(x) = x \log x + O(x)$. Merten's theorem is a bit different:
$$ \sum_{p \leq x} \frac{\log p}{p} = \log x + O(1) $$
Both of them are true I believe. Which one can be used to show this error term is small?
$$ \sum_{p \leq x} \log p \;\log \frac{x}{p} \stackrel{?}{=} O(x) $$
Hopefully I have copied the statements correctly.
Here is the passage I am referring to:
If I multiply both sides by $x$ I get that $\sum_{p \leq x} \log p = x \log x + O(x)$ which GH from MO says is false. And I don't see why he is using Prime Number Theorem to prove the Prime Number Theorem.
Yet he also says that Merten's theorem is false. Here is one statement
and I do not understand the downvoting since the equations I have written are accurate reflection of Mertens' theorem and Selberg's typo.