Idris2Doc : TyRE.Extra

TyRE.Extra

(source)

Reexports

importpublic Data.List.Equalities

Definitions

extractBasedOnFst : (xs : List (a, b)) ->Elemx (mapfstxs) ->b
Totality: total
Visibility: public export
extractBasedOnFstSpec : (xs : Lista) -> (f : (a-> (b, c))) -> (x : b) -> (xInXs : Elemx (mapfst (mapfxs))) -> (e : a**extractBasedOnFst (mapfxs) xInXs=snd (fe))
Totality: total
Visibility: export
extractBasedOnFstAppLor : (xs : List (a, b)) -> (ys : List (a, b)) -> (x : a) -> (xInApp : Elemx (mapfst (xs++ys))) ->Either (xInXs : Elemx (mapfstxs) **extractBasedOnFst (xs++ys) xInApp=extractBasedOnFstxsxInXs) (xInYs : Elemx (mapfstys) **extractBasedOnFst (xs++ys) xInApp=extractBasedOnFstysxInYs)
Totality: total
Visibility: export
replicate : Nat->a->SnocLista
Totality: total
Visibility: public export
replicateForSucc : (k : Nat) -> (elem : a) -> [<elem] ++replicatekelem=replicate (Sk) elem
Totality: total
Visibility: export
bindSpec : (f : (a->Listb)) -> (p : Predb) -> (q : Preda) -> ((x : a) -> (y : b** (Elemy (fx), py)) ->qx) -> (cs : Lista) -> (y : b** (Elemy (cs>>=f), py)) -> (x : a** (Elemxcs, (qx, (y : b** (Elemy (fx), py)))))
Totality: total
Visibility: export
mapSpec : (f : ((a, b) ->c)) -> (q : Pred (a, b)) -> (p : Predc) -> (xs : List (a, b)) -> ((x1 : a) -> (x2 : b) ->p (f (x1, x2)) ->q (x1, x2)) -> (y : c) -> (Elemy (mapfxs), py) -> (x1 : a** (x2 : b** (prf : Elemx1 (mapfstxs) ** (extractBasedOnFstxsprf=x2, (f (x1, x2) =y, q (x1, x2))))))
Totality: total
Visibility: export
biMapOnFst : (xs : List (a, c)) -> (f : (a->b)) -> (g : (c->d)) ->mapfst (map (bimapfg) xs) =mapf (mapfstxs)
Totality: total
Visibility: export
elemMapRev : (xs : Lista) -> (f : (a->b)) ->Eleme (mapfxs) -> (e' : a** (Eleme'xs, fe'=e))
Totality: total
Visibility: export
eqForJust : Justx=Justy->x=y
Totality: total
Visibility: export