Skip to content

(ext-rewrite-quant, full-saturate-quant) refutation unsoundness on string formula  #6654

@zhendongsu

Description

@zhendongsu

Commit: 172573d
OS: Ubuntu 18.04

[598] % cvc5 -q --strings-exp small.smt2
sat
[599] % cvc5 -q --strings-exp --ext-rewrite-quant --full-saturate-quant small.smt2
unsat
[600] % cat small.smt2
(declare-fun a () String)
(declare-fun b () String)
(assert (= b (str.replace_re a (str.to_re "A") "A")))
(assert (not (str.prefixof (str.++ b b) a)))
(check-sat)
[601] % 

Metadata

Metadata

Assignees

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