The credit event is observed through the default indicator process N u = 1{τ ≤ u}, the single underlying () of the scenario (Models/Credit/DefaultTime.lean supplies it from a default time τ). N enters [1, ∞) exactly at τ, and Contract.payAtHit pays at the first time an observed underlying enters a set, so a payment at the default time is a contract:
- the protection leg paid at the default time pays the loss
1 − R at τ if τ ≤ T (cdsProtectionAtDefault), the contract whose value under the Cox default time, at a flat rate, is Cox.protectionLeg.
The tower otherwise pays at fixed dates, so the CDS is also written on a payment grid t 0 ≤ t 1 ≤ … ≤ t n:
- the premium leg pays the spread
s on each accrual period [tᵢ, tᵢ₊₁] if the name has survived to the payment date, s · (tᵢ₊₁ − tᵢ) · (1 − N tᵢ₊₁) at tᵢ₊₁ (cdsPremiumLeg); no premium accrued between the last payment and a default is paid; - the protection leg pays the loss
1 − R at the end of the period in which default happens, (1 − R) · (N tᵢ₊₁ − N tᵢ) at tᵢ₊₁ (cdsProtectionLeg); - the protection buyer receives the protection leg and pays the premium leg (
cdsBuyer).
The grid legs are payFlows, so their path value is a finite sum (pathPV_cdsPremiumLeg, pathPV_cdsProtectionLeg). Default is paid at the end of its period, not at τ: the grid protection leg is the discretisation of cdsProtectionAtDefault (Models/Credit/DefaultTimeMesh.lean proves the limit). There is no continuous premium stream in the tower, so the premium leg exists only on the grid.
Main definitions
cdsProtectionAtDefault, cdsPremiumLeg, cdsProtectionLeg, cdsBuyer.
Main results
pathPV_cdsPremiumLeg, pathPV_cdsProtectionLeg.
Tags
credit default swap, CDS premium leg, protection leg, default indicator, accrual grid, MSC 91G40, JEL G12, JEL G33