Skip to content

Issues related to options in smt module #7344

Closed
@r0ayane

Description

@r0ayane

Hi, z3 gives unsat for the following instance.

$ cat test.smt
(set-option :smt.phase_selection 1)
(set-option :smt.arith.propagate_eqs false)
(set-option :smt.arith.eager_eq_axioms false)
(declare-fun i1 () Int)
(declare-fun str1 () String)
(assert (<= 32 (str.len str1)))
(minimize i1)
(check-sat)
$ z3 test.smt
unsat

However, z3 gives sat for the same instance without options.

$ cat no-options.smt
(declare-fun i1 () Int)
(declare-fun str1 () String)
(assert (<= 32 (str.len str1)))
(minimize i1)
(check-sat)
$ z3 no-options.smt
sat

Version: z3 4.13.0 3049f57

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions