Debian Codegraph @

test/regress/cli/regress1/sygus/interpol1.smt2

raw
1 ; COMMAND-LINE: --produce-interpolants --interpolants-mode=default --sygus-enum=fast --check-interpolants
2 ; SCRUBBER: grep -v -E '(\(define-fun)'
3 ; EXIT: 0
4 (set-logic NIA)
5 (declare-fun x ( ) Int)
6 (declare-fun y ( ) Int)
7 (declare-fun z ( ) Int)
8 (assert (= (* 2 x) y))
9 (get-interpolant A (distinct (+ (* 2 z) 1) y)
10
11 ; the grammar for the interpol-to-synthesize
12 ((Start Bool) (StartInt Int))
13 (
14 (Start Bool ((< StartInt StartInt)))
15 (StartInt Int
16 (y (+ StartInt StartInt) (div StartInt StartInt) (mod StartInt StartInt) 0 1 2))
17 )
18
19 )