Machine-checked computer-aided mathematics