Skip to content

(ext-rew-prep, ext-rew-prep-agg) Fatal failure at src/theory/quantifiers/extended_rewrite.cpp:229  #6545

@zhendongsu

Description

@zhendongsu

Commit: f1a65be
OS: Ubuntu 18.04

[515] % cvc5 -q --ext-rew-prep --ext-rew-prep-agg small.smt2
Fatal failure within cvc5::Node cvc5::theory::quantifiers::ExtendedRewriter::extendedRewrite(cvc5::Node) at /local/suz-local/software/CVC4/src/theory/quantifiers/extended_rewrite.cpp:229
Check failure

 new_ret.isNull() || new_ret != ret

Aborted
[516] % 
[516] % cat small.smt2
(declare-fun a () String)
(assert
 (str.contains ""
  (str.replace_all ""
   (str.substr a 1
    (str.to_int
     (str.substr
      (str.substr a 0
       (ite (= (str.len (str.substr a 2 1)) 1)
        (ite (< (str.len a) 0)
         (ite (= (str.len (str.substr (str.substr a 2 1) (str.len (str.substr a 1 1)) 2)) 1) 1 0)
         (- 1))
        0))
      0 2)))
   a)))
(check-sat)
[517] % 

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