Math-minded researchers are attempting to distill the mind of the world's greatest investor. Even if they fall short of replicating Warren Buffett's craft—and they will—there are good lessons here about what it takes to beat the market.