1 (** Why3 driver for CVC5 1.0.0 with string support *)
3 prelude ";; produced by cvc5_strings.drv ;;"
7 import "smtlib-strings.gen"
12 remove prop lt_not_com
21 remove prop replaceall_empty1
22 remove prop not_contains_replaceall
28 syntax type re "RegLan"
30 syntax function to_re "(str.to_re %1)"
31 syntax predicate in_re "(str.in_re %1 %2)"
33 syntax function concat "(re.++ %1 %2)"
34 syntax function union "(re.union %1 %2)"
35 syntax function inter "(re.inter %1 %2)"
36 syntax function star "(re.* %1)"
37 syntax function plus "(re.+ %1)"
39 syntax function none "re.none"
40 syntax function allchar "re.allchar"
42 syntax function opt "(re.opt %1)"
43 syntax function range "(re.range %1 %2)"
44 syntax function power "((_ re.^ %1) %2)"
45 syntax function loop "((_ re.loop %1 %2) %3)"