Idris2/tests/base/data_nat/Properties.idr

9 lines
161 B
Idris

import Data.Nat
lteZeroSuccAbsurd : LTE (S Z) Z -> Void
lteZeroSuccAbsurd y = absurd y
lteSuccAbsurd : LTE (S x) x -> Void
lteSuccAbsurd y = succNotLTEpred y