I am studying the basics of the term structure of interest rates from Hillier et al. "Fundamentals of Corporate Finance" (3rd ed., 2017) (here is a link to a slightly different edition). An illustration in the book suggests the nominal rates are a sum of three underlying components: the real rate, the inflation premium and the interest rate risk premium.
On the other hand, the real rate is previously defined as the increase in the purchasing power, with the following relationship holding between the nominal rate, the real rate and the inflation rate: $$ 1+r=\frac{1+R}{1+h} $$ where $r$ is the real rate, $R$ is the nominal rate and $h$ is the inflation rate. (I think this relationship defines the real rate.)
I think there is a discrepancy between the model of the term structure and the definition of the real rate; the former includes the interest rate risk premium while the latter does not. How do I reconcile the two?