Skip to content

Commit 56d624a

Browse files
committed
fix: FunInd.foldAndCollect wants to unfold proofs
1 parent 2920033 commit 56d624a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lean/Meta/Tactic/FunInd.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ improve the errors, for example by passing down a flag whether we expect the sam
283283
occurrences of `newIH`), or whether we are in “supple mode”, and catch it earlier if the rewriting
284284
fails.
285285
-/
286-
partial def foldAndCollect (oldIH newIH : FVarId) (isRecCall : Expr → Option Expr) (e : Expr) : M Expr := do
286+
partial def foldAndCollect (oldIH newIH : FVarId) (isRecCall : Expr → Option Expr) (e : Expr) : M Expr := withoutExporting do
287287
unless e.containsFVar oldIH do
288288
return e
289289
withTraceNode `Meta.FunInd (pure m!"{exceptEmoji ·} foldAndCollect ({mkFVar oldIH} → {mkFVar newIH})::{indentExpr e}") do

0 commit comments

Comments
 (0)