using tactic instead of solver.check based on this link: http://stackoverflow.com/questions/25100239/performance-about-the-check-in-z3-for-java