3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-31 23:34:55 +00:00

Identify root cause and implement targeted fix for recursive function hanging

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-08-18 01:18:26 +00:00
parent 830ede6623
commit 1a30705bd9
5 changed files with 12 additions and 5 deletions

View file

@ -0,0 +1,3 @@
(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)