soundness proof for specialisation of expressions