Splitting of coherent idempotents

An answer to a question of Martin Escardo.
Any particular reason this is a proof script rather than a proof term?