After a time he gave up his post at Bologna, and occupied himself for the next two or three years at Padua, where he had a friend in Domenico Guglielmini (1655–1710), professor of medicine, but better-known as a writer on physics and mathematics, whose works he afterwards edited (1719) with a biography.