mirror of
https://github.com/Z3Prover/z3
synced 2025-08-30 15:00:08 +00:00
Initial exploration of recursive function hanging issue
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
943ba1027c
commit
830ede6623
3 changed files with 6 additions and 0 deletions
2
test_recfun_simple.smt2
Normal file
2
test_recfun_simple.smt2
Normal file
|
@ -0,0 +1,2 @@
|
|||
(define-funs-rec ((f ((x Int)) Int)) ((ite (= x 0) 0 (+ 1 (f (- x 1))))))
|
||||
(assert (= (f 2) 2))
|
Loading…
Add table
Add a link
Reference in a new issue