From the digital twin to the cognitive mirror