From 29198371d9e75cdffb91b65ece9ec8ed250a2ba3 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 11 Oct 2023 15:51:11 -0700 Subject: [PATCH] chore: update comments at src/Lean/Meta/ExprDefEq.lean Co-authored-by: Timo --- src/Lean/Meta/ExprDefEq.lean | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Lean/Meta/ExprDefEq.lean b/src/Lean/Meta/ExprDefEq.lean index 7549b6aa69..4aa501b0bc 100644 --- a/src/Lean/Meta/ExprDefEq.lean +++ b/src/Lean/Meta/ExprDefEq.lean @@ -1793,8 +1793,8 @@ private def isExprDefEqExpensive (t : Expr) (s : Expr) : MetaM Bool := do isDefEqOnFailure t s inductive DefEqCacheKind where - | transient -- problem has mvars or is using nonstardard configuration, we should use transient cache - | permanent -- problem does not have mvars and we are using stardard config, we can use one persistent cache. + | transient -- problem has mvars or is using nonstandard configuration, we should use transient cache + | permanent -- problem does not have mvars and we are using standard config, we can use one persistent cache. private def getDefEqCacheKind (t s : Expr) : MetaM DefEqCacheKind := do if t.hasMVar || s.hasMVar || (← read).canUnfold?.isSome then