Fix rewrite for to_real in division by zero (#8714)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Wed, 4 May 2022 01:25:04 +0000 (20:25 -0500)
committerGitHub <noreply@github.com>
Wed, 4 May 2022 01:25:04 +0000 (01:25 +0000)
commit299cf5548603cc81d86ca5af4ea171765e17f584
tree635a5de84db8cfdb787f504811f60d2145777b74
parent7fa4709c891bcdf5aa1d3ed4b001d0628bbc17be
Fix rewrite for to_real in division by zero (#8714)

Fixes #8712.
src/preprocessing/passes/learned_rewrite.cpp
src/theory/arith/arith_rewriter.cpp
test/regress/cli/CMakeLists.txt
test/regress/cli/regress0/nl/issue8712-div-toreal-rew.smt2 [new file with mode: 0644]