MathFin
Map / Valuation · Interest rates / MathFin.Models.Rates.ForwardRate

Forward rate from a non-flat spot-rate curve

MathFin.Models.Rates.ForwardRateMSC 91G30JEL E43 source

Given a continuously-compounded spot-rate curve T ↦ R(T) with R'(T), the zero-coupon bond price is P(T) = exp(−T · R(T)), so

forwardRate(T) := −d/dT log P(T) = d/dT [T · R(T)] = R(T) + T · R'(T).

This generalizes the flat-curve case (R(T) ≡ R₀ ⇒ forward = R₀) covered by hasDerivAt_neg_log_zcb_T in CouponBonds.lean. The non-flat case is purely the product-rule chain rule applied to T · R(T).

This is an instance of the Probability/Analysis/ExponentialDiscount principle at H(T) = T · R(T): the forward rate is the negative log-derivative of the discount factor exp(−H(T)). The calculus lemma hasDerivAt_T_mul_spotRate supplies H', and forwardRate_eq_neg_log_discount routes it through the principle to express the result in terms of the actual bond price P(T).

Main results

  • hasDerivAt_T_mul_spotRate: the forward-rate derivative formula d/dT (T·R(T)) = R(T) + T·R'(T) — this is the non-flat-curve forward rate in the −log P parametrisation.
  • forwardRate_eq_neg_log_discount: forward rate as −d/dT log P(T) with the actual discount factor P(T) = exp(−T · R(T)), via the ExponentialDiscount principle.

References

  • Fabozzi, Fixed Income Mathematics [FabozziFIM], 5.2
  • J. C. Hull, Options, Futures, and Other Derivatives [Hull], 4.7

Tags

instantaneous forward rate, spot rate curve, zero-coupon yield, term structure, log-derivative of bond price, MSC 91G30, JEL E43

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-forward-rate-nonflat · interest_rates.json · full statement
Forward Rate from Non-Flat Spot-Rate Curve

When the spot rate R(T) is differentiable, d/dT [T · R(T)] = R(T) + T · R'(T) (product rule). This is the instantaneous forward rate, generalizing the flat-curve case.

Declarations 2

theoremMathFin.hasDerivAt_T_mul_spotRatesource
∀ {R : ℝ → ℝ} {R'_T T : ℝ}, HasDerivAt R R'_T T → HasDerivAt (fun t => t * R t) (R T + T * R'_T) T

Forward-rate calculus identity / forward rate from a non-flat spot curve: d/dT [T · R(T)] = R(T) + T · R'(T) when R is differentiable at T. Writing F(T) := −log P(T) = T · R(T) for a zero-coupon bond P(T) = exp(−T·R(T)), the instantaneous forward rate at horizon T is exactly this derivative F'(T) = R(T) + T·R'(T) — so this single lemma is the non-flat-curve forward-rate formula (in the −log P parametrisation; the version against the actual discount factor is forwardRate_eq_neg_log_discount below).

theoremMathFin.forwardRate_eq_neg_log_discountsource
∀ {R : ℝ → ℝ} {R'_T T : ℝ}, HasDerivAt R R'_T T → HasDerivAt (fun t => -Real.log (Real.exp (-(t * R t)))) (R T + T * R'_T) T

Forward rate as the negative log-derivative of the bond price (Probability/Analysis/ExponentialDiscount, instantiated at H(T) = T · R(T)). The zero-coupon bond is P(T) = exp(−T · R(T)); the instantaneous forward rate −d/dT log P(T) equals R(T) + T · R'(T). Unlike hasDerivAt_T_mul_spotRate, this states the result against the actual discount factor rather than the −log P shortcut, by routing the calculus lemma through the rate_eq_neg_log_deriv principle.