If a post is all together deleted...

Ah. No, that number stays the same. It renumbers the thread, but the post id is unique and fixed.