2014-06-26 01:12:23 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <utility>
|
|
|
|
#include "util/list.h"
|
|
|
|
#include "kernel/environment.h"
|
|
|
|
#include "kernel/metavar.h"
|
|
|
|
#include "library/io_state.h"
|
2014-06-29 14:03:25 +00:00
|
|
|
#include "frontends/lean/hint_table.h"
|
2014-06-26 01:12:23 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
expr elaborate(environment const & env, io_state const & ios, expr const & e, name_generator const & ngen,
|
2014-06-29 16:47:25 +00:00
|
|
|
hint_table const & htable = hint_table(), substitution const & s = substitution(),
|
|
|
|
list<parameter> const & ctx = list<parameter>(), pos_info_provider * pp = nullptr);
|
2014-06-30 07:51:11 +00:00
|
|
|
expr elaborate(environment const & env, io_state const & ios, expr const & e, expr const & expected_type, name_generator const & ngen,
|
|
|
|
hint_table const & htable = hint_table(), list<parameter> const & ctx = list<parameter>(), pos_info_provider * pp = nullptr);
|
2014-06-29 16:47:25 +00:00
|
|
|
expr elaborate(environment const & env, io_state const & ios, expr const & e, hint_table const & htable = hint_table(),
|
|
|
|
pos_info_provider * pp = nullptr);
|
2014-06-29 14:03:25 +00:00
|
|
|
std::pair<expr, expr> elaborate(environment const & env, io_state const & ios, name const & n, expr const & t, expr const & v,
|
2014-06-29 16:47:25 +00:00
|
|
|
hint_table const & htable = hint_table(), pos_info_provider * pp = nullptr);
|
2014-06-26 01:12:23 +00:00
|
|
|
}
|