Nuprl Definition : remove-repeats

remove-repeats(eq;L) ==  rec-case(L) of [] => [] a::as => r.[a filter(λx.(¬b(eq a));r)]



Definitions occuring in Statement :  filter: filter(P;l) list_ind: list_ind cons: [a b] nil: [] bnot: ¬bb apply: a lambda: λx.A[x]
Definitions occuring in definition :  list_ind: list_ind nil: [] cons: [a b] filter: filter(P;l) lambda: λx.A[x] bnot: ¬bb apply: a
FDL editor aliases :  remove-repeats

Latex:
remove-repeats(eq;L)  ==    rec-case(L)  of  []  =>  []  |  a::as  =>  r.[a  /  filter(\mlambda{}x.(\mneg{}\msubb{}(eq  x  a));r)]



Date html generated: 2016_05_14-PM-03_25_55
Last ObjectModification: 2015_09_22-PM-05_59_45

Theory : decidable!equality


Home Index