regress2/sygus/process-10-vars-2fun.sy
regress2/sygus/process-arg-invariance.sy
regress2/sygus/real-grammar-neg.sy
- regress2/sygus/sixfuncs.sy
regress2/sygus/three.sy
regress2/sygus/vcb.sy
regress2/typed_v1l50016-simp.cvc
regress3/issue2429.smt2
regress3/pp-regfile.smt
regress3/qwh.35.405.shuffled-as.sat03-1651.smt
+ regress3/sixfuncs.sy
)
#-----------------------------------------------------------------------------#
regress2/sygus/process-10-vars-2fun.sy \
regress2/sygus/process-arg-invariance.sy \
regress2/sygus/real-grammar-neg.sy \
- regress2/sygus/sixfuncs.sy \
regress2/sygus/three.sy \
regress2/sygus/vcb.sy \
regress2/typed_v1l50016-simp.cvc \
regress3/incorrect2.smt \
regress3/issue2429.smt2 \
regress3/pp-regfile.smt \
- regress3/qwh.35.405.shuffled-as.sat03-1651.smt
+ regress3/qwh.35.405.shuffled-as.sat03-1651.smt \
+ regress3/sixfuncs.sy
REG4_TESTS = \
regress4/C880mul.miter.shuffled-as.sat03-348.smt \
+++ /dev/null
-; EXPECT: unsat
-; COMMAND-LINE: --sygus-out=status
-(set-logic LIA)
-
-(synth-fun f1 ((p1 Int) (P1 Int)) Int
- ((Start Int (
- p1
- P1
- (- Start Start)
- (+ Start Start)
- )
- )))
-
-(synth-fun f2 ((p1 Int) (P1 Int)) Int
- ((Start Int (
- p1
- P1
- (+ Start Start)
- )
- )))
-
-(synth-fun f3 ((p1 Int) (P1 Int)) Int
- ((Start Int (
- p1
- P1
- (- Start Start)
- (+ Start Start)
- )
- )))
-
-(synth-fun f4 ((p1 Int) (P1 Int)) Int
- ((Start Int (
- p1
- P1
- (- Start Start)
- (+ Start Start)
- )
- )))
-
-(synth-fun f5 ((p1 Int) (P1 Int)) Int
- ((Start Int (
- p1
- P1
- (- Start Start)
- (+ Start Start)
- )
- )))
-
-(synth-fun g1 ((p1 Int) (P1 Int)) Int
- ((Start Int (
- p1
- P1
- (- Start Start)
- (+ Start Start)
- )
- )))
-
-
-(declare-var x Int)
-(declare-var y Int)
-
-(constraint (= (+ (f1 x y) (f1 x y)) (f2 x y)))
-(constraint (= (- (+ (f1 x y) (f2 x y)) y) (f3 x y)))
-(constraint (= (+ (f2 x y) (f2 x y)) (f4 x y)))
-(constraint (= (+ (f4 x y) (f1 x y)) (f5 x y)))
-
-(constraint (= (- (f1 x y) y) (g1 x y)))
-
-
-(check-synth)
-
-;; possible solution
-;; f1: y+x+1
-;; f2: y+2x+2
-;; f3: y+3x+3
-;; f4: 4y+4x+4
-;; f5: 5y+5x+5
-;; g1: x+1
-;; g2: y+2
-;; g3: y+3
-;; g4: 2y+6
-;; g5: 3y+x+7
-
; EXPECT: unsat
-; COMMAND-LINE: --sygus-out=status --no-sygus-repair-const
+; COMMAND-LINE: --sygus-out=status --no-sygus-repair-const --decision=justification
(set-logic LIA)
(synth-fun f1 ((x1 Int) (x2 Int)) Int)
--- /dev/null
+; EXPECT: unsat
+; COMMAND-LINE: --sygus-out=status --decision=justification
+(set-logic LIA)
+
+(synth-fun f1 ((p1 Int) (P1 Int)) Int
+ ((Start Int (
+ p1
+ P1
+ (- Start Start)
+ (+ Start Start)
+ )
+ )))
+
+(synth-fun f2 ((p1 Int) (P1 Int)) Int
+ ((Start Int (
+ p1
+ P1
+ (+ Start Start)
+ )
+ )))
+
+(synth-fun f3 ((p1 Int) (P1 Int)) Int
+ ((Start Int (
+ p1
+ P1
+ (- Start Start)
+ (+ Start Start)
+ )
+ )))
+
+(synth-fun f4 ((p1 Int) (P1 Int)) Int
+ ((Start Int (
+ p1
+ P1
+ (- Start Start)
+ (+ Start Start)
+ )
+ )))
+
+(synth-fun f5 ((p1 Int) (P1 Int)) Int
+ ((Start Int (
+ p1
+ P1
+ (- Start Start)
+ (+ Start Start)
+ )
+ )))
+
+(synth-fun g1 ((p1 Int) (P1 Int)) Int
+ ((Start Int (
+ p1
+ P1
+ (- Start Start)
+ (+ Start Start)
+ )
+ )))
+
+
+(declare-var x Int)
+(declare-var y Int)
+
+(constraint (= (+ (f1 x y) (f1 x y)) (f2 x y)))
+(constraint (= (- (+ (f1 x y) (f2 x y)) y) (f3 x y)))
+(constraint (= (+ (f2 x y) (f2 x y)) (f4 x y)))
+(constraint (= (+ (f4 x y) (f1 x y)) (f5 x y)))
+
+(constraint (= (- (f1 x y) y) (g1 x y)))
+
+
+(check-synth)
+
+;; possible solution
+;; f1: y+x+1
+;; f2: y+2x+2
+;; f3: y+3x+3
+;; f4: 4y+4x+4
+;; f5: 5y+5x+5
+;; g1: x+1
+;; g2: y+2
+;; g3: y+3
+;; g4: 2y+6
+;; g5: 3y+x+7
+