Code tiding in prover
derive trivial cases