Source

z3 / src / ast / rewriter / mk_simplified_app.h

/*++
Copyright (c) 2011 Microsoft Corporation

Module Name:

    mk_simplified_app.h

Abstract:

    Functor for creating new simplified applications

Author:

    Leonardo (leonardo) 2011-06-06

Notes:

--*/
#ifndef _MK_SIMPLIFIED_APP_H_
#define _MK_SIMPLIFIED_APP_H_

#include"ast.h"
#include"params.h"
#include"rewriter_types.h"

class mk_simplified_app {
    struct imp;
    imp * m_imp;
public:
    mk_simplified_app(ast_manager & m, params_ref const & p = params_ref());
    ~mk_simplified_app();

    br_status mk_core(func_decl * decl, unsigned num, expr * const * args, expr_ref & result);
    void operator()(func_decl * decl, unsigned num, expr * const * args, expr_ref & result);
};

#endif