feat(library/tactic/simplify): trace prove failures
This commit is contained in:
parent
7d5b866503
commit
ac1af2dfda
1 changed files with 3 additions and 0 deletions
|
|
@ -120,6 +120,9 @@ bool simplify_core_fn::instantiate_emetas(tmp_type_context & tmp_ctx, unsigned n
|
|||
if (auto pf = prove(mvar_type)) {
|
||||
lean_verify(tmp_ctx.is_def_eq(mvar, *pf));
|
||||
return;
|
||||
} else {
|
||||
lean_simp_trace(tmp_ctx, name({"simplify", "failure"}),
|
||||
tout() << "failed to prove: " << mvar << " : " << mvar_type << "\n";);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue