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

The deterministic-rates bond market

MathFin.Models.Rates.DeterministicMarketMSC 91G30JEL E43JEL G12 source

The simplest term-structure model as a Market: a deterministic bank account N (N t = e^{rt} for a flat rate) as numéraire, and zero-coupon bonds P(t, τᵢ) = N t / N τᵢ as the traded assets (deterministicMarket). After its maturity a bond is worth what its proceeds earn in the bank account, so the formula holds at every date and the bond is a self-financing position. Nothing is random, so every probability measure is a pricing measure (isPricingMeasure_deterministicMarket): the deflated bond P(t, τᵢ) / N t = 1 / N τᵢ is constant.

In any market with a deterministic numéraire a schedule of fixed cash flows is worth its flows discounted by N 0 / N (price_fixedFlows_deterministicMarket), and the price of a unit payment at τᵢ is the bond's price (price_pay_deterministicMarket). The first-order immunization and the key-rate durations of Models/Rates/ differentiate such a flat-rate value, and the value of a zero-coupon portfolio is the price of its schedule when the numéraire is e^{rt}, and the price of a coupon bond at an annually compounded yield y is the price of its schedule when the numéraire is (1 + y)^⌊t⌋ (bondPortfolioValue_eq_price).

The library's canonical bond price is Contracts.bondPrice (P(t, T) = 𝔼_Q[D T ∣ 𝓕 t] / D t, Pricing/BondPrice.lean), and three deterministic bond formulas are tied to it. The flat-rate bond zcb r t T is P(t, T) at the curve D s = e^{−rs} (bondPrice_exp_eq_zcb), and it is the market's price at t of one unit paid at T whenever the numéraire is e^{rt} (priceAt_pay_eq_zcb). The key-rate price is ∑ cᵢ P(0, tᵢ) with one curve per cash flow, and the coupon bond at an annually compounded yield is its flat case (bondPriceKeyRate_eq_sum_bondPrice, bondPriceDisc_eq_sum_bondPrice).

The stochastic short-rate models (Models/Rates/ShortRate.lean) price the same schedules through their zero curve; that their bonds are martingales after deflation by the bank account is not proved here.

Main definitions

  • MathFin.Rates.deterministicMarket: the market of a deterministic numéraire with zero-coupon bonds of given maturities.

Main results

  • MathFin.Rates.isPricingMeasure_deterministicMarket: every probability measure prices the deterministic bond market, at every horizon.
  • MathFin.Rates.price_pay_deterministicMarket: the price of a unit payment at τᵢ is the bond's market price N 0 / N τᵢ.
  • MathFin.Rates.price_fixedFlows_deterministicMarket: a schedule of fixed cash flows is worth its flows discounted by the numéraire.
  • MathFin.Rates.bondPortfolioValue_eq_price_exp, bondPriceDisc_eq_price: the flat-rate value of a zero-coupon portfolio (numéraire e^{rt}) and the annually compounded price of a coupon bond (numéraire (1 + y)^⌊t⌋) are market prices.
  • MathFin.Rates.bondPortfolioValue_eq_price: the two in one conjunction.
  • MathFin.Rates.bondPrice_exp_eq_zcb, MathFin.Rates.priceAt_pay_eq_zcb: at the discount curve e^{−rs} the bond price P(t, T) is zcb r t T, and so is the market price at t of one unit paid at T when the numéraire is e^{rt}.
  • MathFin.Rates.bondPriceKeyRate_eq_sum_bondPrice, MathFin.Rates.bondPriceDisc_eq_sum_bondPrice: the key-rate price is ∑ cᵢ P(0, tᵢ), each cash flow at its own curve (1 + kᵢ)^{−⌊u⌋}, and the coupon bond at a yield is the flat case.
  • MathFin.Rates.price_immunization_first_order: first-order immunization stated for the market prices of the asset and liability schedules, in a family of markets with numéraires e^{rt}.
  • MathFin.Rates.sum_deriv_keyRate_eq_deriv_price: the key-rate partials of a coupon bond sum to the derivative in y of the market price of its cash flows, in a family of markets with numéraires (1 + y)^⌊t⌋.

References

Tags

term structure, zero-coupon bond, bank account, pricing measure, deterministic interest rates, bond immunization, MSC 91G30, JEL E43, JEL G12

Import neighbourhood

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

Corpus entries

mf-deterministic-bond-market-pricing-measure · interest_rates.json · full statement
Every Probability Measure Prices the Deterministic-Rates Bond Market, and the Bond Price Is the Price of a Unit Payment

