refactored z3 synthesis again to produce many relations