I've heard a sentence like this:
"I had to go to the doctor" for an obligation in the past.
I would have expected:
"I hadn't to go to the doctor" for the negative form, but I heard:
"I haven't had to ...
Can "You mustn't have done that" have a similar meaning to "You shouldn't have done that" / "You were not supposed to do it (but you did)"?
(not logical probability but obligation)
Since we have the ...