I recently saw in a book which said: if $O,H,I,N$ are the circumcenter, the orthocenter, the incenter and the center of the nine point circle of a triangle, $R,r,\rho$ are the radii of the circumcircle, incircle and the nine point circle, one have $$ OH^2=R^2-4R\rho,\\ IH^2=2r^2-2R\rho,\\ IN=\frac{1}{2}R-r. $$ I can deduce the third one from the previous two using the length theorem of centerline. Since $ON=NH$, we have $$ \begin{align} IN^2&=\frac{1}{2}IO^2+\frac{1}{2}IH^2-\frac{1}{4}OH^2\\ &=\frac{1}{2}(R^2-2Rr)+\frac{1}{2}(2r^2-2R\rho)-\frac{1}{4}(R^2-4R\rho)\\ &=\frac{1}{4}R^2-Rr+r^2\\ &=(\frac{1}{2}R-r)^2, \end{align} $$ which is equivalent to $IN=\frac{1}{2}R-r$.
How can I prove the first two?
dodoturkoz's comment suggests that the book is wrong. Then my question is, how to express $OH,IH$ using only $R,r$?