逐步推導
S001 · implies
操作前
source roles = [biasvar-single-theta-identity]
操作後
derived = [[theta, law_rows, mean, bias, variance, MSE, variance_plus_bias_squared, identity_holds, certificate]]
條件:無
直接列完整來源欄序,不需JavaScript。LP weak為13欄、zero與strong為15欄,前提與角色依原operation/mode,不補欄。
步驟識別與依賴
規則:source_ordered_fields_without_JS · 依賴:G001
S002 · calculation
操作前
Biasvar ORIGINAL single theta ORIGINAL mass sum := sum(1/4, 1/2, 1/4)
操作後
Biasvar ORIGINAL single theta ORIGINAL mass sum = 1
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S001
S003 · implies
操作前
source roles = [Biasvar ORIGINAL single theta, -2, [-2, 0, 2], [[1, 4], [1, 2], [1, 4]]]
操作後
derived = [[(-2, 1/4), (0, 1/2), (2, 1/4)], 1]
條件:無
先核同一P_theta全law,原序mass非負總和1,再連value/mass一起數值排序;null rows保留。與前一MSE節點不同,這裡明示要證bias-variance分解。
步驟識別與依賴
規則:Biasvar_complete_SAME_law_numeric_sorted_ALIGNED_null_rows · 依賴:G001, S002
S004 · calculation
操作前
Biasvar ORIGINAL single theta mean product0 := mul(-2, 1/4)
操作後
Biasvar ORIGINAL single theta mean product0 = -1/2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · calculation
操作前
Biasvar ORIGINAL single theta mean product1 := mul(0, 1/2)
操作後
Biasvar ORIGINAL single theta mean product1 = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S004
S006 · calculation
操作前
Biasvar ORIGINAL single theta mean product2 := mul(2, 1/4)
操作後
Biasvar ORIGINAL single theta mean product2 = 1/2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S005
S007 · calculation
操作前
Biasvar ORIGINAL single theta mean sum := sum(-1/2, 0, 1/2)
操作後
Biasvar ORIGINAL single theta mean sum = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S006
S008 · calculation
操作前
Biasvar ORIGINAL single theta bias mean minus theta := sub(0, -2)
操作後
Biasvar ORIGINAL single theta bias mean minus theta = 2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S007
S009 · calculation
操作前
Biasvar ORIGINAL single theta centered deviation0 := sub(-2, 0)
操作後
Biasvar ORIGINAL single theta centered deviation0 = -2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S008
S010 · calculation
操作前
Biasvar ORIGINAL single theta centered square0 := mul(-2, -2)
操作後
Biasvar ORIGINAL single theta centered square0 = 4
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S009
S011 · calculation
操作前
Biasvar ORIGINAL single theta variance weighted term0 := mul(1/4, 4)
操作後
Biasvar ORIGINAL single theta variance weighted term0 = 1
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S010
S012 · calculation
操作前
Biasvar ORIGINAL single theta centered deviation1 := sub(0, 0)
操作後
Biasvar ORIGINAL single theta centered deviation1 = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S011
S013 · calculation
操作前
Biasvar ORIGINAL single theta centered square1 := mul(0, 0)
操作後
Biasvar ORIGINAL single theta centered square1 = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S012
S014 · calculation
操作前
Biasvar ORIGINAL single theta variance weighted term1 := mul(1/2, 0)
操作後
Biasvar ORIGINAL single theta variance weighted term1 = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S013
S015 · calculation
操作前
Biasvar ORIGINAL single theta centered deviation2 := sub(2, 0)
操作後
Biasvar ORIGINAL single theta centered deviation2 = 2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S014
S016 · calculation
操作前
Biasvar ORIGINAL single theta centered square2 := mul(2, 2)
操作後
Biasvar ORIGINAL single theta centered square2 = 4
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S015
S017 · calculation
操作前
Biasvar ORIGINAL single theta variance weighted term2 := mul(1/4, 4)
操作後
Biasvar ORIGINAL single theta variance weighted term2 = 1
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S016
S018 · calculation
操作前
Biasvar ORIGINAL single theta variance sum := sum(1, 0, 1)
操作後
Biasvar ORIGINAL single theta variance sum = 2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S017
S019 · calculation
操作前
Biasvar ORIGINAL single theta theta error0 := sub(-2, -2)
操作後
Biasvar ORIGINAL single theta theta error0 = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S018
S020 · calculation
操作前
Biasvar ORIGINAL single theta theta square0 := mul(0, 0)
操作後
Biasvar ORIGINAL single theta theta square0 = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S019
S021 · calculation
操作前
Biasvar ORIGINAL single theta direct MSE term0 := mul(1/4, 0)
操作後
Biasvar ORIGINAL single theta direct MSE term0 = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S020
S022 · calculation
操作前
Biasvar ORIGINAL single theta theta error1 := sub(0, -2)
操作後
Biasvar ORIGINAL single theta theta error1 = 2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S021
S023 · calculation
操作前
Biasvar ORIGINAL single theta theta square1 := mul(2, 2)
操作後
Biasvar ORIGINAL single theta theta square1 = 4
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S022
S024 · calculation
操作前
Biasvar ORIGINAL single theta direct MSE term1 := mul(1/2, 4)
操作後
Biasvar ORIGINAL single theta direct MSE term1 = 2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S023
S025 · calculation
操作前
Biasvar ORIGINAL single theta theta error2 := sub(2, -2)
操作後
Biasvar ORIGINAL single theta theta error2 = 4
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S024
S026 · calculation
操作前
Biasvar ORIGINAL single theta theta square2 := mul(4, 4)
操作後
Biasvar ORIGINAL single theta theta square2 = 16
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S025
S027 · calculation
操作前
Biasvar ORIGINAL single theta direct MSE term2 := mul(1/4, 16)
操作後
Biasvar ORIGINAL single theta direct MSE term2 = 4
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S026
S028 · calculation
操作前
Biasvar ORIGINAL single theta direct MSE sum := sum(0, 2, 4)
操作後
Biasvar ORIGINAL single theta direct MSE sum = 6
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S027
S029 · calculation
操作前
Biasvar ORIGINAL single theta centered mean product0 := mul(1/4, -2)
操作後
Biasvar ORIGINAL single theta centered mean product0 = -1/2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S028
S030 · calculation
操作前
Biasvar ORIGINAL single theta centered mean product1 := mul(1/2, 0)
操作後
Biasvar ORIGINAL single theta centered mean product1 = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S029
S031 · calculation
操作前
Biasvar ORIGINAL single theta centered mean product2 := mul(1/4, 2)
操作後
Biasvar ORIGINAL single theta centered mean product2 = 1/2
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S030
S032 · calculation
操作前
Biasvar ORIGINAL single theta centered mean sum := sum(-1/2, 0, 1/2)
操作後
Biasvar ORIGINAL single theta centered mean sum = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S031
S033 · calculation
操作前
Biasvar ORIGINAL single theta bias times centered mean := mul(2, 0)
操作後
Biasvar ORIGINAL single theta bias times centered mean = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S032
S034 · calculation
操作前
Biasvar ORIGINAL single theta cross twice inner := mul(2, 0)
操作後
Biasvar ORIGINAL single theta cross twice inner = 0
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S033
S035 · calculation
操作前
Biasvar ORIGINAL single theta squared bias := mul(2, 2)
操作後
Biasvar ORIGINAL single theta squared bias = 4
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S034
S036 · calculation
操作前
Biasvar ORIGINAL single theta variance plus squared bias := sum(2, 4)
操作後
Biasvar ORIGINAL single theta variance plus squared bias = 6
條件:無
依原始角色與已證中間量精確代值,不用浮點近似;額外教學恆等式不另縮限原題數值域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S035
S037 · implies
操作前
source roles = [Biasvar ORIGINAL single theta, -2, 0, 2, [(-2, 1/4), (0, 1/2), (2, 1/4)]]
操作後
derived = [[[-2, 1/4, -2, 2, 0, 4, -8, 4, 0], [0, 1/2, 0, 2, 2, 0, 0, 4, 4], [2, 1/4, 2, 2, 4, 4, 8, 4, 16]], 0, 0, 2, 6, 6, 是]
條件:無
逐值T−theta=(T−mean)+bias,平方成centered²+2*bias*centered+bias²,再按同一mass加權。E[T−mean]=E[T]−mean*1=0使cross消失,不要求bias0或每個deviation0;mass1保bias²。逐點cross是額外精確教學量,不套原source未執行的新profile界。
步驟識別與依賴
規則:Biasvar_EVERY_value_square_expansion_and_GENERAL_cross_cancellation · 依賴:G001, S036