Debian Codegraph @

test/regress/cli/regress1/quantifiers/nl-pow-trick.smt2

raw
1 ; COMMAND-LINE: --cegqi-all --no-relational-triggers --no-sygus-inst
2 ; EXPECT: unsat
3 (set-logic NIA)
4 (declare-fun a () Int)
5 (declare-fun b () Int)
6 (declare-fun c () Int)
7 (define-fun s ((x Int)) Int (+ x 1))
8 (define-fun seq ((a Int) (b Int) (k Int) (x Int)) Bool ( = x (mod (+ 1 (* b (+ 1 k))) a)))
9 (define-fun power ((a Int) (b Int) (c Int)) Bool
10 (exists ((x Int) (y Int)) (and (seq x y 0 1) (seq x y b c) (forall ((k Int) (z Int)) (=> (and (< k b) (seq x y k z)) (seq x y (+ 1 k) (* a z))))))
11 )
12 (assert (power 2 3 8))
13 (check-sat)