chore(kernel/type_checker): we don't use the kernel type checker for elaboration anymore

This commit is contained in:
Leonardo de Moura 2018-09-12 20:36:32 -07:00
parent c49ad19736
commit 20f31c85bf

View file

@ -23,11 +23,7 @@ namespace lean {
class type_checker {
public:
class context {
/* In the cache, we must take into account binder information.
Examples:
The type of (lambda x : A, t) is (Pi x : A, typeof(t))
The type of (lambda {x : A}, t) is (Pi {x : A}, typeof(t)) */
typedef expr_bi_map<expr> infer_cache;
typedef expr_map<expr> infer_cache;
typedef std::unordered_set<expr_pair, expr_pair_hash, expr_pair_eq> expr_pair_set;
environment m_env;
name_generator m_ngen;