clean up subsing η stuff
This commit is contained in:
parent
8fae67d4d5
commit
863849e4c4
1 changed files with 3 additions and 7 deletions
|
@ -278,13 +278,9 @@ namespace Term
|
||||||
|
|
||||||
eta : Loc -> Elim 0 n -> ScopeTerm 0 n -> Eff EqualInner ()
|
eta : Loc -> Elim 0 n -> ScopeTerm 0 n -> Eff EqualInner ()
|
||||||
eta loc e (S _ (N b)) =
|
eta loc e (S _ (N b)) =
|
||||||
if qty /= One then
|
if !(pure (qty /= One) `andM` isSubSing defs ctx sg arg)
|
||||||
if !(isSubSing defs ctx sg arg) then
|
then compare0 defs ctx' sg res.term (toLamBody e) (weakT 1 b)
|
||||||
compare0 defs ctx' sg res.term (toLamBody e) (weakT 1 b)
|
else clashT loc ctx ty s t
|
||||||
else
|
|
||||||
clashT loc ctx ty s t
|
|
||||||
else
|
|
||||||
clashT loc ctx ty s t
|
|
||||||
eta _ e (S _ (Y b)) =
|
eta _ e (S _ (Y b)) =
|
||||||
compare0 defs ctx' sg res.term (toLamBody e) b
|
compare0 defs ctx' sg res.term (toLamBody e) b
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue