feat(library/blast/simplifier): expand macros

This commit is contained in:
Daniel Selsam 2015-11-06 21:29:20 -08:00 committed by Leonardo de Moura
parent b727d5810a
commit d4e410162b

View file

@ -276,11 +276,9 @@ result simplifier::simplify(expr const & e) {
case expr_kind::Var:
lean_unreachable();
case expr_kind::Macro:
/* TODO
if (m_expand_macros) {
if (auto m = blast::expand_macro(e)) r = join(r,simplify(whnf(*m)));
if (auto m = m_tmp_tctx->expand_macro(e)) r = join(r,simplify(whnf(*m)));
}
*/
break;
case expr_kind::Lambda:
if (using_eq()) r = join(r,simplify_lambda(r.get_new()));