逐步推導
S001 · implies
操作前
source roles = [qf-expectation-affine, no-domain-field, affine_expectation, no-form-field]
操作後
derived = [[reduced_fraction_RETAIN1_STRING]]
條件:無
按原bank核欄位:BASE方程用form及論域,BASE事件/補集無operation,階乘無domain;ext18用local-hyphen,其他legacy用underscore。輸出型別不統一成tuple或fraction。
步驟識別與依賴
規則:R62_EXACT_source_keys_domain_operation_form_AND_output_types · 依賴:G001
S002 · calculation
操作前
Expectation ORIGINAL weight total through slot0 := sum(0, 1)
操作後
Expectation ORIGINAL weight total through slot0 = 1
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S001
S003 · calculation
操作前
Expectation ORIGINAL weight total through slot1 := sum(1, 7)
操作後
Expectation ORIGINAL weight total through slot1 = 8
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S002
S004 · calculation
操作前
Expectation ORIGINAL weight total through slot2 := sum(8, 4)
操作後
Expectation ORIGINAL weight total through slot2 = 12
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · calculation
操作前
Expectation ORIGINAL weight total through slot3 := sum(12, 0)
操作後
Expectation ORIGINAL weight total through slot3 = 12
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S004
S006 · implies
操作前
source roles = [[0, 1, 2, 3], powerset(S), [1, 7, 4, 0], 12, [-11, -11, -4, 1004], not-supplied]
操作後
derived = [[0, 1, 2, 3], 12, 是]
條件:無
S非空、distinct且≤100,權重與X/Y依原S位置對齊。F必為powerset(S),權重非負、den正、總和恰den;即使a0或零權重,也先驗全部raw欄位,不默改成uniform模型。
步驟識別與依賴
規則:Expectation_FULL_model_RAW_slots_SAME_alignment_and_normalized_law · 依賴:G001, S005
S007 · calculation
操作前
Expectation affine ORIGINAL slot0 a times X := mul(-2, -11)
操作後
Expectation affine ORIGINAL slot0 a times X = 22
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S006
S008 · calculation
操作前
Expectation affine ORIGINAL slot0 plus b := sum(22, 0)
操作後
Expectation affine ORIGINAL slot0 plus b = 22
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S007
S009 · implies
操作前
source roles = [0, 0, affine_expectation, -11, not-supplied, -2, 0, not-supplied]
操作後
derived = [22]
條件:無
每個原outcome先作本題變換,再用同位置權重;不能各自排序S/X/Y/weights。零權重的取值仍是原資料,不以刪除它們修題或推導range。
步驟識別與依賴
規則:Expectation_EACH_original_outcome_transformation_BEFORE_weight · 依賴:G001, S008
S010 · calculation
操作前
Expectation ORIGINAL slot0 weight times transformed value := mul(1, 22)
操作後
Expectation ORIGINAL slot0 weight times transformed value = 22
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S009
S011 · calculation
操作前
Expectation ORIGINAL weighted numerator through slot0 := sum(0, 22)
操作後
Expectation ORIGINAL weighted numerator through slot0 = 22
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S010
S012 · calculation
操作前
Expectation affine ORIGINAL slot1 a times X := mul(-2, -11)
操作後
Expectation affine ORIGINAL slot1 a times X = 22
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S011
S013 · calculation
操作前
Expectation affine ORIGINAL slot1 plus b := sum(22, 0)
操作後
Expectation affine ORIGINAL slot1 plus b = 22
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S012
S014 · implies
操作前
source roles = [1, 1, affine_expectation, -11, not-supplied, -2, 0, not-supplied]
操作後
derived = [22]
條件:無
每個原outcome先作本題變換,再用同位置權重;不能各自排序S/X/Y/weights。零權重的取值仍是原資料,不以刪除它們修題或推導range。
步驟識別與依賴
規則:Expectation_EACH_original_outcome_transformation_BEFORE_weight · 依賴:G001, S013
S015 · calculation
操作前
Expectation ORIGINAL slot1 weight times transformed value := mul(7, 22)
操作後
Expectation ORIGINAL slot1 weight times transformed value = 154
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S014
S016 · calculation
操作前
Expectation ORIGINAL weighted numerator through slot1 := sum(22, 154)
操作後
Expectation ORIGINAL weighted numerator through slot1 = 176
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S015
S017 · calculation
操作前
Expectation affine ORIGINAL slot2 a times X := mul(-2, -4)
操作後
Expectation affine ORIGINAL slot2 a times X = 8
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S016
S018 · calculation
操作前
Expectation affine ORIGINAL slot2 plus b := sum(8, 0)
操作後
Expectation affine ORIGINAL slot2 plus b = 8
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S017
S019 · implies
操作前
source roles = [2, 2, affine_expectation, -4, not-supplied, -2, 0, not-supplied]
操作後
derived = [8]
條件:無
每個原outcome先作本題變換,再用同位置權重;不能各自排序S/X/Y/weights。零權重的取值仍是原資料,不以刪除它們修題或推導range。
步驟識別與依賴
規則:Expectation_EACH_original_outcome_transformation_BEFORE_weight · 依賴:G001, S018
S020 · calculation
操作前
Expectation ORIGINAL slot2 weight times transformed value := mul(4, 8)
操作後
Expectation ORIGINAL slot2 weight times transformed value = 32
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S019
S021 · calculation
操作前
Expectation ORIGINAL weighted numerator through slot2 := sum(176, 32)
操作後
Expectation ORIGINAL weighted numerator through slot2 = 208
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S020
S022 · calculation
操作前
Expectation affine ORIGINAL slot3 a times X := mul(-2, 1004)
操作後
Expectation affine ORIGINAL slot3 a times X = -2008
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S021
S023 · calculation
操作前
Expectation affine ORIGINAL slot3 plus b := sum(-2008, 0)
操作後
Expectation affine ORIGINAL slot3 plus b = -2008
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S022
S024 · implies
操作前
source roles = [3, 3, affine_expectation, 1004, not-supplied, -2, 0, not-supplied]
操作後
derived = [-2008]
條件:無
每個原outcome先作本題變換,再用同位置權重;不能各自排序S/X/Y/weights。零權重的取值仍是原資料,不以刪除它們修題或推導range。
步驟識別與依賴
規則:Expectation_EACH_original_outcome_transformation_BEFORE_weight · 依賴:G001, S023
S025 · calculation
操作前
Expectation ORIGINAL slot3 weight times transformed value := mul(0, -2008)
操作後
Expectation ORIGINAL slot3 weight times transformed value = 0
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S024
S026 · calculation
操作前
Expectation ORIGINAL weighted numerator through slot3 := sum(208, 0)
操作後
Expectation ORIGINAL weighted numerator through slot3 = 208
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S025
S027 · calculation
操作前
Expectation ORIGINAL weighted numerator over denominator := div(208, 12)
操作後
Expectation ORIGINAL weighted numerator over denominator = 52/3
條件:無
使用原操作數與明示次序作精確整數/有理計算,不用浮點近似。輸入界依題族:不把衍生值重驗成raw輸入,也不給BASE題庫另加SAFE或n64界。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S026
S028 · implies
操作前
source roles = [[0, 1, 2, 3], [1, 7, 4, 0], 12, affine_expectation, [22, 22, 8, -2008]]
操作後
derived = [[22, 154, 32, 0], 208, 52/3]
條件:無
依已合格同一概率law,E[Z]=Σw_i Z(s_i)/q。仿射為aE[X]+b、同模型相加為E[X]+E[Y]而不要求獨立,不能推成乘積期望公式。常數c的期望是c因權重總和1;負值或未被取到的期望合法,fraction保/1。
步驟識別與依賴
規則:Expectation_LINEARITY_qualified_SAME_law_NOT_independence_or_sample_mean · 依賴:G001, S027