Brain, Mind, and the Structure of Reality