sentence1: Pérès was professor of mathematics and physics at the University of Lyon , finally a government attorney and later librarian at Agen .
sentence2: Pérès was professor of mathematics and physics at the University of Lyon , later attorney at law and finally a librarian in Agen .