S001 · calculation
操作前
total mass numerator := sum(14, 2, 1)
操作後
total mass numerator = 17
條件:無
所有非負質量必須和D相同,才給總機率1。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001
R0008-04589 · q-20261008-advance-20261010-r06-variance-0039
有限歸一化模型;S={0,…,2},F=𝒫(S),質量=[14, 2, 1]、D=17,權重為質量/D;X值=[-13, 2, 14]。依序求 (E[X²], (E[X])²),不要混同兩式。
G001 — 有限歸一化模型;S={0,…,2},F=𝒫(S),質量=[14, 2, 1]、D=17,權重為質量/D;X值=[-13, 2, 14]。依序求 (E[X²], (E[X])²),不要混同兩式。沿用原題明示的論域、假設與來源 MKO 定義。本題已完成第二對話數理與中英語義覆核,並由原始參數逐題獨立重算模型、答案與每個算術步驟;原題仍為 candidate。
操作前
total mass numerator := sum(14, 2, 1)
操作後
total mass numerator = 17
條件:無
所有非負質量必須和D相同,才給總機率1。
規則:exact_rational_arithmetic · 依賴:G001
操作前
probability weight0 := div(14, 17)
操作後
probability weight0 = 14/17
條件:無
按原索引將質量除以共同正分母D。
規則:exact_rational_arithmetic · 依賴:G001, S001
操作前
probability weight1 := div(2, 17)
操作後
probability weight1 = 2/17
條件:無
按原索引將質量除以共同正分母D。
規則:exact_rational_arithmetic · 依賴:G001, S002
操作前
probability weight2 := div(1, 17)
操作後
probability weight2 = 1/17
條件:無
按原索引將質量除以共同正分母D。
規則:exact_rational_arithmetic · 依賴:G001, S003
操作前
values=[-13, 2, 14];weights=[14/17, 2/17, 1/17]
操作後
known finite probability law,not a sampled estimate
條件:無
這是完整歸一化機率模型,變異數用其機率權重;不是n−1樣本估計,零質量結果仍保留原索引。
規則:probability_variance_scope · 依賴:G001, S004
操作前
target variable weighted value0 := mul(14/17, -13)
操作後
target variable weighted value0 = -182/17
條件:無
同索引機率乘同索引值,負值及零權重均精確保留。
規則:exact_rational_arithmetic · 依賴:G001, S005
操作前
target variable weighted value1 := mul(2/17, 2)
操作後
target variable weighted value1 = 4/17
條件:無
同索引機率乘同索引值,負值及零權重均精確保留。
規則:exact_rational_arithmetic · 依賴:G001, S006
操作前
target variable weighted value2 := mul(1/17, 14)
操作後
target variable weighted value2 = 14/17
條件:無
同索引機率乘同索引值,負值及零權重均精確保留。
規則:exact_rational_arithmetic · 依賴:G001, S007
操作前
target variable mean := sum(-182/17, 4/17, 14/17)
操作後
target variable mean = -164/17
條件:無
全部加權項相加求精確均值。
規則:exact_rational_arithmetic · 依賴:G001, S008
操作前
pointwise square0 := square(-13)
操作後
pointwise square0 = 169
條件:無
二階矩是先逐點平方再加權。
規則:exact_rational_arithmetic · 依賴:G001, S009
操作前
pointwise square1 := square(2)
操作後
pointwise square1 = 4
條件:無
二階矩是先逐點平方再加權。
規則:exact_rational_arithmetic · 依賴:G001, S010
操作前
pointwise square2 := square(14)
操作後
pointwise square2 = 196
條件:無
二階矩是先逐點平方再加權。
規則:exact_rational_arithmetic · 依賴:G001, S011
操作前
squared variable weighted value0 := mul(14/17, 169)
操作後
squared variable weighted value0 = 2366/17
條件:無
同索引機率乘同索引值,負值及零權重均精確保留。
規則:exact_rational_arithmetic · 依賴:G001, S012
操作前
squared variable weighted value1 := mul(2/17, 4)
操作後
squared variable weighted value1 = 8/17
條件:無
同索引機率乘同索引值,負值及零權重均精確保留。
規則:exact_rational_arithmetic · 依賴:G001, S013
操作前
squared variable weighted value2 := mul(1/17, 196)
操作後
squared variable weighted value2 = 196/17
條件:無
同索引機率乘同索引值,負值及零權重均精確保留。
規則:exact_rational_arithmetic · 依賴:G001, S014
操作前
squared variable mean := sum(2366/17, 8/17, 196/17)
操作後
squared variable mean = 2570/17
條件:無
全部加權項相加求精確均值。
規則:exact_rational_arithmetic · 依賴:G001, S015
操作前
mean squared := square(-164/17)
操作後
mean squared = 26896/289
條件:無
均值平方則先加權求均值,再平方;次序不同。
規則:exact_rational_arithmetic · 依賴:G001, S016
操作前
E[X²]=2570/17;(E[X])²=26896/289
操作後
Var(X)=E[X²]−(E[X])² under this finite law
條件:無
這兩個數不可混同,其差才是完整機率模型的變異數;本題依序回報兩個數,不做樣本修正。
規則:second_moment_vs_squared_mean · 依賴:G001, S017
S018 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S017 · premise_and_result_audit — 以精確有理數重算 mean squared,不以小數近似替代。S016 · premise_and_result_audit — 以精確有理數重算 squared variable mean,不以小數近似替代。S015 · premise_and_result_audit — 以精確有理數重算 squared variable weighted value2,不以小數近似替代。S014 · premise_and_result_audit — 以精確有理數重算 squared variable weighted value1,不以小數近似替代。S013 · premise_and_result_audit — 以精確有理數重算 squared variable weighted value0,不以小數近似替代。S012 · premise_and_result_audit — 以精確有理數重算 pointwise square2,不以小數近似替代。S011 · premise_and_result_audit — 以精確有理數重算 pointwise square1,不以小數近似替代。S010 · premise_and_result_audit — 以精確有理數重算 pointwise square0,不以小數近似替代。S009 · premise_and_result_audit — 以精確有理數重算 target variable mean,不以小數近似替代。S008 · premise_and_result_audit — 以精確有理數重算 target variable weighted value2,不以小數近似替代。S007 · premise_and_result_audit — 以精確有理數重算 target variable weighted value1,不以小數近似替代。S006 · premise_and_result_audit — 以精確有理數重算 target variable weighted value0,不以小數近似替代。S005 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S004 · premise_and_result_audit — 以精確有理數重算 probability weight2,不以小數近似替代。S003 · premise_and_result_audit — 以精確有理數重算 probability weight1,不以小數近似替代。S002 · premise_and_result_audit — 以精確有理數重算 probability weight0,不以小數近似替代。S001 · premise_and_result_audit — 以精確有理數重算 total mass numerator,不以小數近似替代。(2570/17, 26896/289)
依上列完整代值及條件核對得到原題答案;原題編號、格式與狀態保持不變。
覆核日期:2026-10-26
原題、答案、步驟表達式、數值 AST 與既有歷史保持原樣;原來的候選狀態屬於來源歷史,不覆寫為形式化證明。
input commit: 0f7be61e2c22317a4075561dc822c87d881a50dboriginal question SHA-256: 11b6f4483b851fb5d2f3d3088f7fb62b245ff4d9551e41dda4a1d7f5fb73e55fcandidate record SHA-256: 4161e47a55f2990824016f6a48082553d742e3d61a7ae6c932a16ccfaafba9besemantic review receipt SHA-256: b6e05a3e8193a93db505dbf337528fca72e2e41528b1e92b698a3f0683d74289question-first witness SHA-256: caa8693baf0b91acd09a20215d1aa6954ae513fc0b0814f26ac1c8c834b60d67Lean: NOT_RUN · human review: NOT_PERFORMED