逐步推導
S001 · implies
操作前
source roles = [qf-polynomial-exact-evaluation, [coefficients, operation, x]]
操作後
derived = [evaluate, no-invented-domain]
條件:無
按本bank核keys與operation/domain:legacy為各表underscore,MOD50用local hyphen;BASE參數較寬不加未知欄限制。Number.isInteger與SAFE兩種來源界分開,原JSON數字表示仍完整保存。
步驟識別與依賴
規則:R67_SOURCE_specific_keys_operation_domain_and_numeric_bank · 依賴:G001
S002 · implies
操作前
source roles = [polynomial ORIGINAL, [11, -1, 1]]
操作後
derived = [[11, -1, 1], [11, -1, 1]]
條件:無
Q[x]的係數按低次到高次,raw長0..32、每格先驗SAFE,包括尾端0;只刪trailing zeros,不刪內部0。零多項式內部空向量,顯示[0],不可改原source向量。
步驟識別與依賴
規則:Polynomial_RAW_ALL_SAFE_coefficients_trim_ONLY_trailing_zero · 依賴:G001, S001
S003 · calculation
操作前
Horner ORIGINAL prefix times x at degree2 := mul(0, 11)
操作後
Horner ORIGINAL prefix times x at degree2 = 0
條件:無
依原操作數與原次序精確計算;legacy衍生整數不重套raw SAFE界,MOD50有理數則另保naive pre-reduction來源界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S002
S004 · calculation
操作前
Horner ORIGINAL add coefficient at degree2 := sum(0, 1)
操作後
Horner ORIGINAL add coefficient at degree2 = 1
條件:無
依原操作數與原次序精確計算;legacy衍生整數不重套raw SAFE界,MOD50有理數則另保naive pre-reduction來源界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · calculation
操作前
Horner ORIGINAL prefix times x at degree1 := mul(1, 11)
操作後
Horner ORIGINAL prefix times x at degree1 = 11
條件:無
依原操作數與原次序精確計算;legacy衍生整數不重套raw SAFE界,MOD50有理數則另保naive pre-reduction來源界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S004
S006 · calculation
操作前
Horner ORIGINAL add coefficient at degree1 := sum(11, -1)
操作後
Horner ORIGINAL add coefficient at degree1 = 10
條件:無
依原操作數與原次序精確計算;legacy衍生整數不重套raw SAFE界,MOD50有理數則另保naive pre-reduction來源界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S005
S007 · calculation
操作前
Horner ORIGINAL prefix times x at degree0 := mul(10, 11)
操作後
Horner ORIGINAL prefix times x at degree0 = 110
條件:無
依原操作數與原次序精確計算;legacy衍生整數不重套raw SAFE界,MOD50有理數則另保naive pre-reduction來源界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S006
S008 · calculation
操作前
Horner ORIGINAL add coefficient at degree0 := sum(110, 11)
操作後
Horner ORIGINAL add coefficient at degree0 = 121
條件:無
依原操作數與原次序精確計算;legacy衍生整數不重套raw SAFE界,MOD50有理數則另保naive pre-reduction來源界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S007
S009 · implies
操作前
source roles = [[11, -1, 1], 11]
操作後
derived = [121]
條件:無
由最高冪往下反覆乘x再加本係數,涵蓋全部係數;zero polynomial空loop值0。這只求本x的值,不以兩式單點相等認證恆等式,也不限制衍生整數大小。
步驟識別與依賴
規則:Polynomial_HORNER_complete_exact_evaluation_NOT_identity · 依賴:G001, S008