逐步推導
S001 · implies
操作前
source operation=eulerthm-congruence;original snapshot and mathematics retained
操作後
explicit ordered source output fields=[n, normalized_base, totient, residue, congruent_to_one]
條件:無
原題快照保留歷史介面標記;本頁直接列來源欄位順序,不需JavaScript或外部表。欄位標籤不是額外數學證據,No保持原題的聲稱範圍。
步驟識別與依賴
規則:source_ordered_interface_explicit_without_javascript · 依賴:G001
S002 · calculation
操作前
Euler ORIGINAL signed base normalization exact quotient := div(25, 28)
操作後
Euler ORIGINAL signed base normalization exact quotient = 25/28
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S001
S003 · calculation
操作前
Euler ORIGINAL signed base normalization floor quotient multiple := mul(0, 28)
操作後
Euler ORIGINAL signed base normalization floor quotient multiple = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S002
S004 · calculation
操作前
Euler ORIGINAL signed base normalization normalized remainder := sub(25, 0)
操作後
Euler ORIGINAL signed base normalization normalized remainder = 25
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · implies
操作前
Euler ORIGINAL signed base normalization:ORIGINAL signed integer=25;modulus=28;exact ratio=25/28;floor quotient=0
操作後
value=q*n+remainder;normalized residue=25 in[0,28);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S004
S006 · implies
操作前
Euler ORIGINAL base applicability gcd:ORIGINAL gcd inputs=[25, 28];nonnegative initial pair=[25, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[25, 28, 0, 25], [28, 25, 1, 3], [25, 3, 8, 1], [3, 1, 3, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S005
S007 · implies
操作前
Euler residue representative0:ORIGINAL gcd inputs=[0, 28];nonnegative initial pair=[0, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[0, 28, 0, 0]];terminal gcd=28
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S006
S008 · implies
操作前
Euler residue representative1:ORIGINAL gcd inputs=[1, 28];nonnegative initial pair=[1, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[1, 28, 0, 1], [28, 1, 28, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S007
S009 · implies
操作前
Euler residue representative2:ORIGINAL gcd inputs=[2, 28];nonnegative initial pair=[2, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[2, 28, 0, 2], [28, 2, 14, 0]];terminal gcd=2
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S008
S010 · implies
操作前
Euler residue representative3:ORIGINAL gcd inputs=[3, 28];nonnegative initial pair=[3, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[3, 28, 0, 3], [28, 3, 9, 1], [3, 1, 3, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S009
S011 · implies
操作前
Euler residue representative4:ORIGINAL gcd inputs=[4, 28];nonnegative initial pair=[4, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[4, 28, 0, 4], [28, 4, 7, 0]];terminal gcd=4
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S010
S012 · implies
操作前
Euler residue representative5:ORIGINAL gcd inputs=[5, 28];nonnegative initial pair=[5, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[5, 28, 0, 5], [28, 5, 5, 3], [5, 3, 1, 2], [3, 2, 1, 1], [2, 1, 2, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S011
S013 · implies
操作前
Euler residue representative6:ORIGINAL gcd inputs=[6, 28];nonnegative initial pair=[6, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[6, 28, 0, 6], [28, 6, 4, 4], [6, 4, 1, 2], [4, 2, 2, 0]];terminal gcd=2
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S012
S014 · implies
操作前
Euler residue representative7:ORIGINAL gcd inputs=[7, 28];nonnegative initial pair=[7, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[7, 28, 0, 7], [28, 7, 4, 0]];terminal gcd=7
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S013
S015 · implies
操作前
Euler residue representative8:ORIGINAL gcd inputs=[8, 28];nonnegative initial pair=[8, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[8, 28, 0, 8], [28, 8, 3, 4], [8, 4, 2, 0]];terminal gcd=4
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S014
S016 · implies
操作前
Euler residue representative9:ORIGINAL gcd inputs=[9, 28];nonnegative initial pair=[9, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[9, 28, 0, 9], [28, 9, 3, 1], [9, 1, 9, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S015
S017 · implies
操作前
Euler residue representative10:ORIGINAL gcd inputs=[10, 28];nonnegative initial pair=[10, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[10, 28, 0, 10], [28, 10, 2, 8], [10, 8, 1, 2], [8, 2, 4, 0]];terminal gcd=2
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S016
S018 · implies
操作前
Euler residue representative11:ORIGINAL gcd inputs=[11, 28];nonnegative initial pair=[11, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[11, 28, 0, 11], [28, 11, 2, 6], [11, 6, 1, 5], [6, 5, 1, 1], [5, 1, 5, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S017
S019 · implies
操作前
Euler residue representative12:ORIGINAL gcd inputs=[12, 28];nonnegative initial pair=[12, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[12, 28, 0, 12], [28, 12, 2, 4], [12, 4, 3, 0]];terminal gcd=4
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S018
S020 · implies
操作前
Euler residue representative13:ORIGINAL gcd inputs=[13, 28];nonnegative initial pair=[13, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[13, 28, 0, 13], [28, 13, 2, 2], [13, 2, 6, 1], [2, 1, 2, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S019
S021 · implies
操作前
Euler residue representative14:ORIGINAL gcd inputs=[14, 28];nonnegative initial pair=[14, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[14, 28, 0, 14], [28, 14, 2, 0]];terminal gcd=14
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S020
S022 · implies
操作前
Euler residue representative15:ORIGINAL gcd inputs=[15, 28];nonnegative initial pair=[15, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[15, 28, 0, 15], [28, 15, 1, 13], [15, 13, 1, 2], [13, 2, 6, 1], [2, 1, 2, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S021
S023 · implies
操作前
Euler residue representative16:ORIGINAL gcd inputs=[16, 28];nonnegative initial pair=[16, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[16, 28, 0, 16], [28, 16, 1, 12], [16, 12, 1, 4], [12, 4, 3, 0]];terminal gcd=4
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S022
S024 · implies
操作前
Euler residue representative17:ORIGINAL gcd inputs=[17, 28];nonnegative initial pair=[17, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[17, 28, 0, 17], [28, 17, 1, 11], [17, 11, 1, 6], [11, 6, 1, 5], [6, 5, 1, 1], [5, 1, 5, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S023
S025 · implies
操作前
Euler residue representative18:ORIGINAL gcd inputs=[18, 28];nonnegative initial pair=[18, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[18, 28, 0, 18], [28, 18, 1, 10], [18, 10, 1, 8], [10, 8, 1, 2], [8, 2, 4, 0]];terminal gcd=2
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S024
S026 · implies
操作前
Euler residue representative19:ORIGINAL gcd inputs=[19, 28];nonnegative initial pair=[19, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[19, 28, 0, 19], [28, 19, 1, 9], [19, 9, 2, 1], [9, 1, 9, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S025
S027 · implies
操作前
Euler residue representative20:ORIGINAL gcd inputs=[20, 28];nonnegative initial pair=[20, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[20, 28, 0, 20], [28, 20, 1, 8], [20, 8, 2, 4], [8, 4, 2, 0]];terminal gcd=4
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S026
S028 · implies
操作前
Euler residue representative21:ORIGINAL gcd inputs=[21, 28];nonnegative initial pair=[21, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[21, 28, 0, 21], [28, 21, 1, 7], [21, 7, 3, 0]];terminal gcd=7
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S027
S029 · implies
操作前
Euler residue representative22:ORIGINAL gcd inputs=[22, 28];nonnegative initial pair=[22, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[22, 28, 0, 22], [28, 22, 1, 6], [22, 6, 3, 4], [6, 4, 1, 2], [4, 2, 2, 0]];terminal gcd=2
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S028
S030 · implies
操作前
Euler residue representative23:ORIGINAL gcd inputs=[23, 28];nonnegative initial pair=[23, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[23, 28, 0, 23], [28, 23, 1, 5], [23, 5, 4, 3], [5, 3, 1, 2], [3, 2, 1, 1], [2, 1, 2, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S029
S031 · implies
操作前
Euler residue representative24:ORIGINAL gcd inputs=[24, 28];nonnegative initial pair=[24, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[24, 28, 0, 24], [28, 24, 1, 4], [24, 4, 6, 0]];terminal gcd=4
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S030
S032 · implies
操作前
Euler residue representative25:ORIGINAL gcd inputs=[25, 28];nonnegative initial pair=[25, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[25, 28, 0, 25], [28, 25, 1, 3], [25, 3, 8, 1], [3, 1, 3, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S031
S033 · implies
操作前
Euler residue representative26:ORIGINAL gcd inputs=[26, 28];nonnegative initial pair=[26, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[26, 28, 0, 26], [28, 26, 1, 2], [26, 2, 13, 0]];terminal gcd=2
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S032
S034 · implies
操作前
Euler residue representative27:ORIGINAL gcd inputs=[27, 28];nonnegative initial pair=[27, 28]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[27, 28, 0, 27], [28, 27, 1, 1], [27, 1, 27, 0]];terminal gcd=1
條件:無
每列left=q·right+r且0≤r<正right,餘數替換保共同因數集並嚴格下降,終端給gcd;包含gcd(0,n)=n,不除以0。
步驟識別與依賴
規則:euler_gcd_full_remainder_chain_unit_test · 依賴:G001, S033
S035 · calculation
操作前
Euler complete reduced residue count phi := sum(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1)
操作後
Euler complete reduced residue count phi = 12
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S034
S036 · implies
操作前
COMPLETE original residue carrier0..27;ALL [representative,gcd,unit] rows=[[0, 28, 否], [1, 1, 是], [2, 2, 否], [3, 1, 是], [4, 4, 否], [5, 1, 是], [6, 2, 否], [7, 7, 否], [8, 4, 否], [9, 1, 是], [10, 2, 否], [11, 1, 是], [12, 4, 否], [13, 1, 是], [14, 14, 否], [15, 1, 是], [16, 4, 否], [17, 1, 是], [18, 2, 否], [19, 1, 是], [20, 4, 否], [21, 7, 否], [22, 2, 否], [23, 1, 是], [24, 4, 否], [25, 1, 是], [26, 2, 否], [27, 1, 是]]
操作後
increasing COMPLETE U(n)=[1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, 27];phi(n)=12;source count over1..n agrees because0 and n are BOTH nonunits for n>=2
條件:無
逐所有代表判gcd1而得完整單位元集合,1必在其中。來源φ用1..n而unit list用0..n−1;因n≥2,換出的0與n都非單位元,計數一致,不擅自把n當prime。
步驟識別與依賴
規則:euler_full_units_totient_count_convention_not_prime_only · 依賴:G001, S035
S037 · implies
操作前
ORIGINAL normalized base=25;COMPLETE totient exponent=12;modulus=28
操作後
initialize accumulator1,current_base=base,remaining=phi;invariant accumulator*current_base^remaining congruent to the original totient power
條件:無
以有限次平方乘法保原φ次方同餘,不建立龐大普通整數冪。φ是完整單位元數,不把它換成n−1除非另外證n為prime。
步驟識別與依賴
規則:euler_totient_power_initial_exact_invariant · 依賴:G001, S036
S038 · calculation
操作前
Euler power bit0 base square := mul(25, 25)
操作後
Euler power bit0 base square = 625
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S037
S039 · calculation
操作前
Euler power bit0 squared-base reduction exact quotient := div(625, 28)
操作後
Euler power bit0 squared-base reduction exact quotient = 625/28
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S038
S040 · calculation
操作前
Euler power bit0 squared-base reduction floor quotient multiple := mul(22, 28)
操作後
Euler power bit0 squared-base reduction floor quotient multiple = 616
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S039
S041 · calculation
操作前
Euler power bit0 squared-base reduction normalized remainder := sub(625, 616)
操作後
Euler power bit0 squared-base reduction normalized remainder = 9
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S040
S042 · implies
操作前
Euler power bit0 squared-base reduction:ORIGINAL signed integer=625;modulus=28;exact ratio=625/28;floor quotient=22
操作後
value=q*n+remainder;normalized residue=9 in[0,28);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S041
S043 · implies
操作前
step=0;previous[accumulator,base,exponent]=[1, 25, 12];low bit=0
操作後
next[accumulator,base,exponent]=[1, 9, 6];split exponent=2*q+bit preserves original-power invariant
條件:無
奇次方取一個base進accumulator,偶部分改用平方base,取模保同餘且exponent減半終止。這段精確算術對nonunit也能做;能計算不等於Euler定理前提成立。
步驟識別與依賴
規則:euler_every_binary_power_step_unit_not_required_for_arithmetic · 依賴:G001, S042
S044 · calculation
操作前
Euler power bit1 base square := mul(9, 9)
操作後
Euler power bit1 base square = 81
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S043
S045 · calculation
操作前
Euler power bit1 squared-base reduction exact quotient := div(81, 28)
操作後
Euler power bit1 squared-base reduction exact quotient = 81/28
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S044
S046 · calculation
操作前
Euler power bit1 squared-base reduction floor quotient multiple := mul(2, 28)
操作後
Euler power bit1 squared-base reduction floor quotient multiple = 56
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S045
S047 · calculation
操作前
Euler power bit1 squared-base reduction normalized remainder := sub(81, 56)
操作後
Euler power bit1 squared-base reduction normalized remainder = 25
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S046
S048 · implies
操作前
Euler power bit1 squared-base reduction:ORIGINAL signed integer=81;modulus=28;exact ratio=81/28;floor quotient=2
操作後
value=q*n+remainder;normalized residue=25 in[0,28);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S047
S049 · implies
操作前
step=1;previous[accumulator,base,exponent]=[1, 9, 6];low bit=0
操作後
next[accumulator,base,exponent]=[1, 25, 3];split exponent=2*q+bit preserves original-power invariant
條件:無
奇次方取一個base進accumulator,偶部分改用平方base,取模保同餘且exponent減半終止。這段精確算術對nonunit也能做;能計算不等於Euler定理前提成立。
步驟識別與依賴
規則:euler_every_binary_power_step_unit_not_required_for_arithmetic · 依賴:G001, S048
S050 · calculation
操作前
Euler power bit2 accumulator product := mul(1, 25)
操作後
Euler power bit2 accumulator product = 25
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S049
S051 · calculation
操作前
Euler power bit2 accumulator reduction exact quotient := div(25, 28)
操作後
Euler power bit2 accumulator reduction exact quotient = 25/28
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S050
S052 · calculation
操作前
Euler power bit2 accumulator reduction floor quotient multiple := mul(0, 28)
操作後
Euler power bit2 accumulator reduction floor quotient multiple = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S051
S053 · calculation
操作前
Euler power bit2 accumulator reduction normalized remainder := sub(25, 0)
操作後
Euler power bit2 accumulator reduction normalized remainder = 25
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S052
S054 · implies
操作前
Euler power bit2 accumulator reduction:ORIGINAL signed integer=25;modulus=28;exact ratio=25/28;floor quotient=0
操作後
value=q*n+remainder;normalized residue=25 in[0,28);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S053
S055 · calculation
操作前
Euler power bit2 base square := mul(25, 25)
操作後
Euler power bit2 base square = 625
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S054
S056 · calculation
操作前
Euler power bit2 squared-base reduction exact quotient := div(625, 28)
操作後
Euler power bit2 squared-base reduction exact quotient = 625/28
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S055
S057 · calculation
操作前
Euler power bit2 squared-base reduction floor quotient multiple := mul(22, 28)
操作後
Euler power bit2 squared-base reduction floor quotient multiple = 616
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S056
S058 · calculation
操作前
Euler power bit2 squared-base reduction normalized remainder := sub(625, 616)
操作後
Euler power bit2 squared-base reduction normalized remainder = 9
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S057
S059 · implies
操作前
Euler power bit2 squared-base reduction:ORIGINAL signed integer=625;modulus=28;exact ratio=625/28;floor quotient=22
操作後
value=q*n+remainder;normalized residue=9 in[0,28);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S058
S060 · implies
操作前
step=2;previous[accumulator,base,exponent]=[1, 25, 3];low bit=1
操作後
next[accumulator,base,exponent]=[25, 9, 1];split exponent=2*q+bit preserves original-power invariant
條件:無
奇次方取一個base進accumulator,偶部分改用平方base,取模保同餘且exponent減半終止。這段精確算術對nonunit也能做;能計算不等於Euler定理前提成立。
步驟識別與依賴
規則:euler_every_binary_power_step_unit_not_required_for_arithmetic · 依賴:G001, S059
S061 · calculation
操作前
Euler power bit3 accumulator product := mul(25, 9)
操作後
Euler power bit3 accumulator product = 225
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S060
S062 · calculation
操作前
Euler power bit3 accumulator reduction exact quotient := div(225, 28)
操作後
Euler power bit3 accumulator reduction exact quotient = 225/28
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S061
S063 · calculation
操作前
Euler power bit3 accumulator reduction floor quotient multiple := mul(8, 28)
操作後
Euler power bit3 accumulator reduction floor quotient multiple = 224
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S062
S064 · calculation
操作前
Euler power bit3 accumulator reduction normalized remainder := sub(225, 224)
操作後
Euler power bit3 accumulator reduction normalized remainder = 1
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S063
S065 · implies
操作前
Euler power bit3 accumulator reduction:ORIGINAL signed integer=225;modulus=28;exact ratio=225/28;floor quotient=8
操作後
value=q*n+remainder;normalized residue=1 in[0,28);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S064
S066 · calculation
操作前
Euler power bit3 base square := mul(9, 9)
操作後
Euler power bit3 base square = 81
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S065
S067 · calculation
操作前
Euler power bit3 squared-base reduction exact quotient := div(81, 28)
操作後
Euler power bit3 squared-base reduction exact quotient = 81/28
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S066
S068 · calculation
操作前
Euler power bit3 squared-base reduction floor quotient multiple := mul(2, 28)
操作後
Euler power bit3 squared-base reduction floor quotient multiple = 56
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S067
S069 · calculation
操作前
Euler power bit3 squared-base reduction normalized remainder := sub(81, 56)
操作後
Euler power bit3 squared-base reduction normalized remainder = 25
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S068
S070 · implies
操作前
Euler power bit3 squared-base reduction:ORIGINAL signed integer=81;modulus=28;exact ratio=81/28;floor quotient=2
操作後
value=q*n+remainder;normalized residue=25 in[0,28);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S069
S071 · implies
操作前
step=3;previous[accumulator,base,exponent]=[25, 9, 1];low bit=1
操作後
next[accumulator,base,exponent]=[1, 25, 0];split exponent=2*q+bit preserves original-power invariant
條件:無
奇次方取一個base進accumulator,偶部分改用平方base,取模保同餘且exponent減半終止。這段精確算術對nonunit也能做;能計算不等於Euler定理前提成立。
步驟識別與依賴
規則:euler_every_binary_power_step_unit_not_required_for_arithmetic · 依賴:G001, S070
S072 · implies
操作前
remaining exponent0;final normalized accumulator=1
操作後
EXACT original normalized base^12 modulo28=1
條件:無
不變式終止後給原φ次方餘數;這是指定modulus的算術結果,不是primality certificate。
步驟識別與依賴
規則:euler_totient_power_terminal_congruence_not_primality · 依賴:G001, S071
S073 · calculation
操作前
Euler ACTUAL base-unit inverse product := mul(25, 9)
操作後
Euler ACTUAL base-unit inverse product = 225
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S072
S074 · calculation
操作前
Euler ACTUAL inverse check exact quotient := div(225, 28)
操作後
Euler ACTUAL inverse check exact quotient = 225/28
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S073
S075 · calculation
操作前
Euler ACTUAL inverse check floor quotient multiple := mul(8, 28)
操作後
Euler ACTUAL inverse check floor quotient multiple = 224
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S074
S076 · calculation
操作前
Euler ACTUAL inverse check normalized remainder := sub(225, 224)
操作後
Euler ACTUAL inverse check normalized remainder = 1
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S075
S077 · implies
操作前
Euler ACTUAL inverse check:ORIGINAL signed integer=225;modulus=28;exact ratio=225/28;floor quotient=8
操作後
value=q*n+remainder;normalized residue=1 in[0,28);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S076
S078 · implies
操作前
ACTUAL modulus n=28;gcd(original a=25,n)=1;normalized base=25;ACTUAL inverse=9;COMPLETE U(n)=[1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, 27]
操作後
for ANY r in U(n),a*r remains a unit;actual inverse makes multiplication injective;finite self-injection on U(n) is surjective,so a*U(n)=U(n)
條件:無
單位元乘積的inverse可由反序inverse相乘給出,故乘a留U(n);用a的真inverse消去得單射,有限同載體推出滿射。n可以是合數;不能把全部非零residue當單位元。
步驟識別與依賴
規則:euler_all_unit_residue_permutation_composite_allowed · 依賴:G001, S077
S079 · implies
操作前
SAME complete U(n)=[1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, 27] of size phi=12;multiplication by original a=25 permutes it
操作後
multiply ALL unit images:a^(12)*product(U) congruent product(U);EVERY U factor is a UNIT,so product(U) has reverse-product inverse;cancel ONLY this unit to get a^phi congruent1 modulo28
條件:無
有限乘積是同一unit集合的排列,故相等;prod(U)是unit才可消去。這不是對合數模數的所有非零元素取消,也不是對0取消;沒有prime前提,Euler congruence通過不給prime converse。
步驟識別與依賴
規則:euler_complete_unit_product_cancellation_not_nonzero_factorial · 依賴:G001, S078