He held the Johann Bernoulli Chair of Mathematics and Informatics at the University of Groningen in the Netherlands , and the Toshiba Endowed Chair at the Tokyo Institute of Technology in Japan before becoming Professor at Cambridge .