The deterministic-rates bond market (deterministicMarket P N hN tau: a deterministic positive numeraire N, the bank account, and for each i the zero-coupon bond of maturity tau i worth N t / N (tau i) at t, with the trivial filtration) is a Market, every probability measure P is a pricing measure of it at every horizon T (Market.IsPricingMeasure: the deflated bond 1 / N (tau i) is constant, hence a martingale), and the market price (Market.price) of a unit payment at tau i, under the reference measure P (the library lemma holds under any probability measure), is the bond's price N 0 / N (tau i) = asset i 0. Deterministic rates only: stochastic short-rate models (Vasicek, Hull-White) are not shown to be markets here.

mf-bond-portfolio-value-is-market-price · interest_rates.json · full statement
The Flat-Rate Value of a Zero-Coupon Portfolio and the Discrete Price of a Coupon Bond Are Market Prices

For any Market whose numeraire is the money market e^{rt}, under any probability measure Q, the zero-coupon portfolio value bondPortfolioValue (faces w i, maturities T i >= 0) at time 0 and rate r is the market price (Market.price) of the schedule of fixed cash flows fixedFlows paying w i at T i; and for any Market whose numeraire is (1 + y)^floor(t), the coupon bond price bondPriceDisc at the annually compounded yield y, with integer payment times, is the market price of its schedule. The numeraire is deterministic, so the flat-rate zero-coupon portfolio value and the annually compounded coupon-bond price, the quantities the immunization and key-rate-duration results differentiate, are values of contracts, whatever the assets of the market; it does not construct a market with a stochastic short rate.

mf-immunization-market-price · interest_rates.json · full statement
First-Order Immunization for Market Prices

In a family of markets M r whose numeraire is the money market e^{rt}, under any probability measure Q, if two zero-coupon portfolios (faces wA, wL, maturities TA, TL >= 0) have equal duration-times-value at rate r, the derivative in r of the difference of the market prices of their fixed cash-flow schedules is zero at r. Deterministic numeraire only; the market family is a hypothesis.

mf-key-rate-market-price · interest_rates.json · full statement
Key-Rate Durations for Market Prices

In a family of markets M y whose numeraire is (1+y)^floor(t), under any probability measure Q, at a flat curve y with 1 + y != 0 the key-rate partial derivatives of a coupon bond (cash flows c at integer dates t) sum to the derivative in y of the market price of its fixed cash-flow schedule. These are dollar durations (no division by price); deterministic numeraire only; the market family is a hypothesis.

Declarations 13

defMathFin.Rates.deterministicMarketsource
{ι : Type u_1} → {Ω : Type u_2} → [mΩ : MeasurableSpace Ω] → Measure Ω → (N : NNReal → ℝ) → (∀ (t : NNReal), 0 < N t) → (ι → NNReal) → Market ι Ω

The deterministic-rates bond market: the physical measure P, the trivial filtration, the deterministic numéraire N (the bank account), and for each i the zero-coupon bond of maturity τ i, worth N t / N (τ i) at t.

theoremMathFin.Rates.isPricingMeasure_deterministicMarketsource
∀ {ι : Type u_1} {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P] (N : NNReal → ℝ) (hN : ∀ (t : NNReal), 0 < N t) (τ : ι → NNReal) (T : NNReal), (deterministicMarket P N hN τ).IsPricingMeasure T P

Every probability measure prices the deterministic bond market. The deflated bond (N t / N τᵢ) / N t = 1 / N τᵢ is constant in time and in the outcome, hence a martingale.

