Idris2Doc : Data.Nat.Order.Properties

Data.Nat.Order.Properties

Additional properties/lemmata of Nats involving order

Definitions

LTESuccInjectiveMonotone : (m : Nat) -> (n : Nat) ->Reflects (LTEmn) b->Reflects (LTE (Sm) (Sn)) b
Totality: total
Visibility: export
lteReflection : (a : Nat) -> (b : Nat) ->Reflects (LTEab) (lteab)
Totality: total
Visibility: export
ltReflection : (a : Nat) -> (b : Nat) ->Reflects (LTab) (ltab)
Totality: total
Visibility: export
lteIsLTE : (a : Nat) -> (b : Nat) ->lteab=True->LTEab
Totality: total
Visibility: export
ltIsLT : (a : Nat) -> (b : Nat) ->ltab=True->LTab
Totality: total
Visibility: export
notlteIsNotLTE : (a : Nat) -> (b : Nat) ->lteab=False->Not (LTEab)
Totality: total
Visibility: export
notltIsNotLT : (a : Nat) -> (b : Nat) ->ltab=False->Not (LTab)
Totality: total
Visibility: export
notlteIsLT : (a : Nat) -> (b : Nat) ->lteab=False->LTba
Totality: total
Visibility: export
notltIsGTE : (a : Nat) -> (b : Nat) ->ltab=False->GTEab
Totality: total
Visibility: export
LteIslte : (a : Nat) -> (b : Nat) ->LTEab->lteab=True
Totality: total
Visibility: export
notLteIsnotlte : (a : Nat) -> (b : Nat) ->Not (LTEab) ->lteab=False
Totality: total
Visibility: export
GTIsnotlte : (a : Nat) -> (b : Nat) ->LTba->lteab=False
Totality: total
Visibility: export
minusLTE : (a : Nat) -> (b : Nat) ->LTE (minusba) b
  Subtracting a number gives a smaller number

Totality: total
Visibility: export
minusPosLT : (a : Nat) -> (b : Nat) ->LT0a->LTEab->LT (minusba) b
  Subtracting a positive number gives a strictly smaller number

Totality: total
Visibility: export
multLteMonotoneRight : (l : Nat) -> (a : Nat) -> (b : Nat) ->LTEab->LTE (l*a) (l*b)
Totality: total
Visibility: export
multLteMonotoneLeft : (a : Nat) -> (b : Nat) -> (r : Nat) ->LTEab->LTE (a*r) (b*r)
Totality: total
Visibility: export
lteNotLtEq : (a : Nat) -> (b : Nat) ->LTEab->Not (LTab) ->a=b
Totality: total
Visibility: export
decomposeLte : (a : Nat) -> (b : Nat) ->LTEab->Either (LTab) (a=b)
Totality: total
Visibility: export