This question already has an answer here:
In around 2010, I remember watching an anime that was sort of based in the future after some type of explosion happened.
I think there was a green-haired girl robot thing named Sophie, and she stayed with a man named Ryo, who lost his daughter in the explosion.
It ended with the robot girl going into outer space to save everyone.
What is this anime?