# Impairment Loss

While we do not expect the stableswap’s asset will be less than its liability, once it happened it will result in trust crisis and even bank run. To cater for such scenario, if the system has become insolvent, the loss should be beared jointly by all liquidity providers.

Impairment loss `IL` is defined to be the shortfall of the system’s equilibrium coverage ratio `r∗` from 1, and is chargeable upon liquidity provider withdraws (where the system is insolvent). Mathematically,

$$
IL = \begin{cases} 0, & \text{if } r^\* \geq 1 \ 1-r^\*, & \text{otherwise} \end{cases}
$$


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hummus-exchange.gitbook.io/hummus-exchange/security/impairment-loss.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
