feat(kernel/metavar): (re-)enable add_lift simplification
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
64963bd9fb
commit
38a25a1bd2
1 changed files with 0 additions and 4 deletions
|
@ -319,9 +319,6 @@ bool has_assigned_metavar(expr const & e, metavar_env const & menv) {
|
|||
local_context add_lift(local_context const & lctx, unsigned s, unsigned n) {
|
||||
if (n == 0)
|
||||
return lctx;
|
||||
#if 0
|
||||
// Remark: I disabled the following simplification.
|
||||
// It impacts negatively the heuristics used in the elaborator.
|
||||
if (lctx) {
|
||||
local_entry e = head(lctx);
|
||||
// Simplification rule
|
||||
|
@ -330,7 +327,6 @@ local_context add_lift(local_context const & lctx, unsigned s, unsigned n) {
|
|||
return add_lift(tail(lctx), e.s(), e.n() + n);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return cons(mk_lift(s, n), lctx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue