MathFin
Map / Valuation · Credit / MathFin.Models.Credit.CVA

CVA under independent exposure (no wrong-way risk)

MathFin.Models.Credit.CVAMSC 91G40JEL G32JEL G33 source

Hull, Options, Futures, and Other Derivatives (CVA, in its credit-risk chapter). With exposure independent of the counterparty's default time, CVA is the CDS protection-leg integral of Bagaria eq. 16.2 with the discount curve P(0,·) replaced by D·EE:

CVA = LGD · E[D(τ) · V_τ⁺ · 1{τ ≤ T}] = LGD · ∫₀ᵀ D(s) · EE(s) · λ(s) · Q(s) ds,

EE(s) = E[V_s⁺] the expected positive exposure.

Independence uses the same two-factor product-space layout as MathFin.Cox.cox_mixing_survival (Models/Credit/Cox.lean), though not its mixing construction: the exposure lives on (Ω₁, ν), the default time on (Ω₂, μ), and the pricing measure is ν.prod μ, so τ is independent of the exposure by the product measure itself, with no mixing against the first factor's randomness. The Fubini step reduces the claim to the kernel MathFin.DefaultDensity.integral_indicator_Iic_eq with discount curve D · EE.

  • integral_exposure_eq — the general reduction (joint integrability hypothesized).
  • expectedExposure_gaussian — E[(m + σ√s·Z)⁺] = m·Φ(m/(σ√s)) + σ√s·φ(m/(σ√s)) for σ, s > 0, from bachelier_call_formula with the strike shifted to K = 1, S₀ = m + 1.
  • cva_gaussian — headline: Gaussian exposure, bounded D, m, σ, σ > 0: CVA as a one-dimensional time integral whose integrand (the expected exposure) is in closed form.
  • cva_one_eq_protectionLeg — the CVA of a unit exposure discounted at a flat rate r is the CDS protection leg Cox.protectionLeg (Bagaria eq. 16.2), for any default time whose CDF on [0, ∞) is 1 − Q (hypothesized, as above).
  • protectionLeg_eq_integral_coxDefaultTime — for the Cox default time constructed in Models/Credit/Cox.lean (a unit-exponential clock inverted through ∫₀ᵗ h), the protection leg is the expectation (1 − R)·E[e^{−rτ}·1{τ ≤ T}]; here the CDF is derived, not hypothesized.

Main definitions

  • expectedExposure: the expected positive exposure EE(s) = E_ν[V_s⁺].
  • cva: unilateral CVA on the product space, LGD · E[1{τ ≤ T} · D(τ) · V_τ⁺], with the exposure on the first factor and the default time on the second.

Main results

  • integral_exposure_eq: for exposure independent of a default time with continuous hazard h ≥ 0, E[1{τ ≤ T} D(τ) V_τ⁺] = ∫₀ᵀ D(s) · EE(s) · λ(s)Q(s) ds, for measurable D, jointly measurable V, T ≥ 0 and a joint-integrability hypothesis.
  • expectedExposure_of_hasLaw_gaussianReal: for V_s ~ N(m, v) with v > 0, EE(s) = m Φ(m/√v) + √v φ(m/√v), the same closed form read off the law.
  • expectedExposure_gaussian: for Z ~ N(0,1) and b, s > 0, E[(a + b√s·Z)⁺] = a·Φ(d) + b√s·φ(d) with d = a/(b√s).
  • cva_gaussian: CVA with Gaussian exposure V_s = m(s) + σ(s)√s·Z independent of the default time, for measurable bounded D, m, σ with σ > 0 and T ≥ 0; the value depends on V only through EE.
  • cva_one_eq_protectionLeg: the CVA of the constant unit exposure discounted by e^{−rs} equals Cox.protectionLeg R r h T.
  • protectionLeg_eq_integral_coxDefaultTime: for h continuous and positive with ∫₀ᵗ h → ∞, Cox.protectionLeg R r h T = (1 − R)·E[e^{−rτ}·1{τ ≤ T}] for the Cox default time τ.

References

  • J. C. Hull, Options, Futures, and Other Derivatives [Hull] (the credit-risk chapter: CVA).
  • S. Bagaria, Notes on Fixed Income Derivative Pricing [BagariaFIDP], ch. 16.
  • D. Lando, Credit Risk Modeling [Lando2004], ch. 5

Tags

credit valuation adjustment, expected exposure, counterparty risk, wrong-way risk, default time, CDS protection leg, Gaussian exposure, MSC 91G40, JEL G32, JEL G33

Import neighbourhood

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

Corpus entries

mf-cds-protection-leg-expectation · credit.json · full statement
The Cox CDS Protection Leg Is an Expectation Over the Default Time

For a continuous, strictly positive hazard h with ∫₀ᵗ h → ∞ and the Cox default time τ obtained by inverting a unit-exponential clock through ∫₀ᵗ h, the CDS protection leg (1 − R)∫₀ᵀ e^{−rs} h(s) e^{−∫₀ˢ h} ds equals (1 − R) E[e^{−rτ} 1{τ ≤ T}] for every T ≥ 0, recovery R and flat rate r.

mf-cva-gaussian-exposure · credit.json · full statement
CVA With Gaussian Exposure and No Wrong-Way Risk

For a default time τ whose CDF on [0, ∞) is 1 − exp(−∫₀ᵃ h) (h continuous, h ≥ 0; hypothesized, not constructed), independent of the exposure by a product measure, and exposure Vₛ = m(s) + σ(s)√s Z with one standard normal driver Z (m, σ, D measurable and bounded, σ > 0): CVA = LGD · E[1{τ ≤ T} D(τ) V_τ⁺] = LGD · ∫₀ᵀ D(s) [m(s)Φ(dₛ) + σ(s)√s φ(dₛ)] h(s) e^{−∫₀ˢ h} ds with dₛ = m(s)/(σ(s)√s). Only the marginal laws of Vₛ enter; no exposure dynamics are modelled.

mf-expected-exposure-gaussian-law · credit.json · full statement
Expected Exposure, Gaussian Closed Form at the Law

EE(s) = E[V_s⁺]. For V_s ~ N(m, v) with v > 0, EE(s) = m Φ(m/√v) + √v φ(m/√v), with φ the standard normal density. Only the law of V_s is assumed, not a representation of V_s.

Declarations 9

defMathFin.CVA.expectedExposuresource
{Ω₁ : Type u_1} → {m₁ : MeasurableSpace Ω₁} → (ℝ → Ω₁ → ℝ) → Measure Ω₁ → ℝ → ℝ

Expected positive exposure EE(s) = E_ν[V_s⁺].

defMathFin.CVA.cvasource
{Ω₁ : Type u_1} → {Ω₂ : Type u_2} → {m₁ : MeasurableSpace Ω₁} → {m₂ : MeasurableSpace Ω₂} → ℝ → (ℝ → ℝ) → (ℝ → Ω₁ → ℝ) → (Ω₂ → ℝ) → ℝ → Measure Ω₁ → Measure Ω₂ → ℝ

Unilateral CVA on the product space: LGD · E[1{τ ≤ T} · D(τ) · V_τ⁺], exposure on the first factor, default time on the second.

theoremMathFin.CVA.measurable_expectedExposuresource
∀ {Ω₁ : Type u_1} {m₁ : MeasurableSpace Ω₁} {ν : Measure Ω₁} [SFinite ν] {V : ℝ → Ω₁ → ℝ}, Measurable (Function.uncurry V) → Measurable (expectedExposure V ν)

EE is measurable in s when V is jointly measurable (Fubini measurability of the inner integral).