theoremMathFin.Rates.price_pay_deterministicMarketsource
∀ {ι : Type u_1} {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (P : Measure Ω) (N : NNReal → ℝ) (hN : ∀ (t : NNReal), 0 < N t) (τ : ι → NNReal) (Q : Measure Ω) [IsProbabilityMeasure Q] (i : ι) (ω : Ω), (deterministicMarket P N hN τ).price Q (Contract.pay (τ i) (Payoff.const 1)) = (deterministicMarket P N hN τ).asset i 0 ω

The price of a unit payment at τᵢ is the bond's price. In the deterministic bond market the unit payment at τ i is worth the bond's price N 0 / N (τ i) today, under any probability measure.

theoremMathFin.Rates.price_fixedFlows_deterministicMarketsource
∀ {ι : Type u_1} {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (P : Measure Ω) (N : NNReal → ℝ) (hN : ∀ (t : NNReal), 0 < N t) (τ : ι → NNReal) (Q : Measure Ω) [IsProbabilityMeasure Q] (t : ℕ → NNReal) (c : ℕ → ℝ) (n : ℕ), (deterministicMarket P N hN τ).price Q (fixedFlows t c n) = ∑ i ∈ Finset.range n, N 0 / N (t i) * c i

A schedule of fixed cash flows is worth its flows discounted by the numéraire: in the deterministic bond market, ∑ cᵢ N 0 / N (tᵢ), under any probability measure.

theoremMathFin.Rates.bondPortfolioValue_eq_price_expsource
∀ {ι : Type u_1} {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (Q : Measure Ω) [IsProbabilityMeasure Q] (n : ℕ) (w T : ℕ → ℝ), (∀ (i : ℕ), 0 ≤ T i) → ∀ (M : Market ι Ω) (r : ℝ), (∀ (t : NNReal) (ω : Ω), M.numeraire t ω = Real.exp (r * ↑t)) → bondPortfolioValue (Finset.range n) w T 0 r = M.price Q (fixedFlows (fun i => (T i).toNNReal) w n)

The flat-rate value of a bond portfolio is a market price. In any market with the money market e^{rt} as numéraire, under any probability measure Q, the portfolio of zero-coupon bonds of face w i and maturity T i ≥ 0 (bondPortfolioValue at time 0) is the price of the schedule fixedFlows.

theoremMathFin.Rates.bondPriceDisc_eq_pricesource
∀ {ι : Type u_1} {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (Q : Measure Ω) [IsProbabilityMeasure Q] (n : ℕ) (w : ℕ → ℝ) (M : Market ι Ω) (y : ℝ) (t : ℕ → ℕ), (∀ (s : NNReal) (ω : Ω), M.numeraire s ω = (1 + y) ^ ⌊s⌋₊) → bondPriceDisc (Finset.range n) t w y = M.price Q (fixedFlows (fun i => ↑(t i)) w n)

The annually compounded price of a coupon bond is a market price. In any market with the numéraire (1 + y)^⌊t⌋, under any probability measure Q, the coupon bond at the annually compounded yield y (bondPriceDisc) is the price of its cash flows.

theoremMathFin.Rates.bondPortfolioValue_eq_pricesource
∀ {ι : Type u_1} {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (Q : Measure Ω) [IsProbabilityMeasure Q] (n : ℕ) (w T : ℕ → ℝ), (∀ (i : ℕ), 0 ≤ T i) → (∀ (M : Market ι Ω) (r : ℝ), (∀ (t : NNReal) (ω : Ω), M.numeraire t ω = Real.exp (r * ↑t)) → bondPortfolioValue (Finset.range n) w T 0 r = M.price Q (fixedFlows (fun i => (T i).toNNReal) w n)) ∧ ∀ (M : Market ι Ω) (y : ℝ) (t : ℕ → ℕ), (∀ (s : NNReal) (ω : Ω), M.numeraire s ω = (1 + y) ^ ⌊s⌋₊) → bondPriceDisc (Finset.range n) t w y = M.price Q (fixedFlows (fun i => ↑(t i)) w n)

The flat-rate value of a bond portfolio and the discrete price of a coupon bond are market prices (bondPortfolioValue_eq_price_exp, bondPriceDisc_eq_price): the two facts in one statement, one per numéraire, e^{rt} and (1 + y)^⌊t⌋.

theoremMathFin.Rates.bondPrice_exp_eq_zcbsource
∀ {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (Q : Measure Ω) [IsFiniteMeasure Q] (𝓕 : Filtration NNReal mΩ) (r : ℝ) (t T : NNReal), bondPrice Q 𝓕 (fun s x => Real.exp (-(r * ↑s))) t T = fun x => zcb r ↑t ↑T

Under a constant short rate the bond price is zcb: at the money-market discount factor D s = e^{−rs}, under any finite measure and any information, the price at t of one unit paid at T is zcb r t T = e^{−r(T−t)}, on either side of maturity.

theoremMathFin.Rates.priceAt_pay_eq_zcbsource
∀ {ι : Type u_1} {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (M : Market ι Ω) (Q : Measure Ω) [IsFiniteMeasure Q] {r : ℝ}, (∀ (t : NNReal) (ω : Ω), M.numeraire t ω = Real.exp (r * ↑t)) → ∀ (t T : NNReal), M.priceAt Q t (Contract.pay T (Payoff.const 1)) = fun x => zcb r ↑t ↑T

zcb is the market price of the zero-coupon bond: in any market whose numéraire is the money market e^{rt}, under any finite measure, the price at t of one unit paid at T is zcb r t T (Market.priceAt_pay_one_of_numeraire).

theoremMathFin.Rates.bondPriceKeyRate_eq_sum_bondPricesource
∀ {Ω : Type u_2} [mΩ : MeasurableSpace Ω] {κ : Type u_3} (Q : Measure Ω) [IsFiniteMeasure Q] (𝓕 : Filtration NNReal mΩ) (s : Finset κ) (t : κ → ℕ) (c k : κ → ℝ) (ω : Ω), bondPriceKeyRate s t c k = ∑ i ∈ s, c i * bondPrice Q 𝓕 (fun u x => ((1 + k i) ^ ⌊u⌋₊)⁻¹) 0 (↑(t i)) ω

The key-rate price is a sum of bond prices, one curve per cash flow: the key-rate price bondPriceKeyRate of the cash flows c i at the integer dates t i is ∑ c i · P(0, t i), where P is the bond price at the cash flow's own curve D u = (1 + k i)^{−⌊u⌋}, under any finite measure and any information. The identity holds for every k; the curve is a discount curve, so that P(0, t i) is a bond price, when k i > −1.

theoremMathFin.Rates.bondPriceDisc_eq_sum_bondPricesource
∀ {Ω : Type u_2} [mΩ : MeasurableSpace Ω] {κ : Type u_3} (Q : Measure Ω) [IsFiniteMeasure Q] (𝓕 : Filtration NNReal mΩ) (s : Finset κ) (t : κ → ℕ) (c : κ → ℝ) (y : ℝ) (ω : Ω), bondPriceDisc s t c y = ∑ i ∈ s, c i * bondPrice Q 𝓕 (fun u x => ((1 + y) ^ ⌊u⌋₊)⁻¹) 0 (↑(t i)) ω

A coupon bond is a sum of its zero-coupon bond prices: at the annually compounded yield y, the price bondPriceDisc of the cash flows c i at the integer dates t i is ∑ c i · P(0, t i) at the curve D u = (1 + y)^{−⌊u⌋}, the key-rate identity at the flat curve (bondPriceKeyRate_const). It holds for every y; the curve is a discount curve, so that P(0, t i) is a bond price, when y > −1.

theoremMathFin.Rates.price_immunization_first_ordersource
∀ {ι : Type u_1} {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (Q : Measure Ω) [IsProbabilityMeasure Q] (n m : ℕ) (wA TA wL TL : ℕ → ℝ), (∀ (i : ℕ), 0 ≤ TA i) → (∀ (i : ℕ), 0 ≤ TL i) → ∀ (M : ℝ → Market ι Ω), (∀ (r : ℝ) (t : NNReal) (ω : Ω), (M r).numeraire t ω = Real.exp (r * ↑t)) → ∀ (r : ℝ), bondPortfolioDur (Finset.range n) wA TA 0 r = bondPortfolioDur (Finset.range m) wL TL 0 r → HasDerivAt (fun r' => (M r').price Q (fixedFlows (fun i => (TA i).toNNReal) wA n) - (M r').price Q (fixedFlows (fun i => (TL i).toNNReal) wL m)) 0 r

First-order immunization, for market prices. Let M r be markets with the money market e^{rt} as numéraire, and let two zero-coupon portfolios (faces wA, wL, maturities TA, TL ≥ 0) have equal duration-weighted values at the rate r. Then the derivative in r of the difference of the market prices of their cash-flow schedules is zero at r (bondPortfolio_immunization_first_order, through bondPortfolioValue_eq_price).

theoremMathFin.Rates.sum_deriv_keyRate_eq_deriv_pricesource
∀ {ι : Type u_1} {Ω : Type u_2} [mΩ : MeasurableSpace Ω] (Q : Measure Ω) [IsProbabilityMeasure Q] (n : ℕ) (t : ℕ → ℕ) (c : ℕ → ℝ) (M : ℝ → Market ι Ω), (∀ (y : ℝ) (s : NNReal) (ω : Ω), (M y).numeraire s ω = (1 + y) ^ ⌊s⌋₊) → ∀ {y : ℝ}, 1 + y ≠ 0 → ∑ j ∈ Finset.range n, deriv (fun x => bondPriceKeyRate (Finset.range n) t c (Function.update (fun x => y) j x)) y = deriv (fun y' => (M y').price Q (fixedFlows (fun i => ↑(t i)) c n)) y

Key-rate durations, for market prices. Let M y be markets with the numéraire (1 + y)^⌊t⌋. At a flat curve y with 1 + y ≠ 0, the key-rate partial derivatives of the coupon bond with cash flows c at the integer dates t sum to the derivative in y of the market price of its cash-flow schedule (sum_deriv_keyRate_eq_deriv_bondPriceDisc, through bondPortfolioValue_eq_price).