During the Jingyun era of the Tang Dynasty, Shen Yan, a country doctor, possessed the limited ability to simulate outcomes.
He could run a simulation for anything, from diagnosing an illness and solving a case to surveying a disaster. But this strange art came at a heavy price: every calculation caused inexplicable distortions to appear in the world around him.
Shen Yan had no desire to seek fame or fortune. He only wanted to look after a small medical hut and quietly treat and save people. But an epidemic struck, powerful clans made things difficult for him, the authorities grew suspicious, and trouble kept coming to his door.
With his medical skills and restrained use of simulations, he resolved one crisis after another, only to be pushed all the way to the court in Chang'an.
When his computational power touched the world's underlying laws, a truth capable of turning everything upside down slowly surfaced.