S001 · calculation
操作前
total mass numerator := sum(3, 2, 1)
操作後
total mass numerator = 6
條件:無
非負整數質量要加總成D,權重才恰歸一化。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001
R0007-04153 · q-20261008-advance-20261010-r05-expectation-0078
有限歸一化模型;S={0,…,2},F=𝒫(S),質量=[3, 2, 1]、D=6,權重為質量/D;X值=[-2, 4, null]。null是唯一未知槽,索引從0,k=2且該質量正;已知 E[X]=1/3。求該槽整數值,仍寫成p/1。
G001 — 有限歸一化模型;S={0,…,2},F=𝒫(S),質量=[3, 2, 1]、D=6,權重為質量/D;X值=[-2, 4, null]。null是唯一未知槽,索引從0,k=2且該質量正;已知 E[X]=1/3。求該槽整數值,仍寫成p/1。沿用原題明示的論域、假設與來源 MKO 定義。本題已完成第二對話數理與中英語義覆核,並由原始參數逐題獨立重算模型、答案與每個算術步驟;原題仍為 candidate。
操作前
total mass numerator := sum(3, 2, 1)
操作後
total mass numerator = 6
條件:無
非負整數質量要加總成D,權重才恰歸一化。
規則:exact_rational_arithmetic · 依賴:G001
操作前
indexed masses=[3, 2, 1];D=6
操作後
probabilities=[1/2, 1/3, 1/6]
條件:無
樣本索引從0起,質量、X與Y值按相同索引對齊;零質量結果仍保留,負隨機變數值合法。
規則:indexed_normalized_expectation_model · 依賴:G001, S001
操作前
known numerator0 := mul(3, -2)
操作後
known numerator0 = -6
條件:無
只加總已知槽的質量乘值,未知槽另留作變數。
規則:exact_rational_arithmetic · 依賴:G001, S002
操作前
known numerator1 := mul(2, 4)
操作後
known numerator1 = 8
條件:無
只加總已知槽的質量乘值,未知槽另留作變數。
規則:exact_rational_arithmetic · 依賴:G001, S003
操作前
known weighted numerator := sum(-6, 8)
操作後
known weighted numerator = 2
條件:無
將全部已知質量值項相加。
規則:exact_rational_arithmetic · 依賴:G001, S004
操作前
target expectation numerator := mul(1/3, 6)
操作後
target expectation numerator = 2
條件:無
把目標均值乘D,得到全部加權分子的目標。
規則:exact_rational_arithmetic · 依賴:G001, S005
操作前
unknown weighted contribution := sub(2, 2)
操作後
unknown weighted contribution = 0
條件:無
扣除已知項,剩m_k·未知值。
規則:exact_rational_arithmetic · 依賴:G001, S006
操作前
recovered unknown value := div(0, 1)
操作後
recovered unknown value = 0
條件:無
只有未知槽質量正才可唯一反解;此題切片要求值為整數。
規則:exact_rational_arithmetic · 依賴:G001, S007
操作前
recovered weighted numerator := mul(1, 0)
操作後
recovered weighted numerator = 0
條件:無
用恢復值乘未知槽原質量,反核對齊及符號。
規則:exact_rational_arithmetic · 依賴:G001, S008
操作前
complete reconstructed numerator := sum(2, 0)
操作後
complete reconstructed numerator = 2
條件:無
補回未知項得到完整分子。
規則:exact_rational_arithmetic · 依賴:G001, S009
操作前
reconstructed expectation := div(2, 6)
操作後
reconstructed expectation = 1/3
條件:無
除以D反代,必須等於明示均值。
規則:exact_rational_arithmetic · 依賴:G001, S010
操作前
k=2;mass_k=1>0;target=1/3
操作後
unique recovered value=0;substitution mean=1/3
條件:無
若質量0,均值不限制這個槽,不能沿用本反解;null是唯一未知標記,不是數值0。
規則:positive_mass_missing_value_uniqueness · 依賴:G001, S011
S012 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S011 · premise_and_result_audit — 以精確有理數重算 reconstructed expectation,不以小數近似替代。S010 · premise_and_result_audit — 以精確有理數重算 complete reconstructed numerator,不以小數近似替代。S009 · premise_and_result_audit — 以精確有理數重算 recovered weighted numerator,不以小數近似替代。S008 · premise_and_result_audit — 以精確有理數重算 recovered unknown value,不以小數近似替代。S007 · premise_and_result_audit — 以精確有理數重算 unknown weighted contribution,不以小數近似替代。S006 · premise_and_result_audit — 以精確有理數重算 target expectation numerator,不以小數近似替代。S005 · premise_and_result_audit — 以精確有理數重算 known weighted numerator,不以小數近似替代。S004 · premise_and_result_audit — 以精確有理數重算 known numerator1,不以小數近似替代。S003 · premise_and_result_audit — 以精確有理數重算 known numerator0,不以小數近似替代。S002 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。S001 · premise_and_result_audit — 以精確有理數重算 total mass numerator,不以小數近似替代。0/1
依上列完整代值及條件核對得到原題答案;原題編號、格式與狀態保持不變。
覆核日期:2026-10-26
原題、答案、步驟表達式、數值 AST 與既有歷史保持原樣;原來的候選狀態屬於來源歷史,不覆寫為形式化證明。
input commit: 0f7be61e2c22317a4075561dc822c87d881a50dboriginal question SHA-256: 6fb026a422c5e4836aeb6492c660b977e0eb1649bba44d6c6c48db6accbb9102candidate record SHA-256: 8b7f45accb374c503ca7e6f8fff598037b9c52ed12350d57acdd3cba80034050semantic review receipt SHA-256: faf0582c0184613e6fae207374056133eae600883a29c67d8438113bbe3c485aquestion-first witness SHA-256: 4b283b6ff424b1d22caa36f3552b0fa21b1b66a0a883d7cbe9cedc8dd77b2e42Lean: NOT_RUN · human review: NOT_PERFORMED