Verification: Automatic generation of Z3 specification