# 第 27642 題：有限值IID強大數律

[返回所在分頁 139](https://ocme.evemisslab.com/zh-Hant/questions/page/139/)

[← 逐題詳解目錄](https://ocme.evemisslab.com/zh-Hant/questions/) · [原題批次](https://ocme.evemisslab.com/zh-Hant/practice/batch-20261015-advance-20261118-r02-strong-law-large-numbers-finite-valued-iid-foundations/#q-20261015-advance-20261118-r02-strong-law-large-numbers-finite-valued-iid-0042)

本頁是已完成第二對話 AI 數理與中英語義覆核的教學詳解，只支持本題明示的模型與前提。沒有人工審查或新 Lean 證明，也不提升原題或 MKO 的 Canonical 真值狀態。

R0054-27642 · q-20261015-advance-20261118-r02-strong-law-large-numbers-finite-valued-iid-0042



## 原題與已知條件

無限IID process certificate、finite marginal law與almost-sure limit責任。操作=slln-prefix-sample-mean；資料={"values":[-1,0],"probabilities":[[2,5],[3,5]],"process_certificate":"infinite_iid","observations":[-1,0,-1,0,-1]}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。


- G001 — 無限IID process certificate、finite marginal law與almost-sure limit責任。操作=slln-prefix-sample-mean；資料={"values":[-1,0],"probabilities":[[2,5],[3,5]],"process_certificate":"infinite_iid","observations":[-1,0,-1,0,-1]}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。





## 定義與適用範圍

沿用原題明示的論域、假設與來源 MKO 定義。本題已完成第二對話數理與中英語義覆核，並由原始參數逐題獨立重算模型、答案與每個算術步驟；原題仍為 candidate。


- [mko-strong-law-large-numbers-finite-valued-iid](https://ocme.evemisslab.com/zh-Hant/mko/mko-strong-law-large-numbers-finite-valued-iid/)





## 逐步推導

S001 · implies操作前

source roles = [slln-prefix-sample-mean]

操作後

derived = [[observations, common_mean, prefix_sample_mean, absolute_error, evidence_scope, almost_sure_limit_proof_claim, boundary]]

條件：無

直接明列此操作與mode完整欄序，不依JavaScript、不由答案形狀猜角色；布林、字串、null與未作聲稱保持不同。

步驟識別與依賴規則：source_ordered_fields_without_JS · 依賴：G001





S002 · implies操作前

source roles = [infinite_iid]

操作後

derived = [ASSUME whole infinite sequence is IID with this common marginal]

條件：無

infinite_iid是題設無限過程前提，非有限資料或本程式已構造／證明的independence。

步驟識別與依賴規則：SLLN_infinite_IID_EXACT_GIVEN_premise_not_finite_observation_inference · 依賴：G001, S001





S003 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL mass sum0 := sum(0, 2/5)

操作後

SLLN ORIGINAL common marginal ORIGINAL mass sum0 = 2/5

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S002





S004 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL mass sum1 := sum(2/5, 3/5)

操作後

SLLN ORIGINAL common marginal ORIGINAL mass sum1 = 1

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S003





S005 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL weighted value0 := mul(-1, 2/5)

操作後

SLLN ORIGINAL common marginal ORIGINAL weighted value0 = -2/5

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S004





S006 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL mean sum0 := sum(0, -2/5)

操作後

SLLN ORIGINAL common marginal ORIGINAL mean sum0 = -2/5

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S005





S007 · calculation操作前

SLLN ORIGINAL common marginal exact unbounded value square0 := mul(-1, -1)

操作後

SLLN ORIGINAL common marginal exact unbounded value square0 = 1

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S006





S008 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL weighted square0 := mul(1, 2/5)

操作後

SLLN ORIGINAL common marginal ORIGINAL weighted square0 = 2/5

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S007





S009 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL second moment sum0 := sum(0, 2/5)

操作後

SLLN ORIGINAL common marginal ORIGINAL second moment sum0 = 2/5

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S008





S010 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL weighted value1 := mul(0, 3/5)

操作後

SLLN ORIGINAL common marginal ORIGINAL weighted value1 = 0

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S009





S011 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL mean sum1 := sum(-2/5, 0)

操作後

SLLN ORIGINAL common marginal ORIGINAL mean sum1 = -2/5

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S010





S012 · calculation操作前

SLLN ORIGINAL common marginal exact unbounded value square1 := mul(0, 0)

操作後

SLLN ORIGINAL common marginal exact unbounded value square1 = 0

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S011





S013 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL weighted square1 := mul(0, 3/5)

操作後

SLLN ORIGINAL common marginal ORIGINAL weighted square1 = 0

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S012





S014 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL second moment sum1 := sum(2/5, 0)

操作後

SLLN ORIGINAL common marginal ORIGINAL second moment sum1 = 2/5

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S013





S015 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL mean squared := mul(-2/5, -2/5)

操作後

SLLN ORIGINAL common marginal ORIGINAL mean squared = 4/25

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S014





S016 · calculation操作前

SLLN ORIGINAL common marginal ORIGINAL second minus mean squared := sub(2/5, 4/25)

操作後

SLLN ORIGINAL common marginal ORIGINAL second minus mean squared = 6/25

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S015





S017 · implies操作前

source roles = [SLLN ORIGINAL common marginal, [-1, 0], [[2, 5], [3, 5]]]

操作後

derived = [[[-1, 2/5], [0, 3/5]], 1, -2/5, 2/5, 6/25]

條件：無

先綁原始value與probability再numeric排序，保零質量labels。完整law核非負與mass1，且來源仍計E[X²]-E[X]²；SLLN允許variance0，不照搬CLT的strict-positive條件。

步驟識別與依賴規則：SLLN_complete_ORIGINAL_numeric_value_probability_alignment_ALL_moments · 依賴：G001, S016





S018 · calculation操作前

SLLN ORIGINAL prefix integer sum := sum(-1, 0, -1, 0, -1)

操作後

SLLN ORIGINAL prefix integer sum = -3

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S017





S019 · calculation操作前

SLLN ORIGINAL prefix sample mean := div(-3, 5)

操作後

SLLN ORIGINAL prefix sample mean = -3/5

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S018





S020 · calculation操作前

SLLN ORIGINAL sample mean minus common mean := sub(-3/5, -2/5)

操作後

SLLN ORIGINAL sample mean minus common mean = -1/5

條件：無

以原始角色與已證中間量精確代值，不用近似或自洽但換過的操作數；額外教學代數不另縮來源域。

步驟識別與依賴規則：exact_rational_arithmetic · 依賴：G001, S019





S021 · implies操作前

source roles = [[-1, 0, -1, 0, -1], -2/5, -3/5, -1/5]

操作後

derived = [1/5, 否]

條件：無

觀測值逐個合型且來自完整carrier，prefix須非空；來源用未約分[sum,length]的1e6 profile，不私加fixed-n的8項限制。一次接近或等於mean都不證a.s. limit。

步驟識別與依賴規則：SLLN_fixed_nonempty_prefix_mean_error_NOT_as_limit_certificate · 依賴：G001, S020









## 逐步反向核對


- S021 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S020 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL sample mean minus common mean，不以小數近似替代。
- S019 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL prefix sample mean，不以小數近似替代。
- S018 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL prefix integer sum，不以小數近似替代。
- S017 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S016 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL second minus mean squared，不以小數近似替代。
- S015 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL mean squared，不以小數近似替代。
- S014 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL second moment sum1，不以小數近似替代。
- S013 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL weighted square1，不以小數近似替代。
- S012 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal exact unbounded value square1，不以小數近似替代。
- S011 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL mean sum1，不以小數近似替代。
- S010 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL weighted value1，不以小數近似替代。
- S009 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL second moment sum0，不以小數近似替代。
- S008 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL weighted square0，不以小數近似替代。
- S007 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal exact unbounded value square0，不以小數近似替代。
- S006 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL mean sum0，不以小數近似替代。
- S005 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL weighted value0，不以小數近似替代。
- S004 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL mass sum1，不以小數近似替代。
- S003 · premise_and_result_audit — 以精確有理數重算 SLLN ORIGINAL common marginal ORIGINAL mass sum0，不以小數近似替代。
- S002 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S001 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。





## 結論

([-1, 0, -1, 0, -1], -2/5, -3/5, 1/5, fixed_prefix_only, 否, finite_prefix_does_not_prove_almost_sure_convergence)

依上列完整代值及條件核對得到原題答案；原題編號、格式與狀態保持不變。





## 本題覆核與來源綁定

覆核日期：2026-10-26

原題、答案、步驟表達式、數值 AST 與既有歷史保持原樣；原來的候選狀態屬於來源歷史，不覆寫為形式化證明。

來源雜湊與覆核憑證
- input commit: 0f7be61e2c22317a4075561dc822c87d881a50db
- original question SHA-256: 3870a60b42b76ebf4e70d56099fdde869b2f9e405afb0fffb5e1d0cbb154262e
- candidate record SHA-256: 2c3cc5f58380e1fd8d75780b591fb82e2b0cca26a18dc7a5b12c4084f53a6365
- semantic review receipt SHA-256: 0a76d8e93c08bb16998a0483f3dfc0504f269fc3e1982e6cd868cab0a2856d54
- question-first witness SHA-256: 09127b736c225714dfa0b7ceb0e6a6e66df27438b480cad8217d3c2f99ce9437
- Lean: NOT_RUN · human review: NOT_PERFORMED

[同源完整 JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20261015-advance-20261118-r02-strong-law-large-numbers-finite-valued-iid-0042.json)




