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