Add 'let' statement and extend proofs