summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/cube-nia.sy
blob: da7d98e662a198554c83a0ad1a24c176689e6534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; EXPECT: unsat
; COMMAND-LINE: --sygus-out=status

(set-logic NIA)

(synth-fun cube ((x Int)) Int
  (
    (Start Int (ntInt))
  
    (ntBool Bool
      ( 
        (> ntInt ntInt)
        (= ntInt ntInt)
      )
    )
    (ntInt Int
      (1 x
        (* ntInt ntInt)
        (ite ntBool ntInt ntInt)
      )
    )
  )
)

(constraint (= (cube 1) 1))
(constraint (= (cube 2) 8))
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback