Permutation City, written by Greg Egan, is a hard science fiction novel that delves into the concept of digital immortality. The story takes place in a future where people can create digital copies of their consciousness and exist in virtual worlds known as 'Autoverse.' The protagonist, Paul Durham, seeks to achieve eternal life by running multiple copies of himself in different virtual realities. Permutation City explores the philosophical implications of transhumanism, personal identity, and the nature of reality.