MathFin
Map / Risk · Credit portfolio risk / MathFin.Markets.DeFi.LiquidationAsStructuralDefault

Lending-protocol liquidation as Merton structural default

MathFin.Markets.DeFi.LiquidationAsStructuralDefaultMSC 91G40MSC 91G80JEL G33 source

A collateralised loan in a lending protocol is liquidatable once the collateral value falls below a multiple of the debt: a Dai vault once collateral / debt < LR (Dai.isLiquidatable), an Aave position once its health factor collateral · LT / debt drops below 1. With the collateral value lognormal and the debt fixed, "liquidatable at the horizon T" is exactly Merton's (1974) default event V_T < F with default barrier F = LR · debt, respectively F = debt / LT. Its probability is the library's KMV default probability kmvPD = Φ(−d₂) (Models/Credit/KMVMerton.lean).

The lognormal hypothesis is the library's BSCallHyp Q C₀ F μ σ T Z: Z is standard normal under Q and the collateral value at T is bsTerminal C₀ μ σ T (Z ·). Its rate slot μ is used as the collateral's drift, so Q may be the physical measure (drift μ) or the risk-neutral one (μ = r). The strike slot carries the barrier.

Main results

  • prob_bsTerminal_lt_eq_kmvPD: Q(S_T < K) = kmvPD S₀ K μ σ T = Φ(−d₂).
  • prob_isLiquidatable_eq_kmvPD: the probability that a Dai vault is liquidatable at T.
  • prob_healthFactorV1_lt_one_eq_kmvPD: the probability that an Aave single-asset health factor is below 1 at T.

Scope

The event is checked at the single date T. Protocols liquidate at the first time the threshold is crossed, a first-passage event before T whose probability this file does not compute. The debt is a fixed number at T (accrue it first, e.g. with Dai.debt_mul_zcb_log_eq); only one collateral asset is risky.

References

  • Aave, Aave Protocol V2 whitepaper [Aave2020], §5
  • R. C. Merton, On the pricing of corporate debt: the risk structure of interest rates [Merton1974]

Tags

Merton structural model, default probability, DeFi lending, liquidation, health factor, KMV, MSC 91G40, MSC 91G80, JEL G33

Import neighbourhood

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

Corpus entries

mf-aave-health-factor-terminal-liquidation-probability · defi.json · full statement
Aave Health-Factor Liquidation Probability at a Horizon

If the collateral value at T is lognormal, C_T = C_0 * exp((mu - sigma^2/2) T + sigma sqrt(T) Z) with Z standard normal (BSCallHyp, rate slot read as the drift mu), and the liquidation threshold LT > 0 and the total debt borrows + fees > 0 are fixed, then the probability that the Aave single-asset health factor C_T * LT / (borrows + fees) is below 1 at T equals the Merton/KMV default probability kmvPD = Phi(-d2) with default barrier (borrows + fees) / LT. A check at the single date T: the probability of a first passage below the threshold before T is not derived; one risky collateral asset.

Declarations 3

theoremMathFin.prob_bsTerminal_lt_eq_kmvPDsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {S_0 K μ σ T : ℝ} {Z : Ω → ℝ}, BSCallHyp Q S_0 K μ σ T Z → (Q {ω | bsTerminal S_0 μ σ T (Z ω) < K}).toReal = kmvPD S_0 K μ σ T

The lognormal shortfall probability is the Merton–KMV default probability: under BSCallHyp, Q(S_T < K) = kmvPD S₀ K μ σ T = Φ(−d₂). The strict and non-strict events have the same probability because the standard normal law has no atoms.

theoremMathFin.prob_isLiquidatable_eq_kmvPDsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {C_0 D LR μ σ T : ℝ} {Z : Ω → ℝ}, 0 < D → BSCallHyp Q C_0 (LR * D) μ σ T Z → (Q {ω | isLiquidatable (bsTerminal C_0 μ σ T (Z ω)) D LR}).toReal = kmvPD C_0 (LR * D) μ σ T

Probability that a Dai vault is liquidatable at the horizon. With collateral value bsTerminal C₀ μ σ T (Z ·) (lognormal, BSCallHyp), debt D > 0 at T and liquidation ratio LR, the probability that collateral / debt < LR at T is the Merton–KMV default probability with barrier LR · D: Φ(−d₂(C₀, LR·D, μ, σ, T)). A check at T only, not the first passage before T.

theoremMathFin.prob_healthFactorV1_lt_one_eq_kmvPDsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {C_0 LT B F μ σ T : ℝ} {Z : Ω → ℝ}, 0 < B + F → 0 < LT → BSCallHyp Q C_0 ((B + F) / LT) μ σ T Z → (Q {ω | healthFactorV1 (bsTerminal C_0 μ σ T (Z ω)) LT B F < 1}).toReal = kmvPD C_0 ((B + F) / LT) μ σ T

Probability that an Aave health factor is below 1 at the horizon. With collateral value bsTerminal C₀ μ σ T (Z ·) (lognormal, BSCallHyp), liquidation threshold LT > 0 and total debt B + F > 0 at T, the probability that healthFactorV1 < 1 (the whitepaper's liquidation criterion) is the Merton–KMV default probability with barrier (B + F) / LT. A check at T only, not the first passage before T.