You seem to be forgetting that it is not up to the defendant to prove they didn't do something, it is up to the prosecution to prove they did.