diff --git a/src/frontends/lean/elaborator.h b/src/frontends/lean/elaborator.h new file mode 100644 index 000000000..32623456c --- /dev/null +++ b/src/frontends/lean/elaborator.h @@ -0,0 +1,19 @@ +/* +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 +#include "util/list.h" +#include "kernel/environment.h" +#include "kernel/metavar.h" +#include "library/io_state.h" + +namespace lean { +expr elaborate(environment const & env, io_state const & ios, expr const & e, name_generator const & ngen, + substitution const & s = substitution(), list const & ctx = list()); +expr elaborate(environment const & env, io_state const & ios, expr const & e); +std::pair elaborate(environment const & env, io_state const & ios, name const & n, expr const & t, expr const & v); +}