|
|
|
@ -109,177 +109,6 @@ let%test_module _ =
|
|
|
|
|
(Sized (seq (Var (id 2) (name b))) (siz (Z 4)))))))|} ;
|
|
|
|
|
[%expect {| |}]
|
|
|
|
|
|
|
|
|
|
let%expect_test _ =
|
|
|
|
|
replay
|
|
|
|
|
{|(Union
|
|
|
|
|
((Var (id 1) (name a)) (Var (id 2) (name a)) (Var (id 3) (name a))
|
|
|
|
|
(Var (id 6) (name l)) (Var (id 7) (name a1)))
|
|
|
|
|
((xs ()) (sat true)
|
|
|
|
|
(rep
|
|
|
|
|
(((Var (id 7) (name a1)) (Var (id 2) (name a)))
|
|
|
|
|
((Var (id 2) (name a)) (Var (id 2) (name a)))))
|
|
|
|
|
(cls (((Var (id 2) (name a)) ((Var (id 7) (name a1)))))) (use ())
|
|
|
|
|
(pnd ()))
|
|
|
|
|
((xs ()) (sat true)
|
|
|
|
|
(rep
|
|
|
|
|
(((Var (id 7) (name a1)) (Var (id 7) (name a1)))
|
|
|
|
|
((Var (id 3) (name a))
|
|
|
|
|
(Concat
|
|
|
|
|
((Sized (seq (Var (id 1) (name a))) (siz (Z 8)))
|
|
|
|
|
(Sized (seq (Var (id 7) (name a1))) (siz (Z 8))))))
|
|
|
|
|
((Var (id 1) (name a)) (Var (id 1) (name a)))))
|
|
|
|
|
(cls
|
|
|
|
|
(((Concat
|
|
|
|
|
((Sized (seq (Var (id 1) (name a))) (siz (Z 8)))
|
|
|
|
|
(Sized (seq (Var (id 7) (name a1))) (siz (Z 8)))))
|
|
|
|
|
((Var (id 3) (name a))))))
|
|
|
|
|
(use
|
|
|
|
|
(((Var (id 7) (name a1))
|
|
|
|
|
((Concat
|
|
|
|
|
((Sized (seq (Var (id 1) (name a))) (siz (Z 8)))
|
|
|
|
|
(Sized (seq (Var (id 7) (name a1))) (siz (Z 8)))))))
|
|
|
|
|
((Var (id 1) (name a))
|
|
|
|
|
((Concat
|
|
|
|
|
((Sized (seq (Var (id 1) (name a))) (siz (Z 8)))
|
|
|
|
|
(Sized (seq (Var (id 7) (name a1))) (siz (Z 8)))))))))
|
|
|
|
|
(pnd ())))|} ;
|
|
|
|
|
[%expect {| |}]
|
|
|
|
|
|
|
|
|
|
let%expect_test _ =
|
|
|
|
|
replay
|
|
|
|
|
{|(Union
|
|
|
|
|
((Var (id 0) (name 1)) (Var (id 0) (name 4)) (Var (id 0) (name 6))
|
|
|
|
|
(Var (id 0) (name 8)) (Var (id 0) (name freturn))
|
|
|
|
|
(Var (id 1) (name freturn)))
|
|
|
|
|
((xs ()) (sat true)
|
|
|
|
|
(rep
|
|
|
|
|
(((Apply (Signed 8) ((Var (id 0) (name 8))))
|
|
|
|
|
(Var (id 0) (name freturn)))
|
|
|
|
|
((Var (id 0) (name freturn)) (Var (id 0) (name freturn)))
|
|
|
|
|
((Var (id 0) (name 8)) (Var (id 0) (name 8)))))
|
|
|
|
|
(cls
|
|
|
|
|
(((Var (id 0) (name freturn))
|
|
|
|
|
((Apply (Signed 8) ((Var (id 0) (name 8))))))))
|
|
|
|
|
(use
|
|
|
|
|
(((Var (id 0) (name 8)) ((Apply (Signed 8) ((Var (id 0) (name 8))))))))
|
|
|
|
|
(pnd ()))
|
|
|
|
|
((xs ()) (sat true)
|
|
|
|
|
(rep
|
|
|
|
|
(((Apply (Uninterp .str) ()) (Var (id 0) (name 6)))
|
|
|
|
|
((Var (id 0) (name 8)) (Z 73))
|
|
|
|
|
((Var (id 0) (name 6)) (Var (id 0) (name 6)))))
|
|
|
|
|
(cls
|
|
|
|
|
(((Z 73) ((Var (id 0) (name 8))))
|
|
|
|
|
((Var (id 0) (name 6)) ((Apply (Uninterp .str) ())))))
|
|
|
|
|
(use ()) (pnd ())))|} ;
|
|
|
|
|
[%expect {||}]
|
|
|
|
|
|
|
|
|
|
let%expect_test _ =
|
|
|
|
|
replay
|
|
|
|
|
{|(Apply_and_elim
|
|
|
|
|
((Var (id 0) (name 12)) (Var (id 0) (name 16)) (Var (id 0) (name 19))
|
|
|
|
|
(Var (id 0) (name 22)) (Var (id 0) (name 23)) (Var (id 0) (name 26))
|
|
|
|
|
(Var (id 0) (name 29)) (Var (id 0) (name 33)) (Var (id 0) (name 35))
|
|
|
|
|
(Var (id 0) (name 39)) (Var (id 0) (name 4)) (Var (id 0) (name 40))
|
|
|
|
|
(Var (id 0) (name 41)) (Var (id 0) (name 47)) (Var (id 0) (name 5))
|
|
|
|
|
(Var (id 0) (name 52)) (Var (id 0) (name 8)) (Var (id 1) (name m))
|
|
|
|
|
(Var (id 2) (name a)) (Var (id 6) (name b)))
|
|
|
|
|
((Var (id 1) (name m)) (Var (id 2) (name a)) (Var (id 6) (name b)))
|
|
|
|
|
(((Var (id 6) (name b)) (Var (id 2) (name a)))
|
|
|
|
|
((Var (id 1) (name m))
|
|
|
|
|
(Apply (Signed 32)
|
|
|
|
|
((Apply (Signed 32) ((Arith (((((Var (id 0) (name 23)) 1)) 4)))))))))
|
|
|
|
|
((xs ()) (sat true)
|
|
|
|
|
(rep
|
|
|
|
|
(((Apply (Signed 32)
|
|
|
|
|
((Apply (Signed 32) ((Arith (((((Var (id 0) (name 23)) 1)) 4)))))))
|
|
|
|
|
(Var (id 1) (name m)))
|
|
|
|
|
((Apply (Signed 32) ((Arith (((((Var (id 0) (name 23)) 1)) 4)))))
|
|
|
|
|
(Apply (Signed 32) ((Arith (((((Var (id 0) (name 23)) 1)) 4))))))
|
|
|
|
|
((Apply (Signed 32) ((Var (id 0) (name 5))))
|
|
|
|
|
(Arith ((() -1) ((((Var (id 0) (name 23)) 1)) 1))))
|
|
|
|
|
((Var (id 6) (name b)) (Var (id 2) (name a)))
|
|
|
|
|
((Var (id 2) (name a)) (Var (id 2) (name a)))
|
|
|
|
|
((Var (id 1) (name m)) (Var (id 1) (name m)))
|
|
|
|
|
((Var (id 0) (name 8))
|
|
|
|
|
(Arith ((() -1) ((((Var (id 0) (name 23)) 1)) 1))))
|
|
|
|
|
((Var (id 0) (name 52)) (Var (id 0) (name 26)))
|
|
|
|
|
((Var (id 0) (name 5)) (Var (id 0) (name 5)))
|
|
|
|
|
((Var (id 0) (name 35)) (Var (id 0) (name 23)))
|
|
|
|
|
((Var (id 0) (name 33)) (Z 0))
|
|
|
|
|
((Var (id 0) (name 26)) (Var (id 0) (name 26)))
|
|
|
|
|
((Var (id 0) (name 23)) (Var (id 0) (name 23)))
|
|
|
|
|
((Var (id 0) (name 22)) (Var (id 0) (name 22)))
|
|
|
|
|
((Var (id 0) (name 19))
|
|
|
|
|
(Arith ((() -1) ((((Var (id 0) (name 23)) 1)) 1))))
|
|
|
|
|
((Var (id 0) (name 16))
|
|
|
|
|
(Arith ((() -1) ((((Var (id 0) (name 23)) 1)) 1))))))
|
|
|
|
|
(cls
|
|
|
|
|
(((Arith ((() -1) ((((Var (id 0) (name 23)) 1)) 1)))
|
|
|
|
|
((Var (id 0) (name 16)) (Var (id 0) (name 8))
|
|
|
|
|
(Var (id 0) (name 19))
|
|
|
|
|
(Apply (Signed 32) ((Var (id 0) (name 5))))))
|
|
|
|
|
((Z 0) ((Var (id 0) (name 33))))
|
|
|
|
|
((Var (id 2) (name a)) ((Var (id 6) (name b))))
|
|
|
|
|
((Var (id 1) (name m))
|
|
|
|
|
((Apply (Signed 32)
|
|
|
|
|
((Apply (Signed 32)
|
|
|
|
|
((Arith (((((Var (id 0) (name 23)) 1)) 4)))))))))
|
|
|
|
|
((Var (id 0) (name 26)) ((Var (id 0) (name 52))))
|
|
|
|
|
((Var (id 0) (name 23)) ((Var (id 0) (name 35))))))
|
|
|
|
|
(use
|
|
|
|
|
(((Apply (Signed 32) ((Arith (((((Var (id 0) (name 23)) 1)) 4)))))
|
|
|
|
|
((Apply (Signed 32)
|
|
|
|
|
((Apply (Signed 32)
|
|
|
|
|
((Arith (((((Var (id 0) (name 23)) 1)) 4)))))))))
|
|
|
|
|
((Var (id 0) (name 5))
|
|
|
|
|
((Apply (Signed 32) ((Var (id 0) (name 5))))))
|
|
|
|
|
((Var (id 0) (name 23))
|
|
|
|
|
((Arith ((() -1) ((((Var (id 0) (name 23)) 1)) 1)))
|
|
|
|
|
(Apply (Signed 32)
|
|
|
|
|
((Arith (((((Var (id 0) (name 23)) 1)) 4)))))))))
|
|
|
|
|
(pnd ())))|} ;
|
|
|
|
|
[%expect {| |}]
|
|
|
|
|
|
|
|
|
|
let%expect_test _ =
|
|
|
|
|
replay
|
|
|
|
|
{|(Add () (Eq (Var (id 2) (name u)) (Var (id 5) (name x)))
|
|
|
|
|
((xs ()) (sat true)
|
|
|
|
|
(rep
|
|
|
|
|
(((Apply (Uninterp g) ((Var (id 6) (name y)) (Var (id 7) (name z))))
|
|
|
|
|
(Var (id 3) (name v)))
|
|
|
|
|
((Apply (Uninterp g) ((Var (id 6) (name y)) (Var (id 3) (name v))))
|
|
|
|
|
(Var (id 1) (name t)))
|
|
|
|
|
((Var (id 7) (name z)) (Var (id 7) (name z)))
|
|
|
|
|
((Var (id 6) (name y)) (Var (id 6) (name y)))
|
|
|
|
|
((Var (id 5) (name x)) (Var (id 3) (name v)))
|
|
|
|
|
((Var (id 4) (name w)) (Var (id 3) (name v)))
|
|
|
|
|
((Var (id 3) (name v)) (Var (id 3) (name v)))
|
|
|
|
|
((Var (id 1) (name t)) (Var (id 1) (name t)))))
|
|
|
|
|
(cls
|
|
|
|
|
(((Var (id 3) (name v))
|
|
|
|
|
((Var (id 5) (name x))
|
|
|
|
|
(Apply (Uninterp g)
|
|
|
|
|
((Var (id 6) (name y)) (Var (id 7) (name z))))
|
|
|
|
|
(Var (id 4) (name w))))
|
|
|
|
|
((Var (id 1) (name t))
|
|
|
|
|
((Apply (Uninterp g)
|
|
|
|
|
((Var (id 6) (name y)) (Var (id 3) (name v))))))))
|
|
|
|
|
(use
|
|
|
|
|
(((Var (id 7) (name z))
|
|
|
|
|
((Apply (Uninterp g)
|
|
|
|
|
((Var (id 6) (name y)) (Var (id 7) (name z))))))
|
|
|
|
|
((Var (id 6) (name y))
|
|
|
|
|
((Apply (Uninterp g)
|
|
|
|
|
((Var (id 6) (name y)) (Var (id 3) (name v))))
|
|
|
|
|
(Apply (Uninterp g)
|
|
|
|
|
((Var (id 6) (name y)) (Var (id 7) (name z))))))
|
|
|
|
|
((Var (id 3) (name v))
|
|
|
|
|
((Apply (Uninterp g)
|
|
|
|
|
((Var (id 6) (name y)) (Var (id 3) (name v))))))))
|
|
|
|
|
(pnd ())))|} ;
|
|
|
|
|
[%expect {| |}]
|
|
|
|
|
|
|
|
|
|
(* let%expect_test _ =
|
|
|
|
|
* replay
|
|
|
|
|
* {||} ;
|
|
|
|
|