逐步推導
S001 · implies
操作前
source roles = [gd-one-step]
操作後
derived = [[point, gradient, step_size, next_point, objective_before, objective_after, nonincreasing, step_scope]]
條件:無
直接明列此操作與mode完整欄序,不依JavaScript、不由答案形狀猜角色;布林、字串、null與未作聲稱保持不同。
步驟識別與依賴
規則:source_ordered_fields_without_JS · 依賴:G001
S002 · calculation
操作前
GD ORIGINAL ORIGINAL gradient d*x coordinate0 := mul(2, 2)
操作後
GD ORIGINAL ORIGINAL gradient d*x coordinate0 = 4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S001
S003 · calculation
操作前
GD ORIGINAL ORIGINAL gradient plus b coordinate0 := sum(4, -2)
操作後
GD ORIGINAL ORIGINAL gradient plus b coordinate0 = 2
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S002
S004 · calculation
操作前
GD ORIGINAL ORIGINAL gradient d*x coordinate1 := mul(5, 2)
操作後
GD ORIGINAL ORIGINAL gradient d*x coordinate1 = 10
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · calculation
操作前
GD ORIGINAL ORIGINAL gradient plus b coordinate1 := sum(10, 3)
操作後
GD ORIGINAL ORIGINAL gradient plus b coordinate1 = 13
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S004
S006 · calculation
操作前
GD ORIGINAL ORIGINAL objective SQUARE FIRST coordinate0 := mul(2, 2)
操作後
GD ORIGINAL ORIGINAL objective SQUARE FIRST coordinate0 = 4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S005
S007 · calculation
操作前
GD ORIGINAL ORIGINAL diagonal times square coordinate0 := mul(2, 4)
操作後
GD ORIGINAL ORIGINAL diagonal times square coordinate0 = 8
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S006
S008 · calculation
操作前
GD ORIGINAL ORIGINAL quadratic divide2 coordinate0 := div(8, 2)
操作後
GD ORIGINAL ORIGINAL quadratic divide2 coordinate0 = 4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S007
S009 · calculation
操作前
GD ORIGINAL ORIGINAL linear product coordinate0 := mul(-2, 2)
操作後
GD ORIGINAL ORIGINAL linear product coordinate0 = -4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S008
S010 · calculation
操作前
GD ORIGINAL ORIGINAL coordinate objective sum0 := sum(4, -4)
操作後
GD ORIGINAL ORIGINAL coordinate objective sum0 = 0
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S009
S011 · calculation
操作前
GD ORIGINAL ORIGINAL objective running sum0 := sum(0, 0)
操作後
GD ORIGINAL ORIGINAL objective running sum0 = 0
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S010
S012 · calculation
操作前
GD ORIGINAL ORIGINAL objective SQUARE FIRST coordinate1 := mul(2, 2)
操作後
GD ORIGINAL ORIGINAL objective SQUARE FIRST coordinate1 = 4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S011
S013 · calculation
操作前
GD ORIGINAL ORIGINAL diagonal times square coordinate1 := mul(5, 4)
操作後
GD ORIGINAL ORIGINAL diagonal times square coordinate1 = 20
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S012
S014 · calculation
操作前
GD ORIGINAL ORIGINAL quadratic divide2 coordinate1 := div(20, 2)
操作後
GD ORIGINAL ORIGINAL quadratic divide2 coordinate1 = 10
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S013
S015 · calculation
操作前
GD ORIGINAL ORIGINAL linear product coordinate1 := mul(3, 2)
操作後
GD ORIGINAL ORIGINAL linear product coordinate1 = 6
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S014
S016 · calculation
操作前
GD ORIGINAL ORIGINAL coordinate objective sum1 := sum(10, 6)
操作後
GD ORIGINAL ORIGINAL coordinate objective sum1 = 16
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S015
S017 · calculation
操作前
GD ORIGINAL ORIGINAL objective running sum1 := sum(0, 16)
操作後
GD ORIGINAL ORIGINAL objective running sum1 = 16
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S016
S018 · implies
操作前
source roles = [GD ORIGINAL, [2, 5], [-2, 3], [2, 2]]
操作後
derived = [[2, 5], [-2, 3], [2, 2], [2, 13], 16]
條件:無
給定完整f(x)=1/2 Σd_i x_i²+Σb_i x_i,對每座標微分得d_i x_i+b_i(不是2d_i x_i)。完整gradient先算,再按原順序算objective,square先於乘di;正di與維度、座標次序均核對。
步驟識別與依賴
規則:GD_WHOLE_positive_diagonal_quadratic_ordered_gradient_and_objective · 依賴:G001, S017
S019 · calculation
操作前
GD ORIGINAL one step ORIGINAL alpha times gradient0 := mul(1/4, 2)
操作後
GD ORIGINAL one step ORIGINAL alpha times gradient0 = 1/2
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S018
S020 · calculation
操作前
GD ORIGINAL one step ORIGINAL next coordinate0 := sub(2, 1/2)
操作後
GD ORIGINAL one step ORIGINAL next coordinate0 = 3/2
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S019
S021 · calculation
操作前
GD ORIGINAL one step ORIGINAL alpha times gradient1 := mul(1/4, 13)
操作後
GD ORIGINAL one step ORIGINAL alpha times gradient1 = 13/4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S020
S022 · calculation
操作前
GD ORIGINAL one step ORIGINAL next coordinate1 := sub(2, 13/4)
操作後
GD ORIGINAL one step ORIGINAL next coordinate1 = -5/4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S021
S023 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL gradient d*x coordinate0 := mul(2, 3/2)
操作後
GD ORIGINAL one step next recomputation ORIGINAL gradient d*x coordinate0 = 3
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S022
S024 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL gradient plus b coordinate0 := sum(3, -2)
操作後
GD ORIGINAL one step next recomputation ORIGINAL gradient plus b coordinate0 = 1
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S023
S025 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL gradient d*x coordinate1 := mul(5, -5/4)
操作後
GD ORIGINAL one step next recomputation ORIGINAL gradient d*x coordinate1 = -25/4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S024
S026 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL gradient plus b coordinate1 := sum(-25/4, 3)
操作後
GD ORIGINAL one step next recomputation ORIGINAL gradient plus b coordinate1 = -13/4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S025
S027 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL objective SQUARE FIRST coordinate0 := mul(3/2, 3/2)
操作後
GD ORIGINAL one step next recomputation ORIGINAL objective SQUARE FIRST coordinate0 = 9/4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S026
S028 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL diagonal times square coordinate0 := mul(2, 9/4)
操作後
GD ORIGINAL one step next recomputation ORIGINAL diagonal times square coordinate0 = 9/2
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S027
S029 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL quadratic divide2 coordinate0 := div(9/2, 2)
操作後
GD ORIGINAL one step next recomputation ORIGINAL quadratic divide2 coordinate0 = 9/4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S028
S030 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL linear product coordinate0 := mul(-2, 3/2)
操作後
GD ORIGINAL one step next recomputation ORIGINAL linear product coordinate0 = -3
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S029
S031 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL coordinate objective sum0 := sum(9/4, -3)
操作後
GD ORIGINAL one step next recomputation ORIGINAL coordinate objective sum0 = -3/4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S030
S032 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL objective running sum0 := sum(0, -3/4)
操作後
GD ORIGINAL one step next recomputation ORIGINAL objective running sum0 = -3/4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S031
S033 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL objective SQUARE FIRST coordinate1 := mul(-5/4, -5/4)
操作後
GD ORIGINAL one step next recomputation ORIGINAL objective SQUARE FIRST coordinate1 = 25/16
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S032
S034 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL diagonal times square coordinate1 := mul(5, 25/16)
操作後
GD ORIGINAL one step next recomputation ORIGINAL diagonal times square coordinate1 = 125/16
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S033
S035 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL quadratic divide2 coordinate1 := div(125/16, 2)
操作後
GD ORIGINAL one step next recomputation ORIGINAL quadratic divide2 coordinate1 = 125/32
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S034
S036 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL linear product coordinate1 := mul(3, -5/4)
操作後
GD ORIGINAL one step next recomputation ORIGINAL linear product coordinate1 = -15/4
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S035
S037 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL coordinate objective sum1 := sum(125/32, -15/4)
操作後
GD ORIGINAL one step next recomputation ORIGINAL coordinate objective sum1 = 5/32
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S036
S038 · calculation
操作前
GD ORIGINAL one step next recomputation ORIGINAL objective running sum1 := sum(-3/4, 5/32)
操作後
GD ORIGINAL one step next recomputation ORIGINAL objective running sum1 = -19/32
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S037
S039 · implies
操作前
source roles = [GD ORIGINAL one step next recomputation, [[2, 1], [5, 1]], [[-2, 1], [3, 1]], [[3, 2], [-5, 4]]]
操作後
derived = [[2, 5], [-2, 3], [3/2, -5/4], [1, -13/4], -19/32]
條件:無
給定完整f(x)=1/2 Σd_i x_i²+Σb_i x_i,對每座標微分得d_i x_i+b_i(不是2d_i x_i)。完整gradient先算,再按原順序算objective,square先於乘di;正di與維度、座標次序均核對。
步驟識別與依賴
規則:GD_WHOLE_positive_diagonal_quadratic_ordered_gradient_and_objective · 依賴:G001, S038
S040 · implies
操作前
source roles = [[2, 2], [2, 13], 1/4]
操作後
derived = [[3/2, -5/4], 16, -19/32, 是]
條件:無
此題只要求正步長,逐真正前後objective比較。flag可False;不能因positive_step字串就假設下降,也不能私加safe-step條件來排除合法例子。
步驟識別與依賴
規則:GD_one_positive_step_ACTUAL_objective_comparison_not_safe_assumption · 依賴:G001, S039