We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5ca0c7 commit 19c5696Copy full SHA for 19c5696
src/Lean/Meta/Closure.lean
@@ -414,6 +414,7 @@ def mkValueTypeClosure (type : Expr) (value : Expr) (zetaDelta : Bool) : MetaM M
414
let newLetDecls := s.newLetDecls.reverse
415
let type := mkForall newLocalDecls (mkForall newLetDecls type)
416
let value := mkLambda newLocalDecls (mkLambda newLetDecls value)
417
+ assert! !value.hasFVar -- In case https://github.com/leanprover/lean4/issues/10705 resurfaces in a new way
418
pure {
419
type := type,
420
value := value,
0 commit comments