# 第 27786 題：Wilson定理

[返回所在分頁 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-r04-wilson-theorem-foundations/#q-20261015-advance-20261118-r04-wilson-theorem-0036)

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

R0054-27786 · q-20261015-advance-20261118-r04-wilson-theorem-0036



## 原題與已知條件

n>1、factorial congruence與prime-residue inverse pairing責任。操作=wilson-prime-inverse-pairing；資料={"p":31}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。


- G001 — n>1、factorial congruence與prime-residue inverse pairing責任。操作=wilson-prime-inverse-pairing；資料={"p":31}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。





## 定義與適用範圍

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


- [mko-wilson-theorem](https://ocme.evemisslab.com/zh-Hant/mko/mko-wilson-theorem/)





## 逐步推導

S001 · implies操作前

source roles = [wilson-prime-inverse-pairing]

操作後

derived = [[p, all_inverse_pairs, self_inverse_residues, distinct_cancelling_pairs, self_inverse_scope, factorial_residue, Wilson_congruence]]

條件：無

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

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





S002 · implies操作前

source roles = [31, 1]

操作後

derived = [1, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S003 · implies操作前

source roles = [31, 2]

操作後

derived = [16, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S004 · implies操作前

source roles = [31, 3]

操作後

derived = [21, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S005 · implies操作前

source roles = [31, 4]

操作後

derived = [8, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S006 · implies操作前

source roles = [31, 5]

操作後

derived = [25, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S007 · implies操作前

source roles = [31, 6]

操作後

derived = [26, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S008 · implies操作前

source roles = [31, 7]

操作後

derived = [9, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S009 · implies操作前

source roles = [31, 8]

操作後

derived = [4, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S010 · implies操作前

source roles = [31, 9]

操作後

derived = [7, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S011 · implies操作前

source roles = [31, 10]

操作後

derived = [28, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S012 · implies操作前

source roles = [31, 11]

操作後

derived = [17, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S013 · implies操作前

source roles = [31, 12]

操作後

derived = [13, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S014 · implies操作前

source roles = [31, 13]

操作後

derived = [12, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S015 · implies操作前

source roles = [31, 14]

操作後

derived = [20, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S016 · implies操作前

source roles = [31, 15]

操作後

derived = [29, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S017 · implies操作前

source roles = [31, 16]

操作後

derived = [2, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S018 · implies操作前

source roles = [31, 17]

操作後

derived = [11, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S019 · implies操作前

source roles = [31, 18]

操作後

derived = [19, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S020 · implies操作前

source roles = [31, 19]

操作後

derived = [18, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S021 · implies操作前

source roles = [31, 20]

操作後

derived = [14, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

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





S022 · implies操作前

source roles = [31, 21]

操作後

derived = [3, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S021





S023 · implies操作前

source roles = [31, 22]

操作後

derived = [24, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S022





S024 · implies操作前

source roles = [31, 23]

操作後

derived = [27, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S023





S025 · implies操作前

source roles = [31, 24]

操作後

derived = [22, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S024





S026 · implies操作前

source roles = [31, 25]

操作後

derived = [5, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S025





S027 · implies操作前

source roles = [31, 26]

操作後

derived = [6, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S026





S028 · implies操作前

source roles = [31, 27]

操作後

derived = [23, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S027





S029 · implies操作前

source roles = [31, 28]

操作後

derived = [10, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S028





S030 · implies操作前

source roles = [31, 29]

操作後

derived = [15, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S029





S031 · implies操作前

source roles = [31, 30]

操作後

derived = [30, 1]

條件：無

prime modulus的非零residue均為units，逐a找來源首inverse；若有兩個inverse，乘a的消去性使其相同。

步驟識別與依賴規則：Wilson_EVERY_nonzero_prime_residue_unique_inverse · 依賴：G001, S030





S032 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product1 := mul(1, 1)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product1 = 1

條件：無

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

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





S033 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 1, 1, 1]

操作後

derived = [0, 1, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S032





S034 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product2 := mul(1, 2)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product2 = 2

條件：無

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

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





S035 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 2, 1, 2]

操作後

derived = [0, 2, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S034





S036 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product3 := mul(2, 3)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product3 = 6

條件：無

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

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





S037 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 3, 2, 6]

操作後

derived = [0, 6, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S036





S038 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product4 := mul(6, 4)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product4 = 24

條件：無

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

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





S039 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 4, 6, 24]

操作後

derived = [0, 24, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S038





S040 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product5 := mul(24, 5)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product5 = 120

條件：無

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

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





S041 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 5, 24, 120]

操作後

derived = [3, 27, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S040





S042 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product6 := mul(27, 6)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product6 = 162

條件：無

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

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





S043 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 6, 27, 162]

操作後

derived = [5, 7, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S042





S044 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product7 := mul(7, 7)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product7 = 49

條件：無

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

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





S045 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 7, 7, 49]

操作後

derived = [1, 18, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S044





S046 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product8 := mul(18, 8)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product8 = 144

條件：無

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

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





S047 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 8, 18, 144]

操作後

derived = [4, 20, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S046





S048 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product9 := mul(20, 9)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product9 = 180

條件：無

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

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





S049 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 9, 20, 180]

操作後

derived = [5, 25, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S048





S050 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product10 := mul(25, 10)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product10 = 250

條件：無

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

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





S051 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 10, 25, 250]

操作後

derived = [8, 2, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S050





S052 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product11 := mul(2, 11)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product11 = 22

條件：無

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

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





S053 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 11, 2, 22]

操作後

derived = [0, 22, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S052





S054 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product12 := mul(22, 12)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product12 = 264

條件：無

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

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





S055 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 12, 22, 264]

操作後

derived = [8, 16, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S054





S056 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product13 := mul(16, 13)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product13 = 208

條件：無

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

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





S057 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 13, 16, 208]

操作後

derived = [6, 22, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S056





S058 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product14 := mul(22, 14)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product14 = 308

條件：無

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

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





S059 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 14, 22, 308]

操作後

derived = [9, 29, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S058





S060 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product15 := mul(29, 15)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product15 = 435

條件：無

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

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





S061 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 15, 29, 435]

操作後

derived = [14, 1, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S060





S062 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product16 := mul(1, 16)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product16 = 16

條件：無

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

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





S063 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 16, 1, 16]

操作後

derived = [0, 16, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S062





S064 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product17 := mul(16, 17)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product17 = 272

條件：無

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

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





S065 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 17, 16, 272]

操作後

derived = [8, 24, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S064





S066 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product18 := mul(24, 18)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product18 = 432

條件：無

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

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





S067 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 18, 24, 432]

操作後

derived = [13, 29, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S066





S068 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product19 := mul(29, 19)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product19 = 551

條件：無

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

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





S069 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 19, 29, 551]

操作後

derived = [17, 24, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S068





S070 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product20 := mul(24, 20)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product20 = 480

條件：無

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

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





S071 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 20, 24, 480]

操作後

derived = [15, 15, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S070





S072 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product21 := mul(15, 21)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product21 = 315

條件：無

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

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





S073 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 21, 15, 315]

操作後

derived = [10, 5, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S072





S074 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product22 := mul(5, 22)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product22 = 110

條件：無

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

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





S075 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 22, 5, 110]

操作後

derived = [3, 17, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S074





S076 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product23 := mul(17, 23)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product23 = 391

條件：無

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

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





S077 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 23, 17, 391]

操作後

derived = [12, 19, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S076





S078 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product24 := mul(19, 24)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product24 = 456

條件：無

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

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





S079 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 24, 19, 456]

操作後

derived = [14, 22, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S078





S080 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product25 := mul(22, 25)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product25 = 550

條件：無

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

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





S081 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 25, 22, 550]

操作後

derived = [17, 23, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S080





S082 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product26 := mul(23, 26)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product26 = 598

條件：無

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

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





S083 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 26, 23, 598]

操作後

derived = [19, 9, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S082





S084 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product27 := mul(9, 27)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product27 = 243

條件：無

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

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





S085 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 27, 9, 243]

操作後

derived = [7, 26, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S084





S086 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product28 := mul(26, 28)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product28 = 728

條件：無

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

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





S087 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 28, 26, 728]

操作後

derived = [23, 15, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S086





S088 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product29 := mul(15, 29)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product29 = 435

條件：無

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

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





S089 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 29, 15, 435]

操作後

derived = [14, 1, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S088





S090 · calculation操作前

Wilson ORIGINAL prime factorial ORIGINAL running factorial product30 := mul(1, 30)

操作後

Wilson ORIGINAL prime factorial ORIGINAL running factorial product30 = 30

條件：無

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

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





S091 · implies操作前

source roles = [Wilson ORIGINAL prime factorial, 31, 30, 1, 30]

操作後

derived = [0, 30, 是, 是]

條件：無

逐k保前residue與完整乘積，再以唯一Euclidean餘數縮回0..n-1；累積不變量是value≡k! mod n，不把table最後一項當未算的假設。

步驟識別與依賴規則：Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴：G001, S090





S092 · implies操作前

source roles = [31, [[1, 1], [2, 16], [3, 21], [4, 8], [5, 25], [6, 26], [7, 9], [8, 4], [9, 7], [10, 28], [11, 17], [12, 13], [13, 12], [14, 20], [15, 29], [16, 2], [17, 11], [18, 19], [19, 18], [20, 14], [21, 3], [22, 24], [23, 27], [24, 22], [25, 5], [26, 6], [27, 23], [28, 10], [29, 15], [30, 30]]]

操作後

derived = [[1, 30], [[2, 16, 1], [3, 21, 1], [4, 8, 1], [5, 25, 1], [6, 26, 1], [7, 9, 1], [10, 28, 1], [11, 17, 1], [12, 13, 1], [14, 20, 1], [15, 29, 1], [18, 19, 1], [22, 24, 1], [23, 27, 1]], 30, 是]

條件：無

非self-inverse成對相乘1；self-inverse解(r-1)(r+1)=0 mod prime，故只±1。p>2相異乘積-1；p2僅1=-1一個。這是一般教學理由，有限表／本程式不冒稱Lean proof。

步驟識別與依賴規則：Wilson_GENERAL_inverse_pairing_and_p2_exception · 依賴：G001, S091









## 逐步反向核對


- S092 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S091 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S090 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product30，不以小數近似替代。
- S089 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S088 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product29，不以小數近似替代。
- S087 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S086 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product28，不以小數近似替代。
- S085 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S084 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product27，不以小數近似替代。
- S083 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S082 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product26，不以小數近似替代。
- S081 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S080 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product25，不以小數近似替代。
- S079 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S078 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product24，不以小數近似替代。
- S077 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S076 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product23，不以小數近似替代。
- S075 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S074 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product22，不以小數近似替代。
- S073 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S072 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product21，不以小數近似替代。
- S071 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S070 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product20，不以小數近似替代。
- S069 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S068 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product19，不以小數近似替代。
- S067 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S066 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product18，不以小數近似替代。
- S065 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S064 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product17，不以小數近似替代。
- S063 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S062 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product16，不以小數近似替代。
- S061 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S060 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product15，不以小數近似替代。
- S059 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S058 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product14，不以小數近似替代。
- S057 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S056 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product13，不以小數近似替代。
- S055 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S054 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product12，不以小數近似替代。
- S053 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S052 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product11，不以小數近似替代。
- S051 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S050 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product10，不以小數近似替代。
- S049 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S048 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product9，不以小數近似替代。
- S047 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S046 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product8，不以小數近似替代。
- S045 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S044 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product7，不以小數近似替代。
- S043 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S042 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product6，不以小數近似替代。
- S041 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S040 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product5，不以小數近似替代。
- S039 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S038 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product4，不以小數近似替代。
- S037 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S036 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product3，不以小數近似替代。
- S035 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S034 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product2，不以小數近似替代。
- S033 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S032 · premise_and_result_audit — 以精確有理數重算 Wilson ORIGINAL prime factorial ORIGINAL running factorial product1，不以小數近似替代。
- S031 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S030 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S029 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S028 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S027 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S026 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S025 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S024 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S023 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S022 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S021 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S020 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S019 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S018 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S017 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S016 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S015 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S014 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S013 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S012 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S011 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S010 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S009 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S008 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S007 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S006 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S005 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S004 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S003 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S002 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。
- S001 · premise_and_result_audit — 回查原始資料、操作數、完整範圍與本步前提；有限見證、條件式定理引用與形式證明分開。





## 結論

(31, [[1, 1], [2, 16], [3, 21], [4, 8], [5, 25], [6, 26], [7, 9], [8, 4], [9, 7], [10, 28], [11, 17], [12, 13], [13, 12], [14, 20], [15, 29], [16, 2], [17, 11], [18, 19], [19, 18], [20, 14], [21, 3], [22, 24], [23, 27], [24, 22], [25, 5], [26, 6], [27, 23], [28, 10], [29, 15], [30, 30]], [1, 30], [[2, 16, 1], [3, 21, 1], [4, 8, 1], [5, 25, 1], [6, 26, 1], [7, 9, 1], [10, 28, 1], [11, 17, 1], [12, 13, 1], [14, 20, 1], [15, 29, 1], [18, 19, 1], [22, 24, 1], [23, 27, 1]], self_inverse_residues_1_and_p_minus_1, 30, 是)

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





## 本題覆核與來源綁定

覆核日期：2026-10-26

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

來源雜湊與覆核憑證
- input commit: 0f7be61e2c22317a4075561dc822c87d881a50db
- original question SHA-256: 2e1b314590ae01c803bc9f2d2291bf3c29d0bba5b0be9fa5f23b8234f590d76d
- candidate record SHA-256: 7452bf82951900665b24953bb56f9da9401eda1e936f8b8d793c49c8d08ed8cd
- 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-r04-wilson-theorem-0036.json)




