chore: use headBeta on type
This commit is contained in:
parent
7f43d01703
commit
9dc5ca66e2
1 changed files with 2 additions and 0 deletions
|
|
@ -769,9 +769,11 @@ xs.size.foldRevM
|
|||
let x := xs.get! i;
|
||||
match lctx.getFVar! x with
|
||||
| LocalDecl.cdecl _ _ n type bi => do
|
||||
let type := type.headBeta;
|
||||
type ← abstractRangeAux elimMVarDeps xs i type;
|
||||
pure $ Lean.mkForall n bi type e
|
||||
| LocalDecl.ldecl _ _ n type value => do
|
||||
let type := type.headBeta;
|
||||
type ← abstractRangeAux elimMVarDeps xs i type;
|
||||
value ← abstractRangeAux elimMVarDeps xs i value;
|
||||
let e := mkLet n type value e;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue