fix(library/compiler/preprocess): do not unfold proofs
This commit is contained in:
parent
4a85c8c145
commit
2ac2badd58
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class expand_aux_fn : public compiler_step_visitor {
|
|||
virtual expr visit_app(expr const & e) override {
|
||||
switch (get_recursor_app_kind(e)) {
|
||||
case recursor_kind::NotRecursor: {
|
||||
if (is_not_vm_function(e)) {
|
||||
if (is_not_vm_function(e) && !ctx().is_proof(e)) {
|
||||
if (auto r = unfold_term(env(), e)) {
|
||||
return visit(*r);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue