fix nat elim quantities

This commit is contained in:
rhiannon morris 2023-04-01 16:01:53 +02:00
parent 036e2bd4a5
commit 15f6f4c8a4
4 changed files with 41 additions and 9 deletions

View file

@ -106,6 +106,7 @@ public export
IsQty Three where
zero = Zero
one = One
any = Any
(+) = plus
(*) = times
@ -116,6 +117,10 @@ IsQty Three where
isZero = decEq Zero
zeroIsZero = Refl
IsAny = Equal Three.Any
isAny = decEq Any
anyIsAny = Refl
Compat = Compat3
compat = compat3
@ -128,6 +133,7 @@ IsQty Three where
IsGlobal = IsGlobal3
isGlobal = isGlobal3
zeroIsGlobal = \Refl => GZero
anyIsGlobal = \Refl => GAny
prettySuffix = pretty0M