theoremMathFin.CVA.integral_exposure_eqsource
∀ {Ω₁ : Type u_1} {Ω₂ : Type u_2} {m₁ : MeasurableSpace Ω₁} {m₂ : MeasurableSpace Ω₂} {ν : Measure Ω₁} {μ : Measure Ω₂} [IsProbabilityMeasure ν] [IsProbabilityMeasure μ] {h : ℝ → ℝ}, Continuous h → (∀ (s : ℝ), 0 ≤ h s) → ∀ {τ : Ω₂ → ℝ}, Measurable τ → (∀ (a : ℝ), 0 ≤ a → μ {ω | τ ω ≤ a} = 1 - ENNReal.ofReal (hazardSurvival h a)) → ∀ {D : ℝ → ℝ}, Measurable D → ∀ {V : ℝ → Ω₁ → ℝ}, Measurable (Function.uncurry V) → ∀ {T : ℝ}, 0 ≤ T → Integrable (fun p => (Set.Iic T).indicator D (τ p.2) * max (V (τ p.2) p.1) 0) (ν.prod μ) → ∫ (p : Ω₁ × Ω₂), (Set.Iic T).indicator D (τ p.2) * max (V (τ p.2) p.1) 0 ∂ν.prod μ = ∫ (s : ℝ) in 0..T, D s * expectedExposure V ν s * defaultDensity h s

No-WWR reduction (Hull's CVA; the protection-leg kernel of Bagaria eq. 16.2): exposure independent of a default time with deterministic continuous hazard h ≥ 0 gives E[1{τ ≤ T} D(τ) V_τ⁺] = ∫₀ᵀ D(s) · EE(s) · λ(s)Q(s) ds, for measurable D, jointly measurable V, T ≥ 0, and the left integrand jointly integrable (hypothesis hint).

theoremMathFin.CVA.expectedExposure_gaussiansource
∀ {Ω₁ : Type u_1} {m₁ : MeasurableSpace Ω₁} {ν : Measure Ω₁} [IsProbabilityMeasure ν] {Z : Ω₁ → ℝ}, HasLaw Z (gaussianReal 0 1) ν → ∀ {a b s : ℝ}, 0 < b → 0 < s → ∫ (ω : Ω₁), max (a + b * √s * Z ω) 0 ∂ν = a * Phi (a / (b * √s)) + b * √s * gaussianPDFReal 0 1 (a / (b * √s))

Gaussian expected exposure: for Z ~ N(0,1), s > 0, b > 0, E[(a + b√s·Z)⁺] = a·Φ(d) + b√s·φ(d) with d = a/(b√s). The Bachelier call formula with strike K = 1 and spot a + 1, so no K > 0 restriction is lost.

theoremMathFin.CVA.expectedExposure_of_hasLaw_gaussianRealsource
∀ {Ω₁ : Type u_1} {m₁ : MeasurableSpace Ω₁} {ν : Measure Ω₁} {V : ℝ → Ω₁ → ℝ} {s m : ℝ} {v : NNReal}, HasLaw (V s) (gaussianReal m v) ν → 0 < v → expectedExposure V ν s = m * Phi (m / √↑v) + √↑v * gaussianPDFReal 0 1 (m / √↑v)

Gaussian expected exposure at the law: for V_s ~ N(m, v) with v > 0, EE(s) = m Φ(m/√v) + √v φ(m/√v). The law of V_s is that of m + √v Z for Z ~ N(0,1), so this is CVA.expectedExposure_gaussian at b = √v, s = 1, transported through the law.

theoremMathFin.CVA.cva_gaussiansource
∀ {Ω₁ : Type u_1} {Ω₂ : Type u_2} {m₁ : MeasurableSpace Ω₁} {m₂ : MeasurableSpace Ω₂} {ν : Measure Ω₁} {μ : Measure Ω₂} [IsProbabilityMeasure ν] [IsProbabilityMeasure μ] {h : ℝ → ℝ}, Continuous h → (∀ (s : ℝ), 0 ≤ h s) → ∀ {τ : Ω₂ → ℝ}, Measurable τ → (∀ (a : ℝ), 0 ≤ a → μ {ω | τ ω ≤ a} = 1 - ENNReal.ofReal (hazardSurvival h a)) → ∀ {D : ℝ → ℝ}, Measurable D → ∀ {C : ℝ}, (∀ (s : ℝ), |D s| ≤ C) → ∀ {m σ : ℝ → ℝ}, Measurable m → Measurable σ → ∀ {M S : ℝ}, (∀ (s : ℝ), |m s| ≤ M) → (∀ (s : ℝ), 0 < σ s) → (∀ (s : ℝ), σ s ≤ S) → ∀ {Z : Ω₁ → ℝ}, Measurable Z → HasLaw Z (gaussianReal 0 1) ν → ∀ (LGD : ℝ) {T : ℝ}, 0 ≤ T → cva LGD D (fun s ω => m s + σ s * √s * Z ω) τ T ν μ = LGD * ∫ (s : ℝ) in 0..T, D s * (m s * Phi (m s / (σ s * √s)) + σ s * √s * gaussianPDFReal 0 1 (m s / (σ s * √s))) * defaultDensity h s

CVA with Gaussian exposure, no wrong-way risk (Hull's CVA; the protection-leg kernel of Bagaria eq. 16.2). Exposure V_s = m(s) + σ(s)√s·Z, Z ~ N(0,1) on the exposure factor, independent (product measure) of a default time with continuous hazard h ≥ 0; D, m, σ measurable and bounded, σ > 0, T ≥ 0. By integral_exposure_eq a CVA under independence depends on V only through EE(s), so only the marginal laws V_s ~ N(m(s), σ(s)²s) enter it and one driver Z for all s loses nothing for this value; no exposure dynamics are modelled. Then

CVA = LGD · ∫₀ᵀ D(s) · [m(s)Φ(d_s) + σ(s)√s·φ(d_s)] · λ(s)Q(s) ds, d_s = m(s)/(σ(s)√s).

used by 1: dva_gaussian
theoremMathFin.CVA.cva_one_eq_protectionLegsource
∀ {Ω₁ : Type u_1} {Ω₂ : Type u_2} {m₁ : MeasurableSpace Ω₁} {m₂ : MeasurableSpace Ω₂} {ν : Measure Ω₁} {μ : Measure Ω₂} [IsProbabilityMeasure ν] [IsFiniteMeasure μ] {h : ℝ → ℝ}, Continuous h → (∀ (s : ℝ), 0 ≤ h s) → ∀ {τ : Ω₂ → ℝ}, AEMeasurable τ μ → (∀ (a : ℝ), 0 ≤ a → μ {ω | τ ω ≤ a} = 1 - ENNReal.ofReal (hazardSurvival h a)) → ∀ (R r : ℝ) {T : ℝ}, 0 ≤ T → cva (1 - R) (fun s => Real.exp (-(r * s))) (fun x x_1 => 1) τ T ν μ = protectionLeg R r h T

The protection leg is the CVA of a unit exposure. For a default time τ with continuous hazard h ≥ 0 (CDF 1 − Q on [0, ∞), hypothesized), recovery R, flat rate r and T ≥ 0, the CVA of the constant exposure V ≡ 1 discounted by e^{−rs} is (1 − R)·E[e^{−rτ}·1{τ ≤ T}] = (1 − R)·∫₀ᵀ e^{−rs} h(s) Q(s) ds = Cox.protectionLeg R r h T.

theoremMathFin.CVA.protectionLeg_eq_integral_coxDefaultTimesource
∀ {Ω₂ : Type u_2} {m₂ : MeasurableSpace Ω₂} {μ : Measure Ω₂} [IsFiniteMeasure μ] {h : ℝ → ℝ}, Continuous h → (∀ (s : ℝ), 0 < h s) → Filter.Tendsto (cumHazard h) Filter.atTop Filter.atTop → ∀ {ξ : Ω₂ → ℝ}, Measurable ξ → Measure.map ξ μ = expMeasure 1 → ∀ (R r : ℝ) {T : ℝ}, 0 ≤ T → protectionLeg R r h T = (1 - R) * ∫ (ω : Ω₂), (Set.Iic T).indicator (fun s => Real.exp (-(r * s))) (coxDefaultTime h ξ ω) ∂μ

The Cox protection leg is an expectation over the constructed default time. For h continuous and positive with ∫₀ᵗ h → ∞, ξ a unit-exponential clock and τ = Cox.coxDefaultTime h ξ (the clock inverted through ∫₀ᵗ h), the CDS protection leg (1 − R)·∫₀ᵀ e^{−rs} h(s) e^{−∫₀ˢ h} ds (Cox.protectionLeg) equals (1 − R)·E[e^{−rτ}·1{τ ≤ T}] for T ≥ 0. The CDF of τ is Cox.cox_cdf_timeVarying and its measurability is Cox.measurable_coxDefaultTime.