make lteZero' and lteSucc' into hints
This commit is contained in:
parent
de6ec78e23
commit
56ddd59fb4
1 changed files with 2 additions and 2 deletions
|
@ -9,12 +9,12 @@ data LTE' : Nat -> Nat -> Type where
|
|||
LTESuccR : LTE' m n -> LTE' m (S n)
|
||||
%builtin Natural LTE'
|
||||
|
||||
public export
|
||||
public export %hint
|
||||
lteZero' : {n : Nat} -> LTE' 0 n
|
||||
lteZero' {n = 0} = LTERefl
|
||||
lteZero' {n = S n} = LTESuccR lteZero'
|
||||
|
||||
public export
|
||||
public export %hint
|
||||
lteSucc' : LTE' m n -> LTE' (S m) (S n)
|
||||
lteSucc' LTERefl = LTERefl
|
||||
lteSucc' (LTESuccR p) = LTESuccR $ lteSucc' p
|
||||
|
|
Loading…
Reference in a new issue