Contrary to popular belief, recent studies have found that there are probably ways to regenerate brain matter.
Animal studies conducted at the National Institute on Aging Gerontology Research Center and the Johns Hopkins University School of Medicine, for example, have shown that both calorie restriction and intermittent fasting along with vitamin and mineral intake, increase resistance to disease, extend lifespan, and stimulate production of neurons from stem cells.
In addition, fasting has been shown to enhance synaptic elasticity, possibly increasing the ability for successful re-wiring following brain injury. These benefits appear to result from a cellular stress response, similar in concept to the greater muscular regeneration that results from the stress of regular exercise.
Additional research suggests that increasing time intervals between meals might be a better choice than chronic calorie restriction, because the resultant decline in sex hormones may adversely affect both sexual and brain performance. Sex steroid hormones testosterone and estrogen are positively impacted by an abundant food supply. In other words, you might get smarter that way, but it might adversely affect your fun in the bedroom, among other drawbacks.