The continuously compounded interest rate is $r$. The current price of the underlying asset is $S(0)$ and the forward price with delivery time in 1 year is $F(0,1)$. Short selling of the stock requires a security deposit in the amount of $fS(0)$ for some $f \in (0,1)$. Assume that the security deposit incurs an interest $d$ that is compounded continuously. Prove there is an arbitrage opportunity if the following is satisfied.
$$ d > ln(e^r - \frac{e^rS(0)-F(0,1)}{fS(0)}) $$ My intuition is to simplify this inequality somehow to reflect a necessary and sufficient condition for an arbitrage opportunity. To do this, I think I need to set some of the quantities to the boundaries of their domains, but I don't know what they are.
I only know for sure $fS(0) \in (0,1)$ (please let me know if this is wrong!) can I assume $r >= 0$ and/or $d >= 0$?
Any other ideas on how to approach this problem?