(declare-variable X String)
(declare-variable Y1 String)
(declare-variable Y2 String)
(declare-variable Z String)
(declare-variable M String)
(echo "before reset")
(assert (= Z (Concat X "gkhi" ) ) )
(assert (= Z (Concat Y1 Y2 ) ) )
(assert (= Z (Concat "abcd" M ) ) )
(check-sat)
(get-model)
And I got this error after adding a call to 'echo' (error .. invalid command argument, string expected")
Does this mean that this function is not supported in Z3-str?
Hi I was testing the following code
(declare-variable X String) (declare-variable Y1 String) (declare-variable Y2 String) (declare-variable Z String) (declare-variable M String)
(echo "before reset") (assert (= Z (Concat X "gkhi" ) ) ) (assert (= Z (Concat Y1 Y2 ) ) ) (assert (= Z (Concat "abcd" M ) ) )
(check-sat) (get-model)
And I got this error after adding a call to 'echo' (error .. invalid command argument, string expected") Does this mean that this function is not supported in Z3-str?
Thanks