逐步推導
S001 · implies
操作前
source roles = [wilson-boundary]
操作後
derived = [[mode, n, running_factorial_residues, factorial_residue, minus_one_residue, Wilson_congruence, Wilson_statement, Fermat_statement, theorem_identification_claim, boundary]]
條件:無
直接明列此操作與mode完整欄序,不依JavaScript、不由答案形狀猜角色;布林、字串、null與未作聲稱保持不同。
步驟識別與依賴
規則:source_ordered_fields_without_JS · 依賴:G001
S002 · calculation
操作前
Wilson boundary ORIGINAL prime ORIGINAL running factorial product1 := mul(1, 1)
操作後
Wilson boundary ORIGINAL prime ORIGINAL running factorial product1 = 1
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S001
S003 · implies
操作前
source roles = [Wilson boundary ORIGINAL prime, 7, 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, S002
S004 · calculation
操作前
Wilson boundary ORIGINAL prime ORIGINAL running factorial product2 := mul(1, 2)
操作後
Wilson boundary ORIGINAL prime ORIGINAL running factorial product2 = 2
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · implies
操作前
source roles = [Wilson boundary ORIGINAL prime, 7, 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, S004
S006 · calculation
操作前
Wilson boundary ORIGINAL prime ORIGINAL running factorial product3 := mul(2, 3)
操作後
Wilson boundary ORIGINAL prime ORIGINAL running factorial product3 = 6
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S005
S007 · implies
操作前
source roles = [Wilson boundary ORIGINAL prime, 7, 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, S006
S008 · calculation
操作前
Wilson boundary ORIGINAL prime ORIGINAL running factorial product4 := mul(6, 4)
操作後
Wilson boundary ORIGINAL prime ORIGINAL running factorial product4 = 24
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S007
S009 · implies
操作前
source roles = [Wilson boundary ORIGINAL prime, 7, 4, 6, 24]
操作後
derived = [3, 3, 是, 是]
條件:無
逐k保前residue與完整乘積,再以唯一Euclidean餘數縮回0..n-1;累積不變量是value≡k! mod n,不把table最後一項當未算的假設。
步驟識別與依賴
規則:Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴:G001, S008
S010 · calculation
操作前
Wilson boundary ORIGINAL prime ORIGINAL running factorial product5 := mul(3, 5)
操作後
Wilson boundary ORIGINAL prime ORIGINAL running factorial product5 = 15
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S009
S011 · implies
操作前
source roles = [Wilson boundary ORIGINAL prime, 7, 5, 3, 15]
操作後
derived = [2, 1, 是, 是]
條件:無
逐k保前residue與完整乘積,再以唯一Euclidean餘數縮回0..n-1;累積不變量是value≡k! mod n,不把table最後一項當未算的假設。
步驟識別與依賴
規則:Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴:G001, S010
S012 · calculation
操作前
Wilson boundary ORIGINAL prime ORIGINAL running factorial product6 := mul(1, 6)
操作後
Wilson boundary ORIGINAL prime ORIGINAL running factorial product6 = 6
條件:無
以原始角色與已證中間量精確代值,不用近似或自洽但換過的操作數;額外教學代數不另縮來源域。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S011
S013 · implies
操作前
source roles = [Wilson boundary ORIGINAL prime, 7, 6, 1, 6]
操作後
derived = [0, 6, 是, 是]
條件:無
逐k保前residue與完整乘積,再以唯一Euclidean餘數縮回0..n-1;累積不變量是value≡k! mod n,不把table最後一項當未算的假設。
步驟識別與依賴
規則:Wilson_EACH_running_factorial_exact_Euclidean_remainder · 依賴:G001, S012
S014 · implies
操作前
source roles = [7, [[1, 1], [2, 2], [3, 6], [4, 3], [5, 1], [6, 6]], 6]
操作後
derived = [6, 是, 否]
條件:無
Wilson談(n-1)!;Fermat談n不整除a時a^(n-1)。此分支未給a也未重算其冪,不能把named comparison當同一定理或額外數值測試。
步驟識別與依賴
規則:Wilson_and_Fermat_DISTINCT_named_statements_NO_unprovided_a_power · 依賴:G001, S013
結論
(fermat_confusion, 7, [[1, 1], [2, 2], [3, 6], [4, 3], [5, 1], [6, 6]], 6, 6, 是, Wilson:(n-1)!==-1_mod_7, Fermat:a^(7-1)==1_mod_7_when_n_does_not_divide_a, 否, distinct_theorems_no_Fermat_power_claim_recomputed)
依上列完整代值及條件核對得到原題答案;原題編號、格式與狀態保持不變。