add CanSubst Var (Term/Elim)
This commit is contained in:
parent
8c675d01d5
commit
4a2f7e1497
1 changed files with 3 additions and 0 deletions
|
@ -209,6 +209,9 @@ CanSubst (Elim d) (Term d) where
|
|||
Shift SZ => s
|
||||
th => CloT s th
|
||||
|
||||
export CanSubst Var (Term d) where s // th = s // map (B {d}) th
|
||||
export CanSubst Var (Elim d) where e // th = e // map (B {d}) th
|
||||
|
||||
export CanShift (Term d) where i // by = i // Shift by {env=(Elim d)}
|
||||
export CanShift (Elim d) where i // by = i // Shift by {env=(Elim d)}
|
||||
|
||||
|
|
Loading…
Reference in a new issue