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