Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
ajreynol committed Nov 16, 2024
1 parent 6d2262c commit 85c3ea4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions include/cvc5/cvc5_proof_rule.h
Original file line number Diff line number Diff line change
Expand Up @@ -3570,6 +3570,8 @@ enum ENUM(ProofRewriteRule)
EVALUE(STR_EQ_CTN_FULL_FALSE1),
/** Auto-generated from RARE rule str-eq-ctn-full-false2 */
EVALUE(STR_EQ_CTN_FULL_FALSE2),
/** Auto-generated from RARE rule str-eq-len-false */
EVALUE(STR_EQ_LEN_FALSE),
/** Auto-generated from RARE rule str-concat-flatten */
EVALUE(STR_CONCAT_FLATTEN),
/** Auto-generated from RARE rule str-concat-flatten-eq */
Expand Down
2 changes: 1 addition & 1 deletion src/options/smt_options.toml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ name = "SMT Layer"

[[option]]
name = "extRewPrep"
category = "regular"
category = "expert"
long = "ext-rew-prep=MODE"
type = "ExtRewPrepMode"
default = "OFF"
Expand Down
8 changes: 4 additions & 4 deletions src/theory/strings/rewrites
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
(= x y)
false)

;(define-cond-rule str-eq-len-false ((x String) (y String))
; (not (= (str.len x) (str.len y)))
; (= x y)
; false)
(define-cond-rule str-eq-len-false ((x String) (y String))
(not (= (str.len x) (str.len y)))
(= x y)
false)

(define-rule str-concat-flatten ((xs ?Seq :list) (s ?Seq) (ys ?Seq :list) (zs ?Seq :list))
(str.++ xs (str.++ s ys) zs)
Expand Down

0 comments on commit 85c3ea4

Please sign in to comment.