R0046-23965 · q-20261014-advance-20261112-r07-subset-construction-nfa-to-dfa-0090
逐步推導
S001 · implies
操作前
source operation=subsetdfa-full-word-trace-invariant;original snapshot and mathematics retained
操作後
explicit ordered source output fields=[input, DFA_prefix_subsets, direct_NFA_prefix_subsets, prefix_invariant, accepted, certificate, finite_tests_language_equivalence_claim, boundary]
條件:無
保留原題介面快照,本頁直接列來源欄序,不需JavaScript。radius由原mode選6/11欄,不補欄;No與實際否定依來源責任分清。
步驟識別與依賴
規則:source_ordered_interface_explicit_without_javascript · 依賴:G001
S002 · implies
操作前
ORIGINAL states=[s14, m14, f14, e114, e214, d14],alphabet=[a14, b14],start=s14;ORIGINAL transition order=[[s14, null, m14], [s14, null, d14], [m14, a14, m14], [m14, b14, f14], [f14, null, e114], [e114, null, e214]]
操作後
final set normalized UTF16=[f14];states nonempty,alphabet/finals/relation MAYEMPTY;DUPLICATE triples rejected in THIS model
條件:無
此題與前一NFA節點不同:transition triple須唯一,finals須排序。所有subset都是真carrier子集合;不偷用舊wrapper的duplicate/final-order慣例。
步驟識別與依賴
規則:subsetdfa_qualified_NFA_signature_DUPLICATE_edges_REJECTED_here · 依賴:G001, S001
S003 · implies
操作前
Subset DFA ORIGINAL whole-word start:stage=0;seed set=[s14];previous set=[s14]
操作後
ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s14, m14, 是], [1, s14, d14, 是], [4, f14, e114, 否], [5, e114, e214, 否]];next set=[d14, m14, s14];stable=否
條件:無
新增state都有前一層有限EPS路徑,任何含seed的EPS封閉集合都必含每層;有限states使飽和終止,得到完整且最小closure,不消耗input。
步驟識別與依賴
規則:subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · 依賴:G001, S002
S004 · implies
操作前
Subset DFA ORIGINAL whole-word start:stage=1;seed set=[s14];previous set=[d14, m14, s14]
操作後
ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s14, m14, 是], [1, s14, d14, 是], [4, f14, e114, 否], [5, e114, e214, 否]];next set=[d14, m14, s14];stable=是
條件:無
新增state都有前一層有限EPS路徑,任何含seed的EPS封閉集合都必含每層;有限states使飽和終止,得到完整且最小closure,不消耗input。
步驟識別與依賴
規則:subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · 依賴:G001, S003
S005 · implies
操作前
Subset DFA ORIGINAL prefix step0:EXACT ORIGINAL supplied S=[d14, m14, s14];symbol=a14;ALL matching ORIGINAL edge rows=[[2, m14, m14]]
操作後
direct symbol targets=[m14];NO EPS preclosure inserted into S;now close ONLY these targets
條件:無
任意給定S未必已EPS-closed,先preclose會改本題運算;定義明示先move(S,a)再closure。empty move得到合法empty dead state。
步驟識別與依賴
規則:subsetdfa_GIVEN_S_symbol_move_BEFORE_closure_NO_preclose · 依賴:G001, S004
S006 · implies
操作前
Subset DFA ORIGINAL prefix step0 post-symbol EPS closure:stage=0;seed set=[m14];previous set=[m14]
操作後
ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s14, m14, 否], [1, s14, d14, 否], [4, f14, e114, 否], [5, e114, e214, 否]];next set=[m14];stable=是
條件:無
新增state都有前一層有限EPS路徑,任何含seed的EPS封閉集合都必含每層;有限states使飽和終止,得到完整且最小closure,不消耗input。
步驟識別與依賴
規則:subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · 依賴:G001, S005
S007 · implies
操作前
Subset DFA ORIGINAL prefix step1:EXACT ORIGINAL supplied S=[m14];symbol=a14;ALL matching ORIGINAL edge rows=[[2, m14, m14]]
操作後
direct symbol targets=[m14];NO EPS preclosure inserted into S;now close ONLY these targets
條件:無
任意給定S未必已EPS-closed,先preclose會改本題運算;定義明示先move(S,a)再closure。empty move得到合法empty dead state。
步驟識別與依賴
規則:subsetdfa_GIVEN_S_symbol_move_BEFORE_closure_NO_preclose · 依賴:G001, S006
S008 · implies
操作前
Subset DFA ORIGINAL prefix step1 post-symbol EPS closure:stage=0;seed set=[m14];previous set=[m14]
操作後
ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s14, m14, 否], [1, s14, d14, 否], [4, f14, e114, 否], [5, e114, e214, 否]];next set=[m14];stable=是
條件:無
新增state都有前一層有限EPS路徑,任何含seed的EPS封閉集合都必含每層;有限states使飽和終止,得到完整且最小closure,不消耗input。
步驟識別與依賴
規則:subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · 依賴:G001, S007
S009 · implies
操作前
Subset DFA ORIGINAL prefix step2:EXACT ORIGINAL supplied S=[m14];symbol=b14;ALL matching ORIGINAL edge rows=[[3, m14, f14]]
操作後
direct symbol targets=[f14];NO EPS preclosure inserted into S;now close ONLY these targets
條件:無
任意給定S未必已EPS-closed,先preclose會改本題運算;定義明示先move(S,a)再closure。empty move得到合法empty dead state。
步驟識別與依賴
規則:subsetdfa_GIVEN_S_symbol_move_BEFORE_closure_NO_preclose · 依賴:G001, S008
S010 · implies
操作前
Subset DFA ORIGINAL prefix step2 post-symbol EPS closure:stage=0;seed set=[f14];previous set=[f14]
操作後
ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s14, m14, 否], [1, s14, d14, 否], [4, f14, e114, 是], [5, e114, e214, 否]];next set=[e114, f14];stable=否
條件:無
新增state都有前一層有限EPS路徑,任何含seed的EPS封閉集合都必含每層;有限states使飽和終止,得到完整且最小closure,不消耗input。
步驟識別與依賴
規則:subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · 依賴:G001, S009
S011 · implies
操作前
Subset DFA ORIGINAL prefix step2 post-symbol EPS closure:stage=1;seed set=[f14];previous set=[e114, f14]
操作後
ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s14, m14, 否], [1, s14, d14, 否], [4, f14, e114, 是], [5, e114, e214, 是]];next set=[e114, e214, f14];stable=否
條件:無
新增state都有前一層有限EPS路徑,任何含seed的EPS封閉集合都必含每層;有限states使飽和終止,得到完整且最小closure,不消耗input。
步驟識別與依賴
規則:subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · 依賴:G001, S010
S012 · implies
操作前
Subset DFA ORIGINAL prefix step2 post-symbol EPS closure:stage=2;seed set=[f14];previous set=[e114, e214, f14]
操作後
ALL [ORIGINAL edge index,from,to,enabled] EPS rows=[[0, s14, m14, 否], [1, s14, d14, 否], [4, f14, e114, 是], [5, e114, e214, 是]];next set=[e114, e214, f14];stable=是
條件:無
新增state都有前一層有限EPS路徑,任何含seed的EPS封閉集合都必含每層;有限states使飽和終止,得到完整且最小closure,不消耗input。
步驟識別與依賴
規則:subsetdfa_ALL_EPS_fixedpoint_reachability_not_input_consumption · 依賴:G001, S011
S013 · implies
操作前
ORIGINAL word=[a14, a14, b14];direct NFA configuration stage=0;previous configs=[[s14, 0]]
操作後
ALL enabled [from,ORIGINAL edge index,next] rows=[[[s14, 0], 0, [m14, 0]], [[s14, 0], 1, [d14, 0]]];next configs=[[s14, 0], [m14, 0], [d14, 0]];stable=否
條件:無
這條直接路徑在完整finite state×input-position圖上求所有reachable,不把一條chosen run當成全狀態,也不把DFA同一函式重跑冒充不同觀察。
步驟識別與依賴
規則:subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · 依賴:G001, S012
S014 · implies
操作前
ORIGINAL word=[a14, a14, b14];direct NFA configuration stage=1;previous configs=[[s14, 0], [m14, 0], [d14, 0]]
操作後
ALL enabled [from,ORIGINAL edge index,next] rows=[[[s14, 0], 0, [m14, 0]], [[s14, 0], 1, [d14, 0]], [[m14, 0], 2, [m14, 1]]];next configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1]];stable=否
條件:無
這條直接路徑在完整finite state×input-position圖上求所有reachable,不把一條chosen run當成全狀態,也不把DFA同一函式重跑冒充不同觀察。
步驟識別與依賴
規則:subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · 依賴:G001, S013
S015 · implies
操作前
ORIGINAL word=[a14, a14, b14];direct NFA configuration stage=2;previous configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1]]
操作後
ALL enabled [from,ORIGINAL edge index,next] rows=[[[s14, 0], 0, [m14, 0]], [[s14, 0], 1, [d14, 0]], [[m14, 0], 2, [m14, 1]], [[m14, 1], 2, [m14, 2]]];next configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1], [m14, 2]];stable=否
條件:無
這條直接路徑在完整finite state×input-position圖上求所有reachable,不把一條chosen run當成全狀態,也不把DFA同一函式重跑冒充不同觀察。
步驟識別與依賴
規則:subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · 依賴:G001, S014
S016 · implies
操作前
ORIGINAL word=[a14, a14, b14];direct NFA configuration stage=3;previous configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1], [m14, 2]]
操作後
ALL enabled [from,ORIGINAL edge index,next] rows=[[[s14, 0], 0, [m14, 0]], [[s14, 0], 1, [d14, 0]], [[m14, 0], 2, [m14, 1]], [[m14, 1], 2, [m14, 2]], [[m14, 2], 3, [f14, 3]]];next configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1], [m14, 2], [f14, 3]];stable=否
條件:無
這條直接路徑在完整finite state×input-position圖上求所有reachable,不把一條chosen run當成全狀態,也不把DFA同一函式重跑冒充不同觀察。
步驟識別與依賴
規則:subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · 依賴:G001, S015
S017 · implies
操作前
ORIGINAL word=[a14, a14, b14];direct NFA configuration stage=4;previous configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1], [m14, 2], [f14, 3]]
操作後
ALL enabled [from,ORIGINAL edge index,next] rows=[[[s14, 0], 0, [m14, 0]], [[s14, 0], 1, [d14, 0]], [[m14, 0], 2, [m14, 1]], [[m14, 1], 2, [m14, 2]], [[m14, 2], 3, [f14, 3]], [[f14, 3], 4, [e114, 3]]];next configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1], [m14, 2], [f14, 3], [e114, 3]];stable=否
條件:無
這條直接路徑在完整finite state×input-position圖上求所有reachable,不把一條chosen run當成全狀態,也不把DFA同一函式重跑冒充不同觀察。
步驟識別與依賴
規則:subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · 依賴:G001, S016
S018 · implies
操作前
ORIGINAL word=[a14, a14, b14];direct NFA configuration stage=5;previous configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1], [m14, 2], [f14, 3], [e114, 3]]
操作後
ALL enabled [from,ORIGINAL edge index,next] rows=[[[s14, 0], 0, [m14, 0]], [[s14, 0], 1, [d14, 0]], [[m14, 0], 2, [m14, 1]], [[m14, 1], 2, [m14, 2]], [[m14, 2], 3, [f14, 3]], [[f14, 3], 4, [e114, 3]], [[e114, 3], 5, [e214, 3]]];next configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1], [m14, 2], [f14, 3], [e114, 3], [e214, 3]];stable=否
條件:無
這條直接路徑在完整finite state×input-position圖上求所有reachable,不把一條chosen run當成全狀態,也不把DFA同一函式重跑冒充不同觀察。
步驟識別與依賴
規則:subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · 依賴:G001, S017
S019 · implies
操作前
ORIGINAL word=[a14, a14, b14];direct NFA configuration stage=6;previous configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1], [m14, 2], [f14, 3], [e114, 3], [e214, 3]]
操作後
ALL enabled [from,ORIGINAL edge index,next] rows=[[[s14, 0], 0, [m14, 0]], [[s14, 0], 1, [d14, 0]], [[m14, 0], 2, [m14, 1]], [[m14, 1], 2, [m14, 2]], [[m14, 2], 3, [f14, 3]], [[f14, 3], 4, [e114, 3]], [[e114, 3], 5, [e214, 3]]];next configs=[[s14, 0], [m14, 0], [d14, 0], [m14, 1], [m14, 2], [f14, 3], [e114, 3], [e214, 3]];stable=是
條件:無
這條直接路徑在完整finite state×input-position圖上求所有reachable,不把一條chosen run當成全狀態,也不把DFA同一函式重跑冒充不同觀察。
步驟識別與依賴
規則:subsetdfa_DIRECT_all_NFA_word_configurations_independent_fixedpoint · 依賴:G001, S018
S020 · implies
操作前
ORIGINAL word=[a14, a14, b14];ALL DFA prefix subsets=[[d14, m14, s14], [m14], [m14], [e114, e214, f14]];independent direct NFA prefix subsets=[[d14, m14, s14], [m14], [m14], [e114, e214, f14]]
操作後
prefix_invariant=是;accepted=是;base is EPS closure of start;for ANY prefix,append one symbol move then finite EPS suffix to obtain EXACTLY all next reachable states
條件:無
一般等價要對任意prefix歸納並證兩個包含:DFA步驟有NFA路徑見證;任一多讀一字的NFA路徑可切成前prefix、symbol邊、EPS後綴。再以與final交非空對應存在完整接受run。最後固定No只拒絕由有限word tests單獨宣稱一般等價,不否定本invariant、accepted或一般定理。
步驟識別與依賴
規則:subsetdfa_GENERAL_arbitrary_prefix_two_inclusions_acceptance_rule · 依賴:G001, S019