Closed QGarchery closed 2 weeks ago
Done in #37, if I'm not mistaken. See, https://github.com/morpho-org/pre-liquidation/blob/98c5060b28860853c543a555b21ea8bb788b99fc/certora/specs/Reverts.spec#L132
Actually I'm talking about the other require-statement, where we want to show the equivalence ltv <= LLTV <=> borrowed <= collateralQuoted.wMulDown(LLTV)
Nice !
A similar proof, for the require (and it's comment) just next to it actually
The requires computation was changed in de168dd, so now this is exactly the same as in Morpho Blue. But we could still verify that this is equivalent to checking that
ltv <= LLTV
._Originally posted by @QGarchery in https://github.com/morpho-org/pre-liquidation/pull/77#discussion_r1788645020_