simplifying WP using Z3