Idris2Doc : Data.Nat.Order

Data.Nat.Order

Implementation of ordering relations for `Nat`ural numbers

Definitions

zeroNeverGreater : Not (LTE (Sn) 0)
Totality: total
Visibility: public export
zeroAlwaysSmaller : LTE0n
Totality: total
Visibility: public export
ltesuccinjective : Not (LTEnm) ->Not (LTE (Sn) (Sm))
Totality: total
Visibility: public export
decideLTBounded : {0p : Nat->Type} -> ((n : Nat) ->Dec (pn)) -> (n : Nat) ->Dec ((k : Nat) ->LTkn->pk)
  If a predicate is decidable then we can decide whether it holds on
a bounded domain.

Totality: total
Visibility: public export
decideLTEBounded : {0p : Nat->Type} -> ((n : Nat) ->Dec (pn)) -> (n : Nat) ->Dec ((k : Nat) ->LTEkn->pk)
  If a predicate is decidable then we can decide whether it holds on
a bounded domain.

Totality: total
Visibility: public export
lte : (m : Nat) -> (n : Nat) ->Dec (LTEmn)
Totality: total
Visibility: public export
shift : (m : Nat) -> (n : Nat) ->LTEmn->LTE (Sm) (Sn)
Totality: total
Visibility: public export