derlying rock, or clay, or some other firm base, he begins by digging out a set of trenches from which he removes the sand, and anything resting on or mixed in with the sand, so that he can lay his foundations on firm soil. In the same way, I began by taking everything that was doubtful and throwing it out, like sand ... (Replies 7, AT 7:537)’ (Lex, Newman)”. This explains how foundationalism works; you must remove all of your doubt to advance to the foundationtion of which you are sure of. This is called the method of doubt. Once you know what you are sure of, you can build up knowledge from there. Many wonder how we can wonder we are not dreaming. Some agree that you cannot feel pain in a dream, but others say they have. The argument that dreams are not related to memory is strong because most people do not remember their dreams. Descartes explains that in a dream you can feel as if you are using all of your senses, but they seem to be more vague than when awake. Descartes struggles with the dream issue until he comes upon his conclusion. “’I now notice that there is a vast difference between [being asleep and being awake], in that dreams are never linked by memory with all the other actions of life as waking experiences are. ... But when I distinctly see where things come from and where and when they come to me, and when I can connect my perceptions of them with the whole of the rest of my life without a break, then I am quite certain that when I encounter these things I am not asleep but awake. (Med. 6, AT 7:89-90)’ (Lex, Newman)” This dream argument attributes to how we can know anything. For Neo’s sake it helps him decide weather he is really in the matrix or not.In addition to foundationalism proving that knowledge is built up from what we are certain of, idealism plays an important role of arguing that all reality is in the mind. Descartes’ argument for idealism explain...