Skip to content

Instantly share code, notes, and snippets.

View chan4est's full-sized avatar

Chandler Forrest chan4est

View GitHub Profile
@chan4est
chan4est / cvc4_string_errors_03.smt2
Created October 15, 2018 18:23
Symbol 'abs' not declared as a variable
(set-logic QF_S)
(declare-const str_a String)
(declare-const int_b Int)
(declare-const int_c Int)
(declare-const str_d String)
(assert (=
(str.++
(str.++
str_d
str_a)
@chan4est
chan4est / cvc4_string_errors_02.smt2
Created October 15, 2018 18:14
'div' not declared and re.loop isn't working. probably because regex isn't in CVC4 :(
(set-logic QF_S)
(declare-const str_a String)
(declare-const str_b String)
(declare-const str_c String)
(assert (=
(str.len str_c)
0))
(assert (=
(str.len str_c)
2))