逐步推導
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(1, 12)
操作後
Det scalar ORIGINAL entry0,0 = 12
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S001
S003 · calculation
操作前
Det scalar ORIGINAL entry0,1 := mul(1, 1)
操作後
Det scalar ORIGINAL entry0,1 = 1
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S002
S004 · calculation
操作前
Det scalar ORIGINAL entry1,0 := mul(1, -2)
操作後
Det scalar ORIGINAL entry1,0 = -2
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · calculation
操作前
Det scalar ORIGINAL entry1,1 := mul(1, 25)
操作後
Det scalar ORIGINAL entry1,1 = 25
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S004
S006 · implies
操作前
source roles = [[[12, 1], [-2, 25]], 1]
操作後
derived = [[[12, 1], [-2, 25]]]
條件:無
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(12, 25)
操作後
Det requested matrix ORIGINAL main diagonal product = 300
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S006
S008 · calculation
操作前
Det requested matrix ORIGINAL other diagonal product := mul(1, -2)
操作後
Det requested matrix ORIGINAL other diagonal product = -2
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S007
S009 · calculation
操作前
Det requested matrix ORIGINAL signed ad minus bc := sub(300, -2)
操作後
Det requested matrix ORIGINAL signed ad minus bc = 302
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S008
S010 · implies
操作前
source roles = [Det requested matrix, [[12, 1], [-2, 25]]]
操作後
derived = [300, -2, 302]
條件:無
對此2×2矩陣明列ad、bc,再用ad−bc保符號;不是永久式ad+bc。衍生矩陣元素不重套SAFE。
步驟識別與依賴
規則:Determinant_2x2_signed_ad_MINUS_bc · 依賴:G001, S009