R0045-23253 · q-20261014-advance-20261111-r07-nondeterministic-finite-automaton-0028
原題與已知條件
transition=[from,input-or-null,to]且允許empty alphabet/final set的finite epsilon-NFA。操作=nfa-epsilon-closure;資料={"states":["s2","m2","f2","d2"],"alphabet":["a2","b2"],"start_state":"s2","final_states":["f2"],"transitions":[["s2",null,"m2"],["s2",null,"d2"],["m2","a2","m2"],["m2","b2","f2"]],"seed_states":["s2"]}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。
G001 — transition=[from,input-or-null,to]且允許empty alphabet/final set的finite epsilon-NFA。操作=nfa-epsilon-closure;資料={"states":["s2","m2","f2","d2"],"alphabet":["a2","b2"],"start_state":"s2","final_states":["f2"],"transitions":[["s2",null,"m2"],["s2",null,"d2"],["m2","a2","m2"],["m2","b2","f2"]],"seed_states":["s2"]}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。
逐步推導
S001 · implies
操作前
source operation=nfa-epsilon-closure;original snapshot and mathematics retained
操作後
explicit ordered source output fields=[seed_states, epsilon_closure, closure_certificate, certificate]
條件:無
原題快照保留歷史介面;此處直接列來源欄序,不依賴JavaScript。tag與No保聲稱範圍,固定來源排序不冒充數學證明。
步驟識別與依賴
規則:source_ordered_interface_explicit_without_javascript · 依賴:G001
S002 · implies
操作前
ORIGINAL transition index=0;[from,input_or_null,to]=[s2, null, m2];state carrier=[s2, m2, f2, d2];alphabet=[a2, b2]
操作後
state endpoints legal;symbol either declared input or null EPS consuming0;ORIGINAL row position retained,including duplicate rows
條件:無
這是relation不是單值total函數,duplicate/多值/缺邊皆保原資料;null消耗0但不是一個alphabet字串。
步驟識別與依賴
規則:nfa_EVERY_original_relation_row_roles_empty_multi_EPS_legal · 依賴:G001, S001
S003 · implies
操作前
ORIGINAL transition index=1;[from,input_or_null,to]=[s2, null, d2];state carrier=[s2, m2, f2, d2];alphabet=[a2, b2]
操作後
state endpoints legal;symbol either declared input or null EPS consuming0;ORIGINAL row position retained,including duplicate rows
條件:無
這是relation不是單值total函數,duplicate/多值/缺邊皆保原資料;null消耗0但不是一個alphabet字串。
步驟識別與依賴
規則:nfa_EVERY_original_relation_row_roles_empty_multi_EPS_legal · 依賴:G001, S002
S004 · implies
操作前
ORIGINAL transition index=2;[from,input_or_null,to]=[m2, a2, m2];state carrier=[s2, m2, f2, d2];alphabet=[a2, b2]
操作後
state endpoints legal;symbol either declared input or null EPS consuming0;ORIGINAL row position retained,including duplicate rows
條件:無
這是relation不是單值total函數,duplicate/多值/缺邊皆保原資料;null消耗0但不是一個alphabet字串。
步驟識別與依賴
規則:nfa_EVERY_original_relation_row_roles_empty_multi_EPS_legal · 依賴:G001, S003
S005 · implies
操作前
ORIGINAL transition index=3;[from,input_or_null,to]=[m2, b2, f2];state carrier=[s2, m2, f2, d2];alphabet=[a2, b2]
操作後
state endpoints legal;symbol either declared input or null EPS consuming0;ORIGINAL row position retained,including duplicate rows
條件:無
這是relation不是單值total函數,duplicate/多值/缺邊皆保原資料;null消耗0但不是一個alphabet字串。
步驟識別與依賴
規則:nfa_EVERY_original_relation_row_roles_empty_multi_EPS_legal · 依賴:G001, S004
S006 · implies
操作前
ORIGINAL states=[s2, m2, f2, d2],alphabet=[a2, b2],start=s2,final_states=[f2];complete relation=[[s2, null, m2], [s2, null, d2], [m2, a2, m2], [m2, b2, f2]]
操作後
states nonempty with actual start;alphabet/final set/relation MAY be EMPTY;definition qualification does NOT prove determinism,totality,DFA equivalence or a successful run
條件:無
空final set合法且辨識空語言;空alphabet也合法。定義合格不保存在accepting path,亦不推deterministic或DFA等價。
步驟識別與依賴
規則:nfa_qualified_definition_EMPTY_alphabet_finals_edges_allowed · 依賴:G001, S005
S007 · implies
操作前
NFA ORIGINAL EPS closure:ORIGINAL seed list=[s2];complete state carrier=[s2, m2, f2, d2]
操作後
initialize unique closure=[s2];seeds themselves are reachable by zero EPS steps;RAW seed list not changed
條件:無
seed可空或重複,輸出原seed列表保留;closure集合去重且包含零步可達的seed,不憑EPS cycle宣稱接受。
步驟識別與依賴
規則:nfa_EPS_closure_contains_ORIGINAL_seeds_duplicates_preserved · 依賴:G001, S006
S008 · implies
操作前
NFA ORIGINAL EPS closure:stage=0;ORIGINAL-relation EPS pass from previous set=[s2]
操作後
ALL [ORIGINAL index,from,to,from_in_previous] EPS rows=[[0, s2, m2, 是], [1, s2, d2, 是]];next unique set=[d2, m2, s2];stable=否
條件:無
每個新增state有前一集合的EPS前驅,故有有限seed路徑;任何含seed且EPS封閉的集合都須含每一層。有限states只會新增有限次,穩定時即完整且最小closure,不消耗input。
步驟識別與依賴
規則:nfa_EVERY_EPS_saturation_stage_least_reachable_set · 依賴:G001, S007
S009 · implies
操作前
NFA ORIGINAL EPS closure:stage=1;ORIGINAL-relation EPS pass from previous set=[d2, m2, s2]
操作後
ALL [ORIGINAL index,from,to,from_in_previous] EPS rows=[[0, s2, m2, 是], [1, s2, d2, 是]];next unique set=[d2, m2, s2];stable=是
條件:無
每個新增state有前一集合的EPS前驅,故有有限seed路徑;任何含seed且EPS封閉的集合都須含每一層。有限states只會新增有限次,穩定時即完整且最小closure,不消耗input。
步驟識別與依賴
規則:nfa_EVERY_EPS_saturation_stage_least_reachable_set · 依賴:G001, S008