逐步推導
S001 · implies
操作前
source roles = [qf-derivative-rule-scalar, derivative_scalar, domain, reals]
操作後
derived = [[integer_derivative_value]]
條件:無
先核本題欄位與來源協議:distance只用完整座標frame,其他用domain;離散運算local-hyphen,舊bank用underscore。輸出欄序及型別依題族,保留原始中英資料與狀態。
步驟識別與依賴
規則:R61_SOURCE_exact_keys_operation_domain_OR_frame_and_output_roles · 依賴:G001
S002 · implies
操作前
source roles = [f OUTER or first, [-4, 9, 1, 1]]
操作後
derived = [[-4, 9, 1, 1]]
條件:無
先驗raw係數向量1..4及每個SAFE整數,再修去尾零但保留零多項式[0]。已給的是整個R上多項式法則,不能把少數樣本當可微性證明。
步驟識別與依賴
規則:Derivative_RAW_ascending_arity_BEFORE_trim_whole_polynomial_R · 依賴:G001, S001
S003 · calculation
操作前
f derivative coefficient power1 := mul(1, 9)
操作後
f derivative coefficient power1 = 9
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S002
S004 · calculation
操作前
f derivative coefficient power2 := mul(2, 1)
操作後
f derivative coefficient power2 = 2
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · calculation
操作前
f derivative coefficient power3 := mul(3, 1)
操作後
f derivative coefficient power3 = 3
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S004
S006 · implies
操作前
source roles = [f, [-4, 9, 1, 1]]
操作後
derived = [[9, 2, 3]]
條件:無
逐項用(a_k x^k)′=k a_k x^(k−1),常數導數為0。全部非零高次項都保留,不截成raw向量界。
步驟識別與依賴
規則:Derivative_POWER_rule_EVERY_nonconstant_term_constant_derivative_zero · 依賴:G001, S005
S007 · calculation
操作前
f derivative at ORIGINAL x Horner power2 times argument := mul(0, 1)
操作後
f derivative at ORIGINAL x Horner power2 times argument = 0
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S006
S008 · calculation
操作前
f derivative at ORIGINAL x Horner power2 plus coefficient := sum(0, 3)
操作後
f derivative at ORIGINAL x Horner power2 plus coefficient = 3
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S007
S009 · calculation
操作前
f derivative at ORIGINAL x Horner power1 times argument := mul(3, 1)
操作後
f derivative at ORIGINAL x Horner power1 times argument = 3
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S008
S010 · calculation
操作前
f derivative at ORIGINAL x Horner power1 plus coefficient := sum(3, 2)
操作後
f derivative at ORIGINAL x Horner power1 plus coefficient = 5
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S009
S011 · calculation
操作前
f derivative at ORIGINAL x Horner power0 times argument := mul(5, 1)
操作後
f derivative at ORIGINAL x Horner power0 times argument = 5
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S010
S012 · calculation
操作前
f derivative at ORIGINAL x Horner power0 plus coefficient := sum(5, 9)
操作後
f derivative at ORIGINAL x Horner power0 plus coefficient = 14
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S011
S013 · implies
操作前
source roles = [f derivative at ORIGINAL x, [9, 2, 3], 1]
操作後
derived = [14]
條件:無
升冪資料由最高次開始Horner,逐次乘明示argument再加原係數,包含所有零項;不將inner值誤換為原x。
步驟識別與依賴
規則:Derivative_HORNER_ALL_coefficients_AT_declared_argument · 依賴:G001, S012
S014 · calculation
操作前
Derivative scalar ORIGINAL c times fprime := mul(1, 14)
操作後
Derivative scalar ORIGINAL c times fprime = 14
條件:無
保留原操作數與次序,作精確整數計算;只對原始輸入檢查SAFE,衍生整數不再套上輸入界,且不用浮點近似。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S013
S015 · implies
操作前
source roles = [[-4, 9, 1, 1], 1, 1, [9, 2, 3]]
操作後
derived = [14, 14]
條件:無
常數倍法則(c f)′=c f′,c可為0或負數。即使c=0,仍先驗整個raw f及x,不能短路隱藏非法欄位。
步驟識別與依賴
規則:Derivative_SCALAR_rule_ALL_raw_validated_even_c0 · 依賴:G001, S014