A_n(c, r, Δt) = c·e^{-rΔt}·(1 - e^{-nrΔt})/(1 - e^{-rΔt}), the standard annuity present-value formula derived from the geometric series identity.
ℕ → ℝ → ℝ → ℝ → ℝ
Annuity value over n periods of length Δt, coupon c, rate r.
Extensions of the deterministic-short-rate framework in ZCB.lean:
A_n(c, r, Δt) = c · e^{-rΔt} · (1 − x^n) / (1 − x), with x = e^{-rΔt}. Standard geometric-series identity.f(t, T) = -∂_T log B(t, T) = r when B(t, T) = e^{-r(T - t)}. Under a flat curve the instantaneous forward rate equals the spot rate at every horizon.r: for positive coupons paid at future times, the bond price is a strictly decreasing function of the yield, giving the standard YTM-uniqueness property at the parameter-monotonicity level.annuityValue: the value of an annuity over n periods of length Δt with coupon c at rate r.annuityValue, annuityValue_closed_form: definition and geometric-series closed form.annuityValue_succ_mul_exp_sub: one period of an annuity's value, A_{m+1}·e^{rΔt} - A = A_m.hasDerivAt_neg_log_zcb_T: -∂_T log B(t, T) = r (forward = spot under flat curve).couponBondPrice_strictAnti: bond price strictly decreasing in r, for positive coupons at future times.annuity, coupon bond, yield to maturity, flat curve, forward rate, geometric series, present value, MSC 91G30, JEL G12
Above: what it imports. Below: what imports it.
A_n(c, r, Δt) = c·e^{-rΔt}·(1 - e^{-nrΔt})/(1 - e^{-rΔt}), the standard annuity present-value formula derived from the geometric series identity.
Under a constant short rate r, the instantaneous forward rate f(t, T) = -∂_T log B(t, T) equals r at every horizon. ZCB compatibility.
For a coupon bond with strictly positive coupons paid at strictly future times, the price is a strictly decreasing function of the yield. Establishes YTM uniqueness at the parameter-monotonicity level.
ℕ → ℝ → ℝ → ℝ → ℝ
Annuity value over n periods of length Δt, coupon c, rate r.
∀ (n : ℕ) (c r Δt : ℝ), Real.exp (-(r * Δt)) ≠ 1 → annuityValue n c r Δt = c * Real.exp (-(r * Δt)) * (1 - Real.exp (-(r * Δt)) ^ n) / (1 - Real.exp (-(r * Δt)))
Annuity closed form via the geometric-series identity: A_n(c, r, Δt) = c · e^{-rΔt} · (1 − x^n) / (1 − x), with x = e^{-rΔt}.
∀ (m : ℕ) (A r Δt : ℝ), annuityValue (m + 1) A r Δt * Real.exp (r * Δt) - A = annuityValue m A r Δt
One period of an annuity: carrying the value of m + 1 payments forward one period and paying the first leaves the value of the other m, A_{m+1}·e^{rΔt} - A = A_m.
∀ (r t T : ℝ), HasDerivAt (fun T' => -Real.log (zcb r t T')) r T
Forward = spot under a flat curve: under a constant short rate r, the instantaneous forward rate -∂_T log B(t, T) equals r at every horizon.
∀ {ι : Type u_1} (s : Finset ι) (c T : ι → ℝ) (t : ℝ), (∀ i ∈ s, 0 < c i) → (∀ i ∈ s, t < T i) → s.Nonempty → StrictAnti fun r => ∑ i ∈ s, c i * Real.exp (-(r * (T i - t)))Coupon bond strict-monotonicity in r at a fixed cash-flow schedule: if all coupons are positive and all payment times are strictly in the future, the bond price is strictly decreasing in the yield. This is the parameter form of the YTM-uniqueness property — any positive price corresponds to at most one yield.