逐步推導
S001 · implies
操作前
source roles = [qf-determinant-scalar, scaled_determinant, domain, reals]
操作後
derived = [[integer_det_cM]]
條件:無
先核本題欄位與來源協議:distance只用完整座標frame,其他用domain;離散運算local-hyphen,舊bank用underscore。輸出欄序及型別依題族,保留原始中英資料與狀態。
步驟識別與依賴
規則:R61_SOURCE_exact_keys_operation_domain_OR_frame_and_output_roles · 依賴:G001
S002 · calculation
操作前
Det scalar ORIGINAL entry0,0 := mul(-2, 1)
操作後
Det scalar ORIGINAL entry0,0 = -2
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S001
S003 · calculation
操作前
Det scalar ORIGINAL entry0,1 := mul(-2, 2)
操作後
Det scalar ORIGINAL entry0,1 = -4
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S002
S004 · calculation
操作前
Det scalar ORIGINAL entry1,0 := mul(-2, -2)
操作後
Det scalar ORIGINAL entry1,0 = 4
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · calculation
操作前
Det scalar ORIGINAL entry1,1 := mul(-2, 14)
操作後
Det scalar ORIGINAL entry1,1 = -28
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S004
S006 · implies
操作前
source roles = [[[1, 2], [-2, 14]], -2]
操作後
derived = [[[-2, -4], [4, -28]]]
條件:無
c乘全部四個entry,之後才取det。因為2×2有兩個row因子,整體是c² det(M)而非c det(M);c=0或負數合法。
步驟識別與依賴
規則:Determinant_SCALE_ALL_entries_c2_factor_in_dimension2 · 依賴:G001, S005
S007 · calculation
操作前
Det requested matrix ORIGINAL main diagonal product := mul(-2, -28)
操作後
Det requested matrix ORIGINAL main diagonal product = 56
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S006
S008 · calculation
操作前
Det requested matrix ORIGINAL other diagonal product := mul(-4, 4)
操作後
Det requested matrix ORIGINAL other diagonal product = -16
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S007
S009 · calculation
操作前
Det requested matrix ORIGINAL signed ad minus bc := sub(56, -16)
操作後
Det requested matrix ORIGINAL signed ad minus bc = 72
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S008
S010 · implies
操作前
source roles = [Det requested matrix, [[-2, -4], [4, -28]]]
操作後
derived = [56, -16, 72]
條件:無
對此2×2矩陣明列ad、bc,再用ad−bc保符號;不是永久式ad+bc。衍生矩陣元素不重套SAFE。
步驟識別與依賴
規則:Determinant_2x2_signed_ad_MINUS_bc · 依賴:G001, S009