3
0
Fork 0
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:
copilot-swe-agent[bot] 2025-08-18 01:00:03 +00:00
parent 943ba1027c
commit 830ede6623
3 changed files with 6 additions and 0 deletions

2
test_recfun_simple.smt2 Normal file
View file

@ -0,0 +1,2 @@
(define-funs-rec ((f ((x Int)) Int)) ((ite (= x 0) 0 (+ 1 (f (- x 1))))))
(assert (= (f 2) 2))