逐步推導
S001 · implies
操作前
source operation=eulerthm-nonunit-boundary;original snapshot and mathematics retained
操作後
explicit ordered source output fields=[n, original_base, gcd, theorem_applicable, residue, boundary]
條件:無
原題快照保留歷史介面標記;本頁直接列來源欄位順序,不需JavaScript或外部表。欄位標籤不是額外數學證據,No保持原題的聲稱範圍。
步驟識別與依賴
規則:source_ordered_interface_explicit_without_javascript · 依賴:G001
S002 · calculation
操作前
Euler ORIGINAL signed base normalization exact quotient := div(25, 25)
操作後
Euler ORIGINAL signed base normalization exact quotient = 1
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S001
S003 · calculation
操作前
Euler ORIGINAL signed base normalization floor quotient multiple := mul(1, 25)
操作後
Euler ORIGINAL signed base normalization floor quotient multiple = 25
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S002
S004 · calculation
操作前
Euler ORIGINAL signed base normalization normalized remainder := sub(25, 25)
操作後
Euler ORIGINAL signed base normalization normalized remainder = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · implies
操作前
Euler ORIGINAL signed base normalization:ORIGINAL signed integer=25;modulus=25;exact ratio=1;floor quotient=1
操作後
value=q*n+remainder;normalized residue=0 in[0,25);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, 25];nonnegative initial pair=[25, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[25, 25, 1, 0]];terminal gcd=25
條件:無
每列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, 25];nonnegative initial pair=[0, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[0, 25, 0, 0]];terminal gcd=25
條件:無
每列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, 25];nonnegative initial pair=[1, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[1, 25, 0, 1], [25, 1, 25, 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, 25];nonnegative initial pair=[2, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[2, 25, 0, 2], [25, 2, 12, 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, S008
S010 · implies
操作前
Euler residue representative3:ORIGINAL gcd inputs=[3, 25];nonnegative initial pair=[3, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[3, 25, 0, 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, S009
S011 · implies
操作前
Euler residue representative4:ORIGINAL gcd inputs=[4, 25];nonnegative initial pair=[4, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[4, 25, 0, 4], [25, 4, 6, 1], [4, 1, 4, 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, S010
S012 · implies
操作前
Euler residue representative5:ORIGINAL gcd inputs=[5, 25];nonnegative initial pair=[5, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[5, 25, 0, 5], [25, 5, 5, 0]];terminal gcd=5
條件:無
每列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, 25];nonnegative initial pair=[6, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[6, 25, 0, 6], [25, 6, 4, 1], [6, 1, 6, 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, S012
S014 · implies
操作前
Euler residue representative7:ORIGINAL gcd inputs=[7, 25];nonnegative initial pair=[7, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[7, 25, 0, 7], [25, 7, 3, 4], [7, 4, 1, 3], [4, 3, 1, 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, S013
S015 · implies
操作前
Euler residue representative8:ORIGINAL gcd inputs=[8, 25];nonnegative initial pair=[8, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[8, 25, 0, 8], [25, 8, 3, 1], [8, 1, 8, 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, S014
S016 · implies
操作前
Euler residue representative9:ORIGINAL gcd inputs=[9, 25];nonnegative initial pair=[9, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[9, 25, 0, 9], [25, 9, 2, 7], [9, 7, 1, 2], [7, 2, 3, 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, S015
S017 · implies
操作前
Euler residue representative10:ORIGINAL gcd inputs=[10, 25];nonnegative initial pair=[10, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[10, 25, 0, 10], [25, 10, 2, 5], [10, 5, 2, 0]];terminal gcd=5
條件:無
每列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, 25];nonnegative initial pair=[11, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[11, 25, 0, 11], [25, 11, 2, 3], [11, 3, 3, 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, S017
S019 · implies
操作前
Euler residue representative12:ORIGINAL gcd inputs=[12, 25];nonnegative initial pair=[12, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[12, 25, 0, 12], [25, 12, 2, 1], [12, 1, 12, 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, S018
S020 · implies
操作前
Euler residue representative13:ORIGINAL gcd inputs=[13, 25];nonnegative initial pair=[13, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[13, 25, 0, 13], [25, 13, 1, 12], [13, 12, 1, 1], [12, 1, 12, 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, 25];nonnegative initial pair=[14, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[14, 25, 0, 14], [25, 14, 1, 11], [14, 11, 1, 3], [11, 3, 3, 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, S020
S022 · implies
操作前
Euler residue representative15:ORIGINAL gcd inputs=[15, 25];nonnegative initial pair=[15, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[15, 25, 0, 15], [25, 15, 1, 10], [15, 10, 1, 5], [10, 5, 2, 0]];terminal gcd=5
條件:無
每列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, 25];nonnegative initial pair=[16, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[16, 25, 0, 16], [25, 16, 1, 9], [16, 9, 1, 7], [9, 7, 1, 2], [7, 2, 3, 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, S022
S024 · implies
操作前
Euler residue representative17:ORIGINAL gcd inputs=[17, 25];nonnegative initial pair=[17, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[17, 25, 0, 17], [25, 17, 1, 8], [17, 8, 2, 1], [8, 1, 8, 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, 25];nonnegative initial pair=[18, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[18, 25, 0, 18], [25, 18, 1, 7], [18, 7, 2, 4], [7, 4, 1, 3], [4, 3, 1, 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, S024
S026 · implies
操作前
Euler residue representative19:ORIGINAL gcd inputs=[19, 25];nonnegative initial pair=[19, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[19, 25, 0, 19], [25, 19, 1, 6], [19, 6, 3, 1], [6, 1, 6, 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, 25];nonnegative initial pair=[20, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[20, 25, 0, 20], [25, 20, 1, 5], [20, 5, 4, 0]];terminal gcd=5
條件:無
每列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, 25];nonnegative initial pair=[21, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[21, 25, 0, 21], [25, 21, 1, 4], [21, 4, 5, 1], [4, 1, 4, 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, S027
S029 · implies
操作前
Euler residue representative22:ORIGINAL gcd inputs=[22, 25];nonnegative initial pair=[22, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[22, 25, 0, 22], [25, 22, 1, 3], [22, 3, 7, 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, S028
S030 · implies
操作前
Euler residue representative23:ORIGINAL gcd inputs=[23, 25];nonnegative initial pair=[23, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[23, 25, 0, 23], [25, 23, 1, 2], [23, 2, 11, 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, 25];nonnegative initial pair=[24, 25]
操作後
ALL exact Euclidean rows[left,right,q,r]=[[24, 25, 0, 24], [25, 24, 1, 1], [24, 1, 24, 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, S030
S032 · calculation
操作前
Euler complete reduced residue count phi := sum(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1)
操作後
Euler complete reduced residue count phi = 20
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S031
S033 · implies
操作前
COMPLETE original residue carrier0..24;ALL [representative,gcd,unit] rows=[[0, 25, 否], [1, 1, 是], [2, 1, 是], [3, 1, 是], [4, 1, 是], [5, 5, 否], [6, 1, 是], [7, 1, 是], [8, 1, 是], [9, 1, 是], [10, 5, 否], [11, 1, 是], [12, 1, 是], [13, 1, 是], [14, 1, 是], [15, 5, 否], [16, 1, 是], [17, 1, 是], [18, 1, 是], [19, 1, 是], [20, 5, 否], [21, 1, 是], [22, 1, 是], [23, 1, 是], [24, 1, 是]]
操作後
increasing COMPLETE U(n)=[1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, 21, 22, 23, 24];phi(n)=20;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, S032
S034 · implies
操作前
ORIGINAL normalized base=0;COMPLETE totient exponent=20;modulus=25
操作後
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, S033
S035 · calculation
操作前
Euler power bit0 base square := mul(0, 0)
操作後
Euler power bit0 base square = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S034
S036 · calculation
操作前
Euler power bit0 squared-base reduction exact quotient := div(0, 25)
操作後
Euler power bit0 squared-base reduction exact quotient = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S035
S037 · calculation
操作前
Euler power bit0 squared-base reduction floor quotient multiple := mul(0, 25)
操作後
Euler power bit0 squared-base reduction floor quotient multiple = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S036
S038 · calculation
操作前
Euler power bit0 squared-base reduction normalized remainder := sub(0, 0)
操作後
Euler power bit0 squared-base reduction normalized remainder = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S037
S039 · implies
操作前
Euler power bit0 squared-base reduction:ORIGINAL signed integer=0;modulus=25;exact ratio=0;floor quotient=0
操作後
value=q*n+remainder;normalized residue=0 in[0,25);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S038
S040 · implies
操作前
step=0;previous[accumulator,base,exponent]=[1, 0, 20];low bit=0
操作後
next[accumulator,base,exponent]=[1, 0, 10];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, S039
S041 · calculation
操作前
Euler power bit1 base square := mul(0, 0)
操作後
Euler power bit1 base square = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S040
S042 · calculation
操作前
Euler power bit1 squared-base reduction exact quotient := div(0, 25)
操作後
Euler power bit1 squared-base reduction exact quotient = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S041
S043 · calculation
操作前
Euler power bit1 squared-base reduction floor quotient multiple := mul(0, 25)
操作後
Euler power bit1 squared-base reduction floor quotient multiple = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S042
S044 · calculation
操作前
Euler power bit1 squared-base reduction normalized remainder := sub(0, 0)
操作後
Euler power bit1 squared-base reduction normalized remainder = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S043
S045 · implies
操作前
Euler power bit1 squared-base reduction:ORIGINAL signed integer=0;modulus=25;exact ratio=0;floor quotient=0
操作後
value=q*n+remainder;normalized residue=0 in[0,25);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S044
S046 · implies
操作前
step=1;previous[accumulator,base,exponent]=[1, 0, 10];low bit=0
操作後
next[accumulator,base,exponent]=[1, 0, 5];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, S045
S047 · calculation
操作前
Euler power bit2 accumulator product := mul(1, 0)
操作後
Euler power bit2 accumulator product = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S046
S048 · calculation
操作前
Euler power bit2 accumulator reduction exact quotient := div(0, 25)
操作後
Euler power bit2 accumulator reduction exact quotient = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S047
S049 · calculation
操作前
Euler power bit2 accumulator reduction floor quotient multiple := mul(0, 25)
操作後
Euler power bit2 accumulator reduction floor quotient multiple = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S048
S050 · calculation
操作前
Euler power bit2 accumulator reduction normalized remainder := sub(0, 0)
操作後
Euler power bit2 accumulator reduction normalized remainder = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S049
S051 · implies
操作前
Euler power bit2 accumulator reduction:ORIGINAL signed integer=0;modulus=25;exact ratio=0;floor quotient=0
操作後
value=q*n+remainder;normalized residue=0 in[0,25);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S050
S052 · calculation
操作前
Euler power bit2 base square := mul(0, 0)
操作後
Euler power bit2 base square = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S051
S053 · calculation
操作前
Euler power bit2 squared-base reduction exact quotient := div(0, 25)
操作後
Euler power bit2 squared-base reduction exact quotient = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S052
S054 · calculation
操作前
Euler power bit2 squared-base reduction floor quotient multiple := mul(0, 25)
操作後
Euler power bit2 squared-base reduction floor quotient multiple = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S053
S055 · calculation
操作前
Euler power bit2 squared-base reduction normalized remainder := sub(0, 0)
操作後
Euler power bit2 squared-base reduction normalized remainder = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S054
S056 · implies
操作前
Euler power bit2 squared-base reduction:ORIGINAL signed integer=0;modulus=25;exact ratio=0;floor quotient=0
操作後
value=q*n+remainder;normalized residue=0 in[0,25);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S055
S057 · implies
操作前
step=2;previous[accumulator,base,exponent]=[1, 0, 5];low bit=1
操作後
next[accumulator,base,exponent]=[0, 0, 2];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, S056
S058 · calculation
操作前
Euler power bit3 base square := mul(0, 0)
操作後
Euler power bit3 base square = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S057
S059 · calculation
操作前
Euler power bit3 squared-base reduction exact quotient := div(0, 25)
操作後
Euler power bit3 squared-base reduction exact quotient = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S058
S060 · calculation
操作前
Euler power bit3 squared-base reduction floor quotient multiple := mul(0, 25)
操作後
Euler power bit3 squared-base reduction floor quotient multiple = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S059
S061 · calculation
操作前
Euler power bit3 squared-base reduction normalized remainder := sub(0, 0)
操作後
Euler power bit3 squared-base reduction normalized remainder = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S060
S062 · implies
操作前
Euler power bit3 squared-base reduction:ORIGINAL signed integer=0;modulus=25;exact ratio=0;floor quotient=0
操作後
value=q*n+remainder;normalized residue=0 in[0,25);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S061
S063 · implies
操作前
step=3;previous[accumulator,base,exponent]=[0, 0, 2];low bit=0
操作後
next[accumulator,base,exponent]=[0, 0, 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, S062
S064 · calculation
操作前
Euler power bit4 accumulator product := mul(0, 0)
操作後
Euler power bit4 accumulator product = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S063
S065 · calculation
操作前
Euler power bit4 accumulator reduction exact quotient := div(0, 25)
操作後
Euler power bit4 accumulator reduction exact quotient = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S064
S066 · calculation
操作前
Euler power bit4 accumulator reduction floor quotient multiple := mul(0, 25)
操作後
Euler power bit4 accumulator reduction floor quotient multiple = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S065
S067 · calculation
操作前
Euler power bit4 accumulator reduction normalized remainder := sub(0, 0)
操作後
Euler power bit4 accumulator reduction normalized remainder = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S066
S068 · implies
操作前
Euler power bit4 accumulator reduction:ORIGINAL signed integer=0;modulus=25;exact ratio=0;floor quotient=0
操作後
value=q*n+remainder;normalized residue=0 in[0,25);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S067
S069 · calculation
操作前
Euler power bit4 base square := mul(0, 0)
操作後
Euler power bit4 base square = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S068
S070 · calculation
操作前
Euler power bit4 squared-base reduction exact quotient := div(0, 25)
操作後
Euler power bit4 squared-base reduction exact quotient = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S069
S071 · calculation
操作前
Euler power bit4 squared-base reduction floor quotient multiple := mul(0, 25)
操作後
Euler power bit4 squared-base reduction floor quotient multiple = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S070
S072 · calculation
操作前
Euler power bit4 squared-base reduction normalized remainder := sub(0, 0)
操作後
Euler power bit4 squared-base reduction normalized remainder = 0
條件:無
依原始角色與已核中間量精確代值,保留索引、正負號、分母與證明適用條件。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S071
S073 · implies
操作前
Euler power bit4 squared-base reduction:ORIGINAL signed integer=0;modulus=25;exact ratio=0;floor quotient=0
操作後
value=q*n+remainder;normalized residue=0 in[0,25);same congruence class,NOT absolute-value replacement
條件:無
對正模數取向下整數商,負base也保原同餘類;不能改成abs(a)。相同餘數是mod n同餘,不是原整數相等。
步驟識別與依賴
規則:euler_exact_signed_remainder_not_abs_or_integer_equality · 依賴:G001, S072
S074 · implies
操作前
step=4;previous[accumulator,base,exponent]=[0, 0, 1];low bit=1
操作後
next[accumulator,base,exponent]=[0, 0, 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, S073
S075 · implies
操作前
remaining exponent0;final normalized accumulator=0
操作後
EXACT original normalized base^20 modulo25=0
條件:無
不變式終止後給原φ次方餘數;這是指定modulus的算術結果,不是primality certificate。
步驟識別與依賴
規則:euler_totient_power_terminal_congruence_not_primality · 依賴:G001, S074
S076 · implies
操作前
ACTUAL original n=25,a=25;gcd=25>1;phi(n)=20;computed totient-power residue=0
操作後
Euler theorem applicability=否 because gcd1 premise fails;retain ACTUAL residue;do NOT cancel a nonunit or infer prime/composite status from this marker
條件:無
此No否決gcd1適用前提,不把實際餘數硬填1,也不是primality判斷;n本身可prime或composite。Fermat的全整數形式與這裡a^φ≡1的互質前提是不同命題。
步驟識別與依賴
規則:euler_nonunit_applicability_not_prime_test_or_forced_replacement · 依賴:G001, S075