The story takes place in a world of immortality where swords, laws, mysteries, mathematics and science are intertwined. The protagonist Miao Shuyao is actually a "living code" born of the "concrete rules" of the way of heaven. She has lived a life of 82 years but always records everything like a bystander, and longs for true free will in her heart. In a resonance event with the "Lv Wen Stone", she passively awakened the "Nine Transformations of Sword Spirit" system and embarked on the path of cultivating immortality in her old age. In the process of practicing, she got acquainted with "Shu Lao", an old monk who had spent his life studying "Zhou Tian Xing Dou Dayan Technique" but was stuck in a cognitive bottleneck, and "You Yan", a rebel who was born in the Nine Netherworld and tried to reconstruct the order of the abyss with mathematics. Miao Shuyao is gradually involved in three conflicts: first, the fateful showdown with the "time and space travelers", whose history of existence was erased due to her unconscious revision of the rules; second, the ideological battle with the extreme half-demon monk "Xue Yin", who regards all inherent order (including the rules of heaven) as a symbol of pure-blood oppression; third, the internal tear between her own identity of "incarnation of rules" and the pursuit of "free will". In the end, Miao Shuyao used the "Time Replay Mirror" to witness countless possibilities, and used the "Nine-turn Immortal Body" to bear the existential impact of cognitive evolution. Between the "origin of mathematics" and the "Nine Nether Core", she found a third way - she no longer sought to become a "human" or "god", but used the realm of "tong Xuan" to transform herself into a "bridge" connecting rules and chaos, logic and emotion, opening up a new cognitive frontier for the world of immortality.