Origin Sections AutomataTheory Doc

det_automata

Nuprl Section: det_automata

Selected Objects
defautomataAutomata(Alph;States) == (StatesAlphStates)States(States)
defDA_acta == 1of(a)
defDA_initInitialState(a) == 1of(2of(a))
defDA_finFinalState(a) == 2of(2of(a))
defcompute_list(rec) Result(DA)l == if null(l) InitialState(DA) else DA((Result(DA)tl(l)),hd(l)) fi
THMcompute_list_qwfAuto:Automata(Alph;St), l:x,y:Alph*//((Result(Auto)x) = (Result(Auto)y)). (Result(Auto)l) St
THMcompute_l_invAuto:Automata(Alph;St), x,y,z:Alph*. (Result(Auto)x) = (Result(Auto)y) (Result(Auto)z @ x) = (Result(Auto)z @ y)
defaccept_listDA(l) == FinalState(DA)(Result(DA)l)
THMaccept_list_qwfAuto:Automata(Alph;St), l:x,y:Alph*//((Result(Auto)x) = (Result(Auto)y)). Auto(l)
defauto_langLangOf(DA)(l) == DA(l)
THMaction_autoAuto:Automata(Alph;St), l:Alph*. ( < St,l,s. Auto(s,l) > :lInitialState(Auto)) = (Result(Auto)l)
THMpos_statesAuto:Automata(Alph;St). Fin(St) (n:. #(St)=n )
THMreach_lemmaS:ActionSet(Alph), si:S.car, nn:, f:(nnAlph), g:(Alphnn). Fin(S.car) InvFuns(nn; Alph; f; g) (n:. RL:{y:{x:(S.car*)| 0 < ||x|| & ||x||n+1 }| y[(||y||-1)] = si }. (s:S.car. (w:Alph*. (S:wsi) = s) mem_f(S.car;s;RL)) ||RL|| = n+1 & (i:||RL||, j:i. RL[i] = RL[j]) & (s:S.car. mem_f(S.car;s;RL) (w:Alph*. (S:wsi) = s)) & (k:. knn (RLa:S.car*. (i:{1..||RL||}, a:Alph. mem_f(S.car;S.act(a,RL[i]);RL) mem_f(S.car;S.act(a,RL[i]);RLa)) & (a:Alph. g(a) < k mem_f(S.car;S.act(a,hd(RL));RL) mem_f(S.car;S.act(a,hd(RL));RLa)) & (s:S.car. mem_f(S.car;s;RLa) (w:Alph*. (S:wsi) = s)))))
THMreach_auxS:ActionSet(Alph), si:S.car. Fin(S.car) Fin(Alph) (RL:S.car*. s:S.car. (w:Alph*. (S:wsi) = s) mem_f(S.car;s;RL))
THMreach_listAuto:Automata(Alph;St). Fin(St) & Fin(Alph) (RL:St*. s:St. (w:Alph*. (Result(Auto)w) = s) mem_f(St;s;RL))
THMreach_decAuto:Automata(Alph;St). Fin(Alph) Fin(St) (s:St. Dec(w:Alph*. (Result(Auto)w) = s))