blob: 6e2ce3a2c413ca6ed6985abf2a62f4e8cd8653a5 (
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
28
29
30
|
; EXPECT: unsat
; COMMAND-LINE: --no-dump-synth
(set-logic LIA)
(synth-fun f ((x Int)) Int
((Start Int (
x
3
7
10
(* Start Start)
(mod Start Start)))))
(declare-var x Int)
(constraint (= (f x) (f (+ x 10))))
(constraint (= (f 1) 3))
(constraint (= (f 2) 6))
(constraint (= (f 3) 9))
(constraint (= (f 4) 2))
(constraint (= (f 5) 5))
(constraint (= (f 6) 8))
(constraint (= (f 7) 1))
(constraint (= (f 8) 4))
(constraint (= (f 9) 7))
(constraint (= (f 0) 0))
(check-synth)
|