Map / Valuation · Credit
Valuation · Credit
structural and intensity models of default, CDS, counterparty valuation
13
modules
128
declarations
22
corpus entries · 22 full
Module graph
An arrow runs from a module to one that imports it (implied imports omitted). Hover for a module's title, click to open it.
Modules
Credit
CDS fair spread under time-varying hazard (first-principles)
The pre-existing Models/Credit/Credit.lean derives the CDS fair spread c = h · (1 − R) for constant hazard h via the cds_leg_equality identity.
MathFin.Models.Credit.CDSTimeVarying
2 declarations
CVA under independent exposure (no wrong-way risk)
Hull, Options, Futures, and Other Derivatives (CVA, in its credit-risk chapter).
MathFin.Models.Credit.CVA
9 declarations · 3 corpus entries
Cox-intensity credit: survival, default density, CDS legs and fair spread
The Cox construction of a default time, for a deterministic intensity: for h continuous and strictly positive on all of ℝ, with Λ = cumHazard h → ∞, the time obtained by inverting a unit-exponential clock through Λ…
MathFin.Models.Credit.Cox
34 declarations
Reduced-form credit risk under constant hazard rate
The simplest credit-risk model assumes a constant hazard (default-intensity) rate h ≥ 0.
MathFin.Models.Credit.Credit
8 declarations · 5 corpus entries
DVA as a CVA mirror
Debt valuation adjustment is the counterparty's expected loss on the bank's own default, a gain to the bank: CVA.cva applied to the bank's own default time and hazard and to the exposure seen from the bank's side, -V.
MathFin.Models.Credit.DVA
6 declarations · 2 corpus entries
The default-time density of a deterministic hazard curve
Bagaria ch.
MathFin.Models.Credit.DefaultDensity
14 declarations
The credit default swap priced against a default time
Contracts/Instruments/Credit.lean writes the CDS on a payment grid as a contract that observes the default indicator N u = 1{τ ≤ u}.
MathFin.Models.Credit.DefaultTime
20 declarations · 3 corpus entries
The CDS on a payment grid converges to the continuous legs
Models/Credit/DefaultTime.lean prices the CDS on a payment grid against a default time: the legs are the grid annuity ∑ D(tᵢ₊₁)(tᵢ₊₁ − tᵢ) S(tᵢ₊₁) and the grid losses ∑ D(tᵢ₊₁)(S tᵢ − S tᵢ₊₁).
MathFin.Models.Credit.DefaultTimeMesh
11 declarations · 3 corpus entries
First-to-default: the basket intensity is the sum of single-name intensities
In the reduced-form (intensity-based) credit model, each name i in a basket defaults at an exponential time τ_i ∼ Exp(rates i) — the constant-hazard survival law derived in Probability/Jumps/PoissonInterarrival.lean…
MathFin.Models.Credit.FirstToDefault
2 declarations · 1 corpus entries
Time-varying hazard credit curve
Extension of Credit.lean to a deterministic time-varying hazard h : ℝ → ℝ.
MathFin.Models.Credit.HazardCurve
8 declarations · 2 corpus entries
KMV-Merton structural credit (as a Garman-form specialisation)
In the Merton (1974) / KMV structural credit-risk model, the firm's asset value V_t follows the same lognormal dynamics as a Black-Scholes asset, and default occurs at maturity T if V_T < F (face debt).
MathFin.Models.Credit.KMVMerton
7 declarations
KMV-Merton structural model: probabilistic content of `kmvPD`
The pre-existing Models/Credit/KMVMerton.lean defines kmvPD := Phi(−kmvDD) and proves the algebraic survival identity 1 − kmvPD = Phi(kmvDD).
MathFin.Models.Credit.KMVMertonStructural
2 declarations · 2 corpus entries
Merton's structural model as a market
Merton's firm has assets V following the Black–Scholes market (BlackScholes.market: V is the traded asset, the money market e^{rt} the numéraire) and zero-coupon debt of face F due at T.
MathFin.Models.Credit.MertonMarket
5 declarations · 1 corpus entries