Idris2Doc : Data.List.Fresh

Data.List.Fresh

(source)
Fresh lists, a variant of Catarina Coquand's contexts in "A
Formalised Proof of the Soundness and Completeness of a Simply
Typed Lambda-Calculus with Explicit Substitutions"

Based directly on Agda's fresh lists:
http://agda.github.io/agda-stdlib/Data.List.Fresh.html

Reexports

importpublic Data.So

Definitions

BRel : Type->Type
Totality: total
Visibility: public export
(##) : a->FreshListaneq->Bool
Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 4
(#) : a->FreshListaneq->Type
Totality: total
Visibility: public export
Fixity Declarations:
infix operator, level 4
infixr operator, level 5
dataFreshList : (a : Type) ->BRela->Type
Totality: total
Visibility: public export
Constructors:
Nil : FreshListaneq
(::) : (x : a) -> (xs : FreshListaneq) -> {auto0_ : x#xs} ->FreshListaneq
dataFreshList1 : (a : Type) ->BRela->Type
Totality: total
Visibility: public export
Constructor: 
(::) : (x : a) -> (xs : FreshListaneq) -> {auto0_ : x#xs} ->FreshList1aneq
map : {0A : Type} -> {0Aneq : BRelA} -> {0B : Type} -> {0Bneq : BRelB} -> (F : (A->B)) -> ((x : A) -> (y : A) ->So (Aneqxy) ->So (Bneq (Fx) (Fy))) ->FreshListAAneq->FreshListBBneq
Totality: total
Visibility: public export
0mapFreshness : {0A : Type} -> {0Aneq : BRelA} -> {0B : Type} -> {0Bneq : BRelB} -> (F : (A->B)) -> (Injectivity : ((x : A) -> (y : A) ->So (Aneqxy) ->So (Bneq (Fx) (Fy)))) -> (ys : FreshListAAneq) ->x#ys->Fx#mapys
Totality: total
Visibility: public export
dataEmpty : FreshListaneq->Type
Totality: total
Visibility: public export
Constructor: 
Nil : Empty []
dataNonEmpty : FreshListaneq->Type
Totality: total
Visibility: public export
Constructor: 
IsNonEmpty : NonEmpty (x::xs)
length : FreshListaneq->Nat
Totality: total
Visibility: public export
fromMaybe : Maybea->FreshListaneq
Totality: total
Visibility: public export
uncons : FreshListaneq->Maybe (a, FreshListaneq)
Totality: total
Visibility: public export
toFreshList1 : FreshListaneq->Maybe (FreshList1aneq)
Totality: total
Visibility: public export
head : (xs : FreshListaneq) ->NonEmptyxs=>a
Totality: total
Visibility: public export
tail : (xs : FreshListaneq) ->NonEmptyxs=>FreshListaneq
Totality: total
Visibility: public export
0.freshness : (xs : FreshListaneq) -> {autoisNonEmpty : NonEmptyxs} ->headxs#tailxs
Totality: total
Visibility: public export
0headFreshness : (0x : a) -> (ys : FreshListaneq) -> {autoisNonEmpty : NonEmptyys} ->x#ys->So (neqx (headys))
Totality: total
Visibility: public export
0tailFreshness : (0x : a) -> (ys : FreshListaneq) -> {autoisNonEmpty : NonEmptyys} ->x#ys->x#tailys
Totality: total
Visibility: public export
take : Nat->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
0takeFreshness : (n : Nat) -> (xs : FreshListaneq) ->y#xs->y#takenxs
Totality: total
Visibility: public export
drop : Nat->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
takeWhile : (a->Bool) ->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
0takeWhileFreshness : (pred : (a->Bool)) -> (xs : FreshListaneq) ->y#xs->y#takeWhilepredxs
Totality: total
Visibility: public export
dropWhile : (a->Bool) ->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
0dropWhileFreshness : (pred : (a->Bool)) -> (xs : FreshListaneq) ->y#xs->y#dropWhilepredxs
Totality: total
Visibility: public export
filter : (a->Bool) ->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
0filterFreshness : (pred : (a->Bool)) -> (xs : FreshListaneq) ->y#xs->y#filterpredxs
Totality: total
Visibility: public export
decideFreshness : (x : a) -> (ys : FreshListaneq) ->Dec (x#ys)
Totality: total
Visibility: public export
foldl : (b->a->b) ->b->FreshListaneq->b
Totality: total
Visibility: public export
foldr : (a->b->b) ->b->FreshListaneq->b
Totality: total
Visibility: public export
(##) : BRelString
Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 4
FreshSnoc : SnocLista->FreshListaneq->Type
Totality: total
Visibility: public export
castAux : (sx : SnocLista) -> (xs : FreshListaneq) -> {auto0_ : FreshSnocsxxs} ->FreshListaneq
Totality: total
Visibility: public export
Fresh : SnocLista->Type
Totality: total
Visibility: public export
cast : (sx : SnocLista) -> {auto0_ : Freshsx} ->FreshListaneq
Totality: total
Visibility: public export