Consciousness as Recursive Structure: A Formal Theory of Selfhood, Time, and Perception — LessWrong