Idris2Doc : Control.Function

Control.Function

(source)

Definitions

interfaceInjective : (a->b) ->Type
  An injective function maps distinct elements to distinct elements.

Parameters: f
Constructor: MkInjective
Methods:
injective : fx=fy->x=y

Implementations:
InjectiveJust
InjectiveS
InjectiveFS
InjectivefinToNat
injective : Injectivef=>fx=fy->x=y
Totality: total
Visibility: public export
inj : (0f : (a->b)) -> {auto0_ : Injectivef} -> (0_ : fx=fy) ->x=y
Totality: total
Visibility: public export
interfaceBiinjective : (a->b->c) ->Type
  An bi-injective function maps distinct elements to distinct elements in both arguments.
This is more strict than injectivity on each of arguments.
For instance, list appending is injective on both arguments but is not biinjective.

Parameters: f
Constructor: MkBiinjective
Methods:
biinjective : fxv=fyw-> (x=y, v=w)

Implementations:
Biinjective(::)
BiinjectiveMkPair
Biinjective(:<)
biinjective : Biinjectivef=>fxv=fyw-> (x=y, v=w)
Totality: total
Visibility: public export
biinj : (0f : ({type_of_y:1506}->{type_of_w:1505}->{a:1507})) -> {auto0_ : Biinjectivef} -> (0_ : fxv=fyw) -> (x=y, v=w)
Totality: total
Visibility: public export