3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 04:56:03 +00:00
z3/test_issue_with_checksat.smt2
copilot-swe-agent[bot] 1a30705bd9 Identify root cause and implement targeted fix for recursive function hanging
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-08-18 01:18:26 +00:00

3 lines
No EOL
132 B
Text

(define-funs-rec ((g ((a Int) (b Int)) Bool)) ((or (= a b) (ite (> a b) (g (- a 1) b) (g a (- b 1))))))
(assert (g 2 2))
(check-sat)