With no ethical constraints and genuinely unlimited time? Easy, just enumerate the effect of all possible 2^(10^14) ways that synapses in a human brain can be selectively disabled, and see what happens.
Faster than that? Aye, there's the rub. Because that is a silly number.