Permutation City is a science fiction novel written by Greg Egan. The story is set in a future where people can create digital copies of themselves, known as 'copies,' and exist in virtual realities called 'Autoverse.' The narrative follows Paul Durham, a man who wants to create a perfect copy of himself in the Autoverse. As he delves deeper into the complexities of digital existence, Paul discovers the philosophical and ethical implications of his actions. Permutation City is a mind-bending exploration of identity, consciousness, and the nature of reality in a world where digital immortality is possible.