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:
parent
830ede6623
commit
1a30705bd9
5 changed files with 12 additions and 5 deletions
3
test_issue_with_checksat.smt2
Normal file
3
test_issue_with_checksat.smt2
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue