Formalising exact arithmetic by