逐步推導
S001 · implies
操作前
source roles = [qf-simple-graph-handshaking, [E, V, operation]]
操作後
derived = [handshaking, no-invented-domain]
條件:無
各bank的keys/operation/domain獨立:LDL/PULSE/function legacy為表內underscore,TREE是完整tree_*與明定domain,BASE signed較寬不偷加op/domain。所有算術保持binary primitive契約。
步驟識別與依賴
規則:R69_SOURCE_specific_keys_operation_domain_AND_binary_contract · 依賴:G001
S002 · implies
操作前
source roles = [LDL graph vertices ORIGINAL, 100, [-9, -8, -7, -6, -5, -4]]
操作後
derived = [[-9, -8, -7, -6, -5, -4]]
條件:無
先驗全部raw SAFE元素、不重複及此bank個數界,空集合法;只把衍生表示排序,原JSON不修改。TREE與LDL的上限不可互搬。
步驟識別與依賴
規則:Finite_RAW_ALL_SAFE_distinct_labels_then_derived_sort · 依賴:G001, S001
S003 · implies
操作前
source roles = [LDL raw edges ORIGINAL, 0, [-9, -8]]
操作後
derived = [[-9, -8]]
條件:無
去重之前逐raw pair驗恰兩個SAFE分量;相同row可作表示重複,但不能先丟掉未驗欄位。
步驟識別與依賴
規則:Pairs_EVERY_RAW_two_SAFE_cells_BEFORE_any_dedup · 依賴:G001, S002
S004 · implies
操作前
source roles = [LDL raw edges ORIGINAL, 1, [-9, -7]]
操作後
derived = [[-9, -7]]
條件:無
去重之前逐raw pair驗恰兩個SAFE分量;相同row可作表示重複,但不能先丟掉未驗欄位。
步驟識別與依賴
規則:Pairs_EVERY_RAW_two_SAFE_cells_BEFORE_any_dedup · 依賴:G001, S003
S005 · implies
操作前
source roles = [LDL raw edges ORIGINAL, 2, [-8, -7]]
操作後
derived = [[-8, -7]]
條件:無
去重之前逐raw pair驗恰兩個SAFE分量;相同row可作表示重複,但不能先丟掉未驗欄位。
步驟識別與依賴
規則:Pairs_EVERY_RAW_two_SAFE_cells_BEFORE_any_dedup · 依賴:G001, S004
S006 · implies
操作前
source roles = [[-9, -8, -7, -6, -5, -4], [[-9, -8], [-9, -7], [-8, -7]], 否]
操作後
derived = [[[-9, -8], [-9, -7], [-8, -7]], [[-9, [-8, -7]], [-8, [-9, -7]], [-7, [-9, -8]], [-6, []], [-5, []], [-4, []]]]
條件:無
完整raw edges先型別檢查、再作無向正規化/去重,反向重複合法;輸入edge不准loop或carrier外端點,孤立頂點仍留在V。TREE raw E不借用LDL的200界。
步驟識別與依賴
規則:Graph_WHOLE_simple_undirected_edges_normalized_NO_loops_or_outside · 依賴:G001, S005
S007 · implies
操作前
source roles = [-9, [-8, -7]]
操作後
derived = [2]
條件:無
每個V頂點逐不同鄰點計度,孤立點0,不漏未出現在edge清單的頂點。
步驟識別與依賴
規則:Graph_DEGREE_EACH_vertex_including_isolated · 依賴:G001, S006
S008 · implies
操作前
source roles = [-8, [-9, -7]]
操作後
derived = [2]
條件:無
每個V頂點逐不同鄰點計度,孤立點0,不漏未出現在edge清單的頂點。
步驟識別與依賴
規則:Graph_DEGREE_EACH_vertex_including_isolated · 依賴:G001, S007
S009 · implies
操作前
source roles = [-7, [-9, -8]]
操作後
derived = [2]
條件:無
每個V頂點逐不同鄰點計度,孤立點0,不漏未出現在edge清單的頂點。
步驟識別與依賴
規則:Graph_DEGREE_EACH_vertex_including_isolated · 依賴:G001, S008
S010 · implies
操作前
source roles = [-6, []]
操作後
derived = [0]
條件:無
每個V頂點逐不同鄰點計度,孤立點0,不漏未出現在edge清單的頂點。
步驟識別與依賴
規則:Graph_DEGREE_EACH_vertex_including_isolated · 依賴:G001, S009
S011 · implies
操作前
source roles = [-5, []]
操作後
derived = [0]
條件:無
每個V頂點逐不同鄰點計度,孤立點0,不漏未出現在edge清單的頂點。
步驟識別與依賴
規則:Graph_DEGREE_EACH_vertex_including_isolated · 依賴:G001, S010
S012 · implies
操作前
source roles = [-4, []]
操作後
derived = [0]
條件:無
每個V頂點逐不同鄰點計度,孤立點0,不漏未出現在edge清單的頂點。
步驟識別與依賴
規則:Graph_DEGREE_EACH_vertex_including_isolated · 依賴:G001, S011
S013 · calculation
操作前
Graph ORIGINAL all vertex degrees sum := sum(2, 2, 2, 0, 0, 0)
操作後
Graph ORIGINAL all vertex degrees sum = 6
條件:無
精確使用原操作數;乘/減/除每步明示兩項,避免舊binary primitive忽略第三項。raw SAFE與無界BigInt衍生量分開,不以浮點近似湊答案。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S012
S014 · calculation
操作前
Graph ORIGINAL two endpoints per normalized edge := mul(2, 3)
操作後
Graph ORIGINAL two endpoints per normalized edge = 6
條件:無
精確使用原操作數;乘/減/除每步明示兩項,避免舊binary primitive忽略第三項。raw SAFE與無界BigInt衍生量分開,不以浮點近似湊答案。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S013
S015 · implies
操作前
source roles = [[-9, -8, -7, -6, -5, -4], [[-9, -8], [-9, -7], [-8, -7]], [2, 2, 2, 0, 0, 0]]
操作後
derived = [6, 6]
條件:無
每條無向edge恰貢獻兩個端點incidences,所以完整度和=2|E|;空圖兩邊都0。這是此有限圖的完整重算與雙計數,不從草圖判定。
步驟識別與依賴
規則:Graph_HANDSHAKE_complete_incidence_double_count · 依賴:G001, S014