exercises on constructive ordinals (thanks to Martin Escardo)