mb automata 2 Sections GenAutomata Doc

Def apply_alist(as;l;d) == 2of((first p as s.t. 1of(p) = l else < l,d > ))

is mentioned by

Def term_subst2(as;t) == iterate(statevar v- > v statevar v'- > apply_alist(as;v;v') funsymbol f- > f freevar f- > f trace(P)- > trace(P) x(y)- > x y over t)[term_subst2]
Def term_subst(as;t) == iterate(statevar v- > apply_alist(as;v;v) statevar v'- > apply_alist(as;v;v') funsymbol f- > f freevar f- > f trace(P)- > trace(P) x(y)- > x y over t)[term_subst]

In prior sections: mb automata 1

Try larger context: GenAutomata

mb automata 2 Sections GenAutomata Doc