S001 · implies
操作前
n=12; a=5
操作後
order is defined here only for n≥2 and units modulo n
條件:無
先固定本節點的定義域;加法階數與乘法階數不能混用。
步驟識別與依賴
規則:order_domain · 依賴:G001
P1000-0960 · q-20261015-advance-20261116-r07-multiplicative-order-mod-n-0060
n>=2、normalized coprime residue與first positive power return責任。操作=morder-phi-divisibility;資料={"n":12,"a":5}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。
G001 — n>=2、normalized coprime residue與first positive power return責任。操作=morder-phi-divisibility;資料={"n":12,"a":5}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。單位群被等長軌道分割,所以階數整除 phi(n);不由此推出相等或原根。
操作前
n=12; a=5
操作後
order is defined here only for n≥2 and units modulo n
條件:無
先固定本節點的定義域;加法階數與乘法階數不能混用。
規則:order_domain · 依賴:G001
操作前
a=5
操作後
normalized residue=5; gcd(5,12)=1
條件:無
先把負代表元也正規化到[0,n),再檢查互質。
規則:normalize_and_qualify · 依賴:G001, S001
操作前
gcd(residue,n)=1; units=[1, 5, 7, 11]
操作後
phi(12)=4
條件:無
逐一枚舉0到n−1的互質類,phi是完整unit載體的大小。
規則:complete_unit_enumeration · 依賴:G001, S002
操作前
power product at k=1 := mul(1, 5)
操作後
power product at k=1 = 5
條件:無
前一個冪的代表乘以同一正規化底數。
規則:exact_rational_arithmetic · 依賴:G001, S003
操作前
product=5
操作後
a^1 mod 12=5
條件:無
此步餘數才是完整的下一冪代表。
規則:reduce_next_power · 依賴:G001, S004
操作前
power product at k=2 := mul(5, 5)
操作後
power product at k=2 = 25
條件:無
前一個冪的代表乘以同一正規化底數。
規則:exact_rational_arithmetic · 依賴:G001, S005
操作前
product=25
操作後
a^2 mod 12=1
條件:無
此步餘數才是完整的下一冪代表。
規則:reduce_next_power · 依賴:G001, S006
操作前
all positive k<=2: [[1, 5], [2, 1]]
操作後
first positive return to1 occurs at k=2
條件:無
已完整檢查所有更小正指數均未回到1;k=0的單位元不計入階數。
規則:least_positive_return · 依賴:G001, S007
操作前
multiply unit 1 successively by 5
操作後
orbit=[1, 5]; length=2
條件:無
unit乘法是雙射;若較早回到起點,約去起點unit就會違反已證的最小正階數。
規則:unit_orbit_partition · 依賴:G001, S008
操作前
multiply unit 7 successively by 5
操作後
orbit=[7, 11]; length=2
條件:無
unit乘法是雙射;若較早回到起點,約去起點unit就會違反已證的最小正階數。
規則:unit_orbit_partition · 依賴:G001, S009
操作前
complete disjoint unit orbits=[[1, 5], [7, 11]]
操作後
phi=4=2·2; remainder=0
條件:無
所有unit恰被等長軌道分割,所以階數整除phi;不由此宣稱相等或原根。
規則:order_divides_totient · 依賴:G001, S010
S011 · premise_and_result_audit — 階數必為第一個正指數回到1;先檢查 n≥2 及互質,不宣稱階數等於 phi。S010 · premise_and_result_audit — 階數必為第一個正指數回到1;先檢查 n≥2 及互質,不宣稱階數等於 phi。S009 · premise_and_result_audit — 階數必為第一個正指數回到1;先檢查 n≥2 及互質,不宣稱階數等於 phi。S008 · premise_and_result_audit — 階數必為第一個正指數回到1;先檢查 n≥2 及互質,不宣稱階數等於 phi。S007 · premise_and_result_audit — 階數必為第一個正指數回到1;先檢查 n≥2 及互質,不宣稱階數等於 phi。S006 · premise_and_result_audit — 以精確有理數重算 power product at k=2,不以小數近似替代。S005 · premise_and_result_audit — 階數必為第一個正指數回到1;先檢查 n≥2 及互質,不宣稱階數等於 phi。S004 · premise_and_result_audit — 以精確有理數重算 power product at k=1,不以小數近似替代。S003 · premise_and_result_audit — 階數必為第一個正指數回到1;先檢查 n≥2 及互質,不宣稱階數等於 phi。S002 · premise_and_result_audit — 階數必為第一個正指數回到1;先檢查 n≥2 及互質,不宣稱階數等於 phi。S001 · premise_and_result_audit — 階數必為第一個正指數回到1;先檢查 n≥2 及互質,不宣稱階數等於 phi。(2, 4, 是, [[1, 5], [2, 1]], ord_n_a_divides_phi_n_without_claiming_equality_or_primitive_root)
上述完整代值與條件核對得到原題答案;欄位次序及真假標記保持原始合約。
覆核日期:2026-10-26
原題、答案、步驟表達式、數值 AST 與既有歷史保持原樣;原來的候選狀態屬於來源歷史,不覆寫為形式化證明。
input commit: 0f7be61e2c22317a4075561dc822c87d881a50dboriginal question SHA-256: 1399580fed128ab206fe80c7ae0e1868c7d6925ab62188ad0352fb904b2a4a31candidate record SHA-256: 243df696b9310d08d3b862e67412670fba176d3c85df0408c41951a8f7c505ddsemantic review receipt SHA-256: 6c2c6d46aded7582a11ac41a8c0b3bdde2669a53bdb6e796eea2039994a02772question-first witness SHA-256: 77e43898df9efdbf8094ad81fe4ab91cf4b4bd82f481eb9b4699b73cb4da612bLean: NOT_RUN · human review: NOT_PERFORMED