well it was formulated by decartes in his meditations..
he just states that there may be some evil genius who is capable of creating or simulating a world in which he lives and is therefore not real at all. it's identical to his dream world