After some reading [1] I found out that electrophilic ketones are better than valproic acid as histone deacetylase inhibitors. Maybe this is the source of the enhanced state-of-mind that people on a keto diet [2] report (me currently, reporting in).
1 - https://en.wikipedia.org/wiki/Histone_deacetylase_inhibitor#...