feat(library/equations_compiler/equations): add helper function

This commit is contained in:
Leonardo de Moura 2016-09-09 17:43:42 -07:00
parent 6c13241d59
commit a0fb3eb2f9

View file

@ -57,6 +57,7 @@ expr const & equations_wf_rel(expr const & e);
the \c n resulting functions (and their types) with an \c equations_result macro. */
bool is_equations_result(expr const & e);
expr mk_equations_result(unsigned n, expr const * rs);
inline expr mk_equations_result(expr const & e) { return mk_equations_result(1, &e); }
unsigned get_equations_result_size(expr const & e);
expr const & get_equations_result(expr const & e, unsigned i);