remove zeroes on types
This commit is contained in:
parent
e03b4a4286
commit
45150c2a3b
5 changed files with 11 additions and 11 deletions
|
@ -30,7 +30,7 @@ PrettyHL (Dim n) where
|
|||
|
||||
|
||||
public export
|
||||
0 DSubst : Nat -> Nat -> Type
|
||||
DSubst : Nat -> Nat -> Type
|
||||
DSubst = Subst Dim
|
||||
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ interface FromVar env => CanSubst env term where
|
|||
(//) : term from -> Subst env from to -> term to
|
||||
|
||||
public export
|
||||
0 CanSubst1 : (Nat -> Type) -> Type
|
||||
CanSubst1 : (Nat -> Type) -> Type
|
||||
CanSubst1 f = CanSubst f f
|
||||
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ infixl 8 :#
|
|||
infixl 9 :@
|
||||
mutual
|
||||
public export
|
||||
0 TSubst : Nat -> Nat -> Nat -> Type
|
||||
TSubst d = Subst (Elim d)
|
||||
TSubst : Nat -> Nat -> Nat -> Type
|
||||
TSubst d = Subst (\n => Elim d n)
|
||||
|
||||
||| first argument `d` is dimension scope size, second `n` is term scope size
|
||||
public export
|
||||
|
@ -269,11 +269,11 @@ isCloT (E e) = isCloE e
|
|||
isCloT _ = False
|
||||
|
||||
||| an elimination which is not a top level closure
|
||||
public export 0 NotCloElim : Nat -> Nat -> Type
|
||||
public export NotCloElim : Nat -> Nat -> Type
|
||||
NotCloElim d n = Subset (Elim d n) $ So . not . isCloE
|
||||
|
||||
||| a term which is not a top level closure
|
||||
public export 0 NotCloTerm : Nat -> Nat -> Type
|
||||
public export NotCloTerm : Nat -> Nat -> Type
|
||||
NotCloTerm d n = Subset (Term d n) $ So . not . isCloT
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue