Hi! I have noticed that the current version of Rosette is not compatible with z3 4.8.12-3.1 package shipped in debian (stable) bookworm.
Specifically, Rosette SMT decoder is unable to recognize 'mod and 'div symbols returned by the z3 solver when using modulo arithmetic on symbolic terms.
(modulo (<some-symbolic-value>) 100)
Unrecognized symbol: 'mod
The log trace refers to failure to decode z3 output:
racket/8.7/pkgs/rosette/rosette/solver/smt/dec.rkt:99:2: inline
racket/8.7/pkgs/rosette/rosette/solver/smt/dec.rkt:25:0: decode-model
racket/8.7/pkgs/rosette/rosette/solver/smt/cmd.rkt:62:0: decode
racket/8.7/pkgs/rosette/rosette/solver/smt/base-solver.rkt:95:0: solver-check
racket/8.7/pkgs/rosette/rosette/query/core.rkt:27:0: ∃-solve
Hi! I have noticed that the current version of Rosette is not compatible with z3 4.8.12-3.1 package shipped in debian (stable) bookworm.
Specifically, Rosette SMT decoder is unable to recognize
'modand'divsymbols returned by the z3 solver when using modulo arithmetic on symbolic terms.The log trace refers to failure to decode z3 output: