mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Bugfixes for UFs and conversion functions in theory_fpa
This commit is contained in:
parent
b60f30c802
commit
a2503af585
2 changed files with 3 additions and 7 deletions
|
@ -652,10 +652,8 @@ namespace smt {
|
|||
|
||||
if (fu.is_float(xe) && fu.is_float(ye))
|
||||
m_converter.mk_eq(xc, yc, c);
|
||||
else if (fu.is_rm(xe) && fu.is_rm(ye))
|
||||
else
|
||||
c = m.mk_eq(xc, yc);
|
||||
else
|
||||
UNREACHABLE();
|
||||
|
||||
m_th_rw(c);
|
||||
assert_cnstr(m.mk_iff(m.mk_eq(xe, ye), c));
|
||||
|
@ -692,10 +690,8 @@ namespace smt {
|
|||
m_converter.mk_eq(xc, yc, c);
|
||||
c = m.mk_not(c);
|
||||
}
|
||||
else if (fu.is_rm(xe) && fu.is_rm(ye))
|
||||
c = m.mk_not(m.mk_eq(xc, yc));
|
||||
else
|
||||
UNREACHABLE();
|
||||
c = m.mk_not(m.mk_eq(xc, yc));
|
||||
|
||||
m_th_rw(c);
|
||||
assert_cnstr(m.mk_iff(m.mk_not(m.mk_eq(xe, ye)), c));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue