Skip to content

Commit

Permalink
Revert "match new z3 output"
Browse files Browse the repository at this point in the history
This reverts commit 55bed72.
  • Loading branch information
LeventErkok committed Nov 20, 2023
1 parent e8d2d42 commit 632d65d
Show file tree
Hide file tree
Showing 2 changed files with 538 additions and 538 deletions.
144 changes: 72 additions & 72 deletions SBVTestSuite/GoldFiles/uiSat_test2.gold
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,10 @@ Looking for solution 5
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) false) false true true)
true
true
true)))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) false) true true true)))
[GOOD] (define-fun q2_model5 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 true)) true
(ite (and (= x!0 false) (= x!1 true)) true
false))
false)
)
[GOOD] (define-fun q2_model5_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -108,10 +104,14 @@ Looking for solution 6
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) false) true true true)))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) false) true true true)
false
true
true)))
[GOOD] (define-fun q2_model6 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 false) (= x!1 true)) true
(ite (and (= x!0 true) (= x!1 true)) true
false)
false))
)
[GOOD] (define-fun q2_model6_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -123,13 +123,13 @@ Looking for solution 7
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) false) true true true)
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) false) false true true)
true
false
true)))
[GOOD] (define-fun q2_model7 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 false)) true
(ite (and (= x!0 true) (= x!1 true)) true
(ite (and (= x!0 false) (= x!1 true)) true
false))
)
[GOOD] (define-fun q2_model7_reject () Bool
Expand All @@ -142,14 +142,10 @@ Looking for solution 8
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) false) false true true)
true
false
true)))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) false) true false true)))
[GOOD] (define-fun q2_model8 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 false)) true
(ite (and (= x!0 false) (= x!1 true)) true
false))
false)
)
[GOOD] (define-fun q2_model8_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -161,10 +157,14 @@ Looking for solution 9
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) false) true false true)))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) false) true false true)
true
true
true)))
[GOOD] (define-fun q2_model9 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 true)) true
(ite (and (= x!0 true) (= x!1 false)) true
false)
false))
)
[GOOD] (define-fun q2_model9_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -176,14 +176,10 @@ Looking for solution 10
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) true) false true false)
true
false
false)))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) false) false false true)))
[GOOD] (define-fun q2_model10 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 false)) false
(ite (and (= x!0 false) (= x!1 true)) false
true))
(ite (and (= x!0 false) (= x!1 false)) true
false)
)
[GOOD] (define-fun q2_model10_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -195,10 +191,14 @@ Looking for solution 11
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) false) false false true)))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) false) false false true)
true
true
true)))
[GOOD] (define-fun q2_model11 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 true)) true
(ite (and (= x!0 false) (= x!1 false)) true
false)
false))
)
[GOOD] (define-fun q2_model11_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -210,10 +210,14 @@ Looking for solution 12
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) true) false true false)))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) true) true false false)
true
true
false)))
[GOOD] (define-fun q2_model12 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 false) (= x!1 true)) false
true)
(ite (and (= x!0 true) (= x!1 true)) false
(ite (and (= x!0 true) (= x!1 false)) false
true))
)
[GOOD] (define-fun q2_model12_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -225,14 +229,10 @@ Looking for solution 13
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) true) false true false)
true
true
false)))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) true) true false false)))
[GOOD] (define-fun q2_model13 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 true)) false
(ite (and (= x!0 false) (= x!1 true)) false
true))
(ite (and (= x!0 true) (= x!1 false)) false
true)
)
[GOOD] (define-fun q2_model13_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -244,10 +244,14 @@ Looking for solution 14
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) true) true true false)))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) true) false true false)
true
true
false)))
[GOOD] (define-fun q2_model14 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 true)) false
true)
(ite (and (= x!0 false) (= x!1 true)) false
true))
)
[GOOD] (define-fun q2_model14_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -259,14 +263,10 @@ Looking for solution 15
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store (store ((as const (Array Bool Bool Bool)) true) true true false)
true
false
false)))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) true) false true false)))
[GOOD] (define-fun q2_model15 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 false)) false
(ite (and (= x!0 true) (= x!1 true)) false
true))
(ite (and (= x!0 false) (= x!1 true)) false
true)
)
[GOOD] (define-fun q2_model15_reject () Bool
(exists ((x!0 Bool) (x!1 Bool))
Expand All @@ -278,9 +278,9 @@ Looking for solution 16
[SEND] (check-sat)
[RECV] sat
[SEND] (get-value (q2))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) true) true false false)))
[RECV] ((q2 (store ((as const (Array Bool Bool Bool)) true) true true false)))
[GOOD] (define-fun q2_model16 ((x!0 Bool) (x!1 Bool)) Bool
(ite (and (= x!0 true) (= x!1 false)) false
(ite (and (= x!0 true) (= x!1 true)) false
true)
)
[GOOD] (define-fun q2_model16_reject () Bool
Expand All @@ -297,58 +297,58 @@ Looking for solution 17

RESULT: Solution #1:
q2 :: Bool -> Bool -> Bool
q2 True False = False
q2 _ _ = True
q2 True True = False
q2 _ _ = True
Solution #2:
q2 :: Bool -> Bool -> Bool
q2 True False = False
q2 True True = False
q2 _ _ = True
q2 False True = False
q2 _ _ = True
Solution #3:
q2 :: Bool -> Bool -> Bool
q2 True True = False
q2 _ _ = True
Solution #4:
q2 :: Bool -> Bool -> Bool
q2 True True = False
q2 False True = False
q2 _ _ = True
Solution #4:
q2 :: Bool -> Bool -> Bool
q2 True False = False
q2 _ _ = True
Solution #5:
q2 :: Bool -> Bool -> Bool
q2 False True = False
q2 _ _ = True
q2 True True = False
q2 True False = False
q2 _ _ = True
Solution #6:
q2 :: Bool -> Bool -> Bool
q2 True True = True
q2 False False = True
q2 _ _ = False
Solution #7:
q2 :: Bool -> Bool -> Bool
q2 True False = False
q2 False True = False
q2 _ _ = True
q2 False False = True
q2 _ _ = False
Solution #8:
q2 :: Bool -> Bool -> Bool
q2 True True = True
q2 True False = True
q2 _ _ = False
Solution #9:
q2 :: Bool -> Bool -> Bool
q2 True False = True
q2 _ _ = False
Solution #10:
q2 :: Bool -> Bool -> Bool
q2 True False = True
q2 False True = True
q2 _ _ = False
Solution #10:
q2 :: Bool -> Bool -> Bool
q2 True False = True
q2 True True = True
q2 _ _ = False
Solution #11:
q2 :: Bool -> Bool -> Bool
q2 True True = True
q2 _ _ = False
Solution #12:
q2 :: Bool -> Bool -> Bool
q2 True True = True
q2 False True = True
q2 True True = True
q2 _ _ = False
Solution #12:
q2 :: Bool -> Bool -> Bool
q2 True True = True
q2 _ _ = False
Solution #13:
q2 :: Bool -> Bool -> Bool
q2 False True = True
Expand Down
Loading

0 comments on commit 632d65d

Please sign in to comment.