When "unless" is followed by sentence of real condition, is can be replaced by "if not"
e.g.
“You'll fail in French unless you work harder.”
“You'll fail in French if you don't work harder.”
But when "unless" is followed by sentence of unreal condition, the meaning of the sentence is contrary to that of a sentence using "if not"
e.g.
“They couldn’t afford to live in such an expensive apartment unless they were rich.”
”They couldn’t afford to live in such an expensive apartment if they were not rich."“I couldn’t have got to Slough in time unless I had had a helicopter."
"I couldn’t have got to Slough in time if I had not had a helicopter."
I am wondering whether my understanding is right.
Thank you very much!