Idris2Doc : Data.Prim.Int64

Data.Prim.Int64

(source)

Reexports

import public Algebra.Ring
import public Control.Order
import public Control.Relation
import public Control.Relation.ReflexiveClosure
import public Control.Relation.Trichotomy
import public Control.WellFounded
import public Data.Maybe0

Definitions

data (<) : Int64 -> Int64 -> Type
  Witness that `m < n === True`.

Totality: total
Visibility: export
Constructor: 
LT : (0 _ : m < n = True) -> m < n

Hints:
(0 _ : m < n = True) -> m < n
Transitive Int64 (<)
Trichotomous Int64 (<)

Fixity Declaration: infix operator, level 6
unerase : (0 _ : m < n) -> m < n
  Makes a compile-time proof of `x < y` available at runtime.

Heads up: `(<)` is not supposed to be used or even needed at runtime,
as it will be erased anymay. However, this function is sometimes
required, for instance when implementing interface `Connex`.

Totality: total
Visibility: export
0 mkLT : (0 _ : m < n = True) -> m < n
  Contructor for `(<)`.

This can only be used in an erased context.

Totality: total
Visibility: export
0 runLT : m < n -> m < n = True
  Extractor for `(<)`.

This can only be used in an erased context.

Totality: total
Visibility: export
strictLT : (0 _ : m < n) -> Lazy c -> c
  We don't trust values of type `(<)` too much,
so we use this when creating magical results.

Totality: total
Visibility: export
0 (>) : Int64 -> Int64 -> Type
  Flipped version of `(<)`.

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
0 (<=) : Int64 -> Int64 -> Type
  Alias for `ReflexiveClosure (<) m n`

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
lt : (x : Int64) -> (y : Int64) -> Maybe0 (x < y)
Totality: total
Visibility: public export
lte : (x : Int64) -> (y : Int64) -> Maybe0 (x <= y)
Totality: total
Visibility: public export
comp : (m : Int64) -> (n : Int64) -> Trichotomy (<) m n
Totality: total
Visibility: export
MinInt64 : Int64
  Lower bound of `Int64`

Totality: total
Visibility: public export
MaxInt64 : Int64
  Upper bound of `Int64`

Totality: total
Visibility: public export
0 GTE_MinInt64 : (m : Int64) -> MinInt64 <= m
  `m >= 0` for all `m` of type `Int64`.

Totality: total
Visibility: export
0 Not_LT_MinInt64 : m < MinInt64 -> Void
  Not value of type `Int64` is less than zero.

Totality: total
Visibility: export
0 LTE_MaxInt64 : (m : Int64) -> m <= MaxInt64
  `m <= MaxInt64` for all `m` of type `Int64`.

Totality: total
Visibility: export
0 Not_GT_MaxInt64 : m > MaxInt64 -> Void
  Not value of type `Int64` is greater than `MaxInt64`.

Totality: total
Visibility: export
accessLT : (m : Int64) -> Accessible (<) m
  Every value of type `Int64` is accessible with relation
to `(<)`.

Totality: total
Visibility: export
accessGT : (m : Int64) -> Accessible (>) m
  Every value of type `Int64` is accessible with relation
to `(>)`.

Totality: total
Visibility: export