S001 · implies
操作前
n=5;raw edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
操作後
canonical edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
條件:無
整張簡單無向圖先查端點合型且無自環;邊兩端排序、反向與重複邊只算一次,不以畫法猜相鄰。
步驟識別與依賴
規則:simple_graph_edge_normalization · 依賴:G001
R0015-08069 · q-20261012-advance-20261017-r05-graph-0069
簡單無向圖,Fin頂點從0起。V=Fin(5)=[0, 1, 2, 3, 4],無向邊列項=[[0, 1], [0, 2], [0, 3], [0, 4]];各邊兩端皆合法且相異。候選邊=[0, 4]。已存在則移除,未存在則新增。答 (原邊集, 排序候選邊, 新增或移除, 新邊集, 原度數, 新度數, 有號度數差, 度差總和)。
G001 — 簡單無向圖,Fin頂點從0起。V=Fin(5)=[0, 1, 2, 3, 4],無向邊列項=[[0, 1], [0, 2], [0, 3], [0, 4]];各邊兩端皆合法且相異。候選邊=[0, 4]。已存在則移除,未存在則新增。答 (原邊集, 排序候選邊, 新增或移除, 新邊集, 原度數, 新度數, 有號度數差, 度差總和)。沿用原題明示的論域、假設與來源 MKO 定義。本題已完成第二對話數理與中英語義覆核,並由原始參數逐題獨立重算模型、答案與每個算術步驟;原題仍為 candidate。
操作前
n=5;raw edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
操作後
canonical edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
條件:無
整張簡單無向圖先查端點合型且無自環;邊兩端排序、反向與重複邊只算一次,不以畫法猜相鄰。
規則:simple_graph_edge_normalization · 依賴:G001
操作前
phase=original;vertex=0;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
操作後
neighbors=[1, 2, 3, 4];degree=4
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S001
操作前
phase=original;vertex=1;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
操作後
neighbors=[0];degree=1
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S002
操作前
phase=original;vertex=2;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
操作後
neighbors=[0];degree=1
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S003
操作前
phase=original;vertex=3;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
操作後
neighbors=[0];degree=1
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S004
操作前
phase=original;vertex=4;all edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
操作後
neighbors=[0];degree=1
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S005
操作前
typed candidate=[0, 4];old edges=[[0, 1], [0, 2], [0, 3], [0, 4]]
操作後
action=移除;new edges=[[0, 1], [0, 2], [0, 3]]
條件:無
反向候選先正規化,再由原邊集決定新增或移除,恰改一條無向邊。
規則:toggle_one_undirected_nonloop_edge · 依賴:G001, S006
操作前
phase=toggled;vertex=0;all edges=[[0, 1], [0, 2], [0, 3]]
操作後
neighbors=[1, 2, 3];degree=3
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S007
操作前
phase=toggled;vertex=1;all edges=[[0, 1], [0, 2], [0, 3]]
操作後
neighbors=[0];degree=1
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S008
操作前
phase=toggled;vertex=2;all edges=[[0, 1], [0, 2], [0, 3]]
操作後
neighbors=[0];degree=1
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S009
操作前
phase=toggled;vertex=3;all edges=[[0, 1], [0, 2], [0, 3]]
操作後
neighbors=[0];degree=1
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S010
操作前
phase=toggled;vertex=4;all edges=[[0, 1], [0, 2], [0, 3]]
操作後
neighbors=[];degree=0
條件:無
掃描所有正規邊,只有以本頂點為端點的邊才給一個不同鄰居;原頂點標籤保留。
規則:complete_graph_neighbor_inventory · 依賴:G001, S011
操作前
degree delta0 := sub(3, 4)
操作後
degree delta0 = -1
條件:無
按本步指定順序精確代入原數據,分母非零才允許除法。
規則:exact_rational_arithmetic · 依賴:G001, S012
操作前
degree delta1 := sub(1, 1)
操作後
degree delta1 = 0
條件:無
按本步指定順序精確代入原數據,分母非零才允許除法。
規則:exact_rational_arithmetic · 依賴:G001, S013
操作前
degree delta2 := sub(1, 1)
操作後
degree delta2 = 0
條件:無
按本步指定順序精確代入原數據,分母非零才允許除法。
規則:exact_rational_arithmetic · 依賴:G001, S014
操作前
degree delta3 := sub(1, 1)
操作後
degree delta3 = 0
條件:無
按本步指定順序精確代入原數據,分母非零才允許除法。
規則:exact_rational_arithmetic · 依賴:G001, S015
操作前
degree delta4 := sub(0, 1)
操作後
degree delta4 = -1
條件:無
按本步指定順序精確代入原數據,分母非零才允許除法。
規則:exact_rational_arithmetic · 依賴:G001, S016
操作前
degree delta sum := sum(-1, 0, 0, 0, -1)
操作後
degree delta sum = -2
條件:無
按本步指定順序精確代入原數據,分母非零才允許除法。
規則:exact_rational_arithmetic · 依賴:G001, S017
S018 · premise_and_result_audit — 以精確有理數重算 degree delta sum,不以小數近似替代。S017 · premise_and_result_audit — 以精確有理數重算 degree delta4,不以小數近似替代。S016 · premise_and_result_audit — 以精確有理數重算 degree delta3,不以小數近似替代。S015 · premise_and_result_audit — 以精確有理數重算 degree delta2,不以小數近似替代。S014 · premise_and_result_audit — 以精確有理數重算 degree delta1,不以小數近似替代。S013 · premise_and_result_audit — 以精確有理數重算 degree delta0,不以小數近似替代。S012 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S011 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S010 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S009 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S008 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S007 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S006 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S005 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S004 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S003 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S002 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S001 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。([[0, 1], [0, 2], [0, 3], [0, 4]], [0, 4], 移除, [[0, 1], [0, 2], [0, 3]], [4, 1, 1, 1, 1], [3, 1, 1, 1, 0], [-1, 0, 0, 0, -1], -2)
依上列完整代值及條件核對得到原題答案;原題編號、格式與狀態保持不變。
覆核日期:2026-10-26
原題、答案、步驟表達式、數值 AST 與既有歷史保持原樣;原來的候選狀態屬於來源歷史,不覆寫為形式化證明。
input commit: 0f7be61e2c22317a4075561dc822c87d881a50dboriginal question SHA-256: 3f4ce94555d4988a895cfe377d4c6cb372ec1a1b3317e7e4de0da24468750b9ccandidate record SHA-256: 3df2f48e36a75e94972e804f5a0d51161c1a16eb34c12683e14a5c963ee8a6e5semantic review receipt SHA-256: 6ecad9d909199221a07e923f87425e80b3bdec3eed46fe5910d04fca694cae18question-first witness SHA-256: e8f00458977a09493b5f9f05ab9e6feec72debaf4c7d1c609d1fc95900a35a1bLean: NOT_RUN · human review: NOT_PERFORMED