Yes, Z3 can help you achieve this. You can use the check() method to check satisfiability and the simplify() function to simplify constraints after each assignment.