3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 20:46:01 +00:00
z3/test_recfun_simple.smt2
copilot-swe-agent[bot] 830ede6623 Initial exploration of recursive function hanging issue
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-08-18 01:00:03 +00:00

2 lines
No EOL
94 B
Text

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