fix a small bug in Q.Whnf.Coercion
This commit is contained in:
parent
a8ac6f11f7
commit
a9e8f14ad5
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ parameters {auto _ : CanWhnf Term Interface.isRedexT}
|
|||
fstInSnd =
|
||||
CoeT !(fresh i)
|
||||
(tfst // (BV 0 loc ::: shift 2))
|
||||
(weakD 1 p) (BV 0 loc) (dweakT 1 s) fst.loc
|
||||
(weakD 1 p) (BV 0 loc) (dweakT 1 fst) fst.loc
|
||||
snd' = CoeT i (sub1 tsnd fstInSnd) p q snd snd.loc
|
||||
whnf defs ctx sg $
|
||||
Ann (Pair (E fst') (E snd') sLoc) (ty // one q) loc
|
||||
|
|
Loading…
Reference in a new issue