Question: what is the difference between so and then?
Answer: When used as adverbs, so means to the (explicitly stated) extent that, whereas then means at that time. When used as adjectives, so means true, accurate, whereas then means being so at that time. So is also conjunction with the meaning: in order that.