We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da9fad commit de99e34Copy full SHA for de99e34
regression/smt2_solver/let/let-with-bv2.desc
@@ -0,0 +1,7 @@
1
+CORE
2
+let-with-bv2.smt2
3
+
4
+^EXIT=0$
5
+^SIGNAL=0$
6
+^unsat$
7
+--
regression/smt2_solver/let/let-with-bv2.smt2
@@ -0,0 +1,26 @@
+(set-logic QF_BV)
+(define-fun x () (_ BitVec 8) #x12)
+; let hides the function 'x'
+(define-fun let1 () Bool (let ((x #x4567)) (= x #x4567)))
8
+; the binding isn't visible immediately
9
+(define-fun let2 () Bool (= (let ((x x)) x) #x12))
10
11
+; parallel let
12
+(define-fun let3 () Bool (= (let ((x #x45) (y x)) y) #x12))
13
14
+; limited scope
15
+(define-fun let4 () Bool (and (let ((x true)) x) (= x #x12)))
16
17
+; all must be true
18
19
+(assert (not (and
20
+ let1
21
+ let2
22
+ let3
23
+ let4
24
+ )))
25
26
+(check-sat)
0 commit comments