Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with FPA formula #6460

Closed
nunoplopes opened this issue Nov 20, 2022 · 0 comments
Closed

Crash with FPA formula #6460

nunoplopes opened this issue Nov 20, 2022 · 0 comments
Labels

Comments

@nunoplopes
Copy link
Collaborator

(declare-fun %x () (_ BitVec 32))

(assert (forall ((undef!1 (_ BitVec 32)))
  (= (fp.to_ieee_bv (fp.neg ((_ to_fp 8 24) (fp.to_ieee_bv ((_ to_fp 8 24) undef!1)))))
     (fp.to_ieee_bv (fp.neg ((_ to_fp 8 24) (fp.to_ieee_bv ((_ to_fp 8 24) %x))))))))
(check-sat)

stack trace:

#0  expr::get_sort() const ()
#1  fpa2bv_converter::mk_to_bv(func_decl*, unsigned int, expr* const*, bool, obj_ref<expr, ast_manager>&) ()
#2  fpa2bv_converter::mk_to_ieee_bv_i(func_decl*, unsigned int, expr* const*, obj_ref<expr, ast_manager>&) ()
#3  fpa2bv_rewriter_cfg::reduce_app(func_decl*, unsigned int, expr* const*, obj_ref<expr, ast_manager>&, obj_ref<app, ast_manager>&) ()
#4  void rewriter_tpl<fpa2bv_rewriter_cfg>::process_app<false>(app*, rewriter_core::frame&) ()
#5  void rewriter_tpl<fpa2bv_rewriter_cfg>::resume_core<false>(obj_ref<expr, ast_manager>&, obj_ref<app, ast_manager>&) ()
#6  fpa2bv_rewriter::convert_term(th_rewriter&, expr*) ()
#7  fpa2bv_rewriter::convert(th_rewriter&, expr*) ()
#8  smt::theory_fpa::convert(expr*) ()
#9  smt::theory_fpa::internalize_term(app*) ()
hgvk94 pushed a commit to hgvk94/z3 that referenced this issue Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant