i have generated smt2 file read (parsed) z3 (4.3) via z3 java apis. know how make z3 start solve formulas in multiple scopes (push , pop). smt2 file contains list of push , pop commands.
i know can use solver.push() , solver.pop() that, issue here scopes generated in file , not using z3 internal apis make these formulas , scopes. need feed entire smt2 file z3 , perform multiple solving (only part need z3 apis). calling solver.check() method seems z3 ignores scopes in middle of smt2 file, , gives me model last (check-sat) command.
so there way of calling z3 apis (java) perform series of solving multiple scopes defined in existing smt2 file ?
any concrete examples appreciated.
no, there no way that. parser functions can read input file, ignore smt commands, i.e., output set of assertions, nothing else.
in use-case you're working files, recommended procedure pipe files z3, either directly providing filename or piping them stdin.
Comments
Post a Comment