The professor is not a real person, he is character of the book Hilde's father wrote for her birthday. Sophie is also a figure in that book. She is not going to go anywhere. At the very end of the book, you experience that the characters find that out and they live forever and stay where theyt are, how they are.
I would strongly recomment you to read the book.I am actually not the kind of person who encourages cheating. Today is your lucky day.