i found on my grammar the Must, Can’t Structure, and sometimes they are followed by the past participle and sometimes by the gerund, without explain why. For example:
“Jane walked past me without speaking. She can’t have seen me”
“Tom walked straight into a wall. He can’t have been looking where he was going”
So, why in this case we use differently past participle and gerund?