@@ -38,6 +38,11 @@ total isSucc : Nat -> Bool
38isSucc Z = False
38isSucc Z = False
39isSucc (S n) = True
39isSucc (S n) = True
42+||| Proof that `n` is not equal to Z
43+data IsSucc : (n : Nat) -> Type where
44+ ItIsSucc : IsSucc (S n)
41--------------------------------------------------------------------------------
46--------------------------------------------------------------------------------
42-- Basic arithmetic functions
47-- Basic arithmetic functions
43--------------------------------------------------------------------------------
48--------------------------------------------------------------------------------