原題與已知條件
完整有限無向簡單圖與每頂點顏色。操作=coloring-relabel-invariance;資料={"n":6,"edges":[[0,1],[1,2],[2,3],[3,4],[4,5]],"colors":[0,1,0,1,0,1],"relabel":[14,44]}。請依 [colors,recolored,proper_before,proper_after,same_conflicts,boundary] 欄序回答。
G001 — 完整有限無向簡單圖與每頂點顏色。操作=coloring-relabel-invariance;資料={"n":6,"edges":[[0,1],[1,2],[2,3],[3,4],[4,5]],"colors":[0,1,0,1,0,1],"relabel":[14,44]}。請依 [colors,recolored,proper_before,proper_after,same_conflicts,boundary] 欄序回答。
逐步推導
S001 · implies
操作前
complete undirected vertex carrier Fin(6);original edges=[[0, 1], [1, 2], [2, 3], [3, 4], [4, 5]]
操作後
normalized sorted simple edges=[[0, 1], [1, 2], [2, 3], [3, 4], [4, 5]];all vertices including isolates=[0, 1, 2, 3, 4, 5]
條件:無
逐邊先排端點再把邊作字典序排序,反向重複仍是同一邊而須拒絕;loop亦拒絕。完整載體包括沒有邊的頂點,不能從邊表遺漏它們。
步驟識別與依賴
規則:graph_complete_simple_carrier_normalized_edge_order · 依賴:G001
S002 · implies
操作前
colors:normalized edge index=0;edge=[0, 1];endpoint labels=[0, 1]
操作後
different endpoints=是;same-label conflict=否
條件:無
只檢同一條實際邊的兩端;不相鄰頂點重用標記不算衝突,某一條跨部亦不代表其他邊都通過。
步驟識別與依賴
規則:graph_every_edge_endpoint_constraint · 依賴:G001, S001
S003 · implies
操作前
colors:normalized edge index=1;edge=[1, 2];endpoint labels=[1, 0]
操作後
different endpoints=是;same-label conflict=否
條件:無
只檢同一條實際邊的兩端;不相鄰頂點重用標記不算衝突,某一條跨部亦不代表其他邊都通過。
步驟識別與依賴
規則:graph_every_edge_endpoint_constraint · 依賴:G001, S002
S004 · implies
操作前
colors:normalized edge index=2;edge=[2, 3];endpoint labels=[0, 1]
操作後
different endpoints=是;same-label conflict=否
條件:無
只檢同一條實際邊的兩端;不相鄰頂點重用標記不算衝突,某一條跨部亦不代表其他邊都通過。
步驟識別與依賴
規則:graph_every_edge_endpoint_constraint · 依賴:G001, S003
S005 · implies
操作前
colors:normalized edge index=3;edge=[3, 4];endpoint labels=[1, 0]
操作後
different endpoints=是;same-label conflict=否
條件:無
只檢同一條實際邊的兩端;不相鄰頂點重用標記不算衝突,某一條跨部亦不代表其他邊都通過。
步驟識別與依賴
規則:graph_every_edge_endpoint_constraint · 依賴:G001, S004
S006 · implies
操作前
colors:normalized edge index=4;edge=[4, 5];endpoint labels=[0, 1]
操作後
different endpoints=是;same-label conflict=否
條件:無
只檢同一條實際邊的兩端;不相鄰頂點重用標記不算衝突,某一條跨部亦不代表其他邊都通過。
步驟識別與依賴
規則:graph_every_edge_endpoint_constraint · 依賴:G001, S005
S007 · implies
操作前
total original vertex colors=[0, 1, 0, 1, 0, 1];all normalized conflicts=[]
操作後
increasing distinct used labels=[0, 1];used count=2;all edges proper=是
條件:無
顏色是名字,使用幾種要數distinct,不用最大標籤加1。只有相鄰同色才衝突,非相鄰重用同色合法。
步驟識別與依賴
規則:coloring_distinct_label_count_not_numeric_magnitude · 依賴:G001, S006
S008 · implies
操作前
original used labels=[0, 1];raw relabel table=[14, 44]
操作後
used-label image pairs=[[0, 14], [1, 44]];injective on USED labels=是;recolored original vertices=[14, 44, 14, 44, 14, 44]
條件:無
只要求用過的顏色都在表內且異名仍異名,不強加未使用項的全域排列條件;逐原頂點順序套表,不以排序後位置代替顏色標籤。
步驟識別與依賴
規則:coloring_injective_used_label_renaming_not_global_permutation · 依賴:G001, S007
S009 · implies
操作前
normalized edge index=0;edge=[0, 1];old endpoint colors=[0, 1];new endpoint colors=[14, 44]
操作後
equal before=否;equal after=否;same conflict test=是
條件:無
單射改名保留相等與不相等,故每條邊的衝突真值不變;原本不proper的著色也不會被純改名修好。
步驟識別與依賴
規則:coloring_every_conflict_preserved_by_injective_renaming · 依賴:G001, S008
S010 · implies
操作前
normalized edge index=1;edge=[1, 2];old endpoint colors=[1, 0];new endpoint colors=[44, 14]
操作後
equal before=否;equal after=否;same conflict test=是
條件:無
單射改名保留相等與不相等,故每條邊的衝突真值不變;原本不proper的著色也不會被純改名修好。
步驟識別與依賴
規則:coloring_every_conflict_preserved_by_injective_renaming · 依賴:G001, S009
S011 · implies
操作前
normalized edge index=2;edge=[2, 3];old endpoint colors=[0, 1];new endpoint colors=[14, 44]
操作後
equal before=否;equal after=否;same conflict test=是
條件:無
單射改名保留相等與不相等,故每條邊的衝突真值不變;原本不proper的著色也不會被純改名修好。
步驟識別與依賴
規則:coloring_every_conflict_preserved_by_injective_renaming · 依賴:G001, S010
S012 · implies
操作前
normalized edge index=3;edge=[3, 4];old endpoint colors=[1, 0];new endpoint colors=[44, 14]
操作後
equal before=否;equal after=否;same conflict test=是
條件:無
單射改名保留相等與不相等,故每條邊的衝突真值不變;原本不proper的著色也不會被純改名修好。
步驟識別與依賴
規則:coloring_every_conflict_preserved_by_injective_renaming · 依賴:G001, S011
S013 · implies
操作前
normalized edge index=4;edge=[4, 5];old endpoint colors=[0, 1];new endpoint colors=[14, 44]
操作後
equal before=否;equal after=否;same conflict test=是
條件:無
單射改名保留相等與不相等,故每條邊的衝突真值不變;原本不proper的著色也不會被純改名修好。
步驟識別與依賴
規則:coloring_every_conflict_preserved_by_injective_renaming · 依賴:G001, S012
結論
([0, 1, 0, 1, 0, 1], [14, 44, 14, 44, 14, 44], 是, 是, 是, color_names_do_not_change_vertex_partition)
依上列完整代值及條件核對得到原題答案;原題編號、格式與狀態保持不變。