Debian Codegraph @

test/regress/cli/regress0/printer/let_shadowing.smt2

raw
1 ; COMMAND-LINE: -o raw-benchmark --preprocess-only
2 ; SCRUBBER: grep assert
3 ; EXPECT: (assert (let ((_let_1 (* x y))) (and (= _let_1 _let_1) (= _let_1 _let_0))))
4 ; EXPECT: (assert (let ((_let_1 (and a b))) (and (= _let_1 _let_1) (= _let_1 (forall ((_let_0 Int)) (= 0 _let_0))))))
5 ; EXPECT: (assert (let ((_let_1 (and a b))) (and (= _let_1 _let_1) (= _let_1 (forall ((x Int)) (forall ((y Int)) (let ((_let_1 (and b a))) (and (and a b) _let_1 _let_1 (= 0 _let_0)))))))))
6 (set-logic NIA)
7 (declare-const _let_0 Int)
8 (declare-const x Int)
9 (declare-const y Int)
10 (declare-const a Bool)
11 (declare-const b Bool)
12 (assert (= (* x y) (* x y) _let_0))
13 (assert (= (and a b) (and a b) (forall ((_let_0 Int)) (= 0 _let_0))))
14 (assert (= (and a b) (and a b) (forall ((x Int)) (forall ((y Int)) (and (and a b) (and b a) (and b a) (= 0 _let_0))))))
15 (check-sat)