R0047-24136 · q-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-0011
逐步推導
S001 · implies
操作前
source roles = [eulercrit-domain-qualification]
操作後
derived = [[prime, a, normalized_class, odd_prime, nonzero_class, certificate]]
條件:無
本頁列完整來源欄序,不需JavaScript;gradient boundary依原mode選6/8/7欄,不補欄也不由答案猜mode。
步驟識別與依賴
規則:source_ordered_fields_without_JS · 依賴:G001
S002 · implies
操作前
source roles = [37]
操作後
derived = [[[2, 1], [3, 1], [4, 1], [5, 2], [6, 1]], 是]
條件:無
合數必有不大於平方根的因數,故完整試除驗模數資格;這不由平方性或Euler等式猜測。
步驟識別與依賴
規則:Euler_modulus_primality_complete_trial · 依賴:G001, S001
S003 · calculation
操作前
Euler ORIGINAL signed quotient times modulus := mul(0, 37)
操作後
Euler ORIGINAL signed quotient times modulus = 0
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S002
S004 · calculation
操作前
Euler ORIGINAL signed a minus modulus multiple := sub(11, 0)
操作後
Euler ORIGINAL signed a minus modulus multiple = 11
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S003
S005 · implies
操作前
source roles = [11, 37, 0]
操作後
derived = [11, 是]
條件:無
a=qp+r、0<=r<p保負a同一類;原a在指定欄位保留。
步驟識別與依賴
規則:Euler_Euclidean_class_before_hypothesis · 依賴:G001, S004
S006 · implies
操作前
source roles = [37, 11, 11]
操作後
derived = [是, 是]
條件:無
先獨立驗odd prime與非零類;平方表先定義Legendre,再比較冪。
步驟識別與依賴
規則:Euler_odd_prime_nonzero_qualified · 依賴:G001, S005
S007 · calculation
操作前
Euler square root candidate1 := mul(1, 1)
操作後
Euler square root candidate1 = 1
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S006
S008 · calculation
操作前
Euler square root candidate2 := mul(2, 2)
操作後
Euler square root candidate2 = 4
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S007
S009 · calculation
操作前
Euler square root candidate3 := mul(3, 3)
操作後
Euler square root candidate3 = 9
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S008
S010 · calculation
操作前
Euler square root candidate4 := mul(4, 4)
操作後
Euler square root candidate4 = 16
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S009
S011 · calculation
操作前
Euler square root candidate5 := mul(5, 5)
操作後
Euler square root candidate5 = 25
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S010
S012 · calculation
操作前
Euler square root candidate6 := mul(6, 6)
操作後
Euler square root candidate6 = 36
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S011
S013 · calculation
操作前
Euler square root candidate7 := mul(7, 7)
操作後
Euler square root candidate7 = 49
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S012
S014 · calculation
操作前
Euler square root candidate8 := mul(8, 8)
操作後
Euler square root candidate8 = 64
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S013
S015 · calculation
操作前
Euler square root candidate9 := mul(9, 9)
操作後
Euler square root candidate9 = 81
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S014
S016 · calculation
操作前
Euler square root candidate10 := mul(10, 10)
操作後
Euler square root candidate10 = 100
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S015
S017 · calculation
操作前
Euler square root candidate11 := mul(11, 11)
操作後
Euler square root candidate11 = 121
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S016
S018 · calculation
操作前
Euler square root candidate12 := mul(12, 12)
操作後
Euler square root candidate12 = 144
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S017
S019 · calculation
操作前
Euler square root candidate13 := mul(13, 13)
操作後
Euler square root candidate13 = 169
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S018
S020 · calculation
操作前
Euler square root candidate14 := mul(14, 14)
操作後
Euler square root candidate14 = 196
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S019
S021 · calculation
操作前
Euler square root candidate15 := mul(15, 15)
操作後
Euler square root candidate15 = 225
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S020
S022 · calculation
操作前
Euler square root candidate16 := mul(16, 16)
操作後
Euler square root candidate16 = 256
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S021
S023 · calculation
操作前
Euler square root candidate17 := mul(17, 17)
操作後
Euler square root candidate17 = 289
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S022
S024 · calculation
操作前
Euler square root candidate18 := mul(18, 18)
操作後
Euler square root candidate18 = 324
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S023
S025 · calculation
操作前
Euler square root candidate19 := mul(19, 19)
操作後
Euler square root candidate19 = 361
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S024
S026 · calculation
操作前
Euler square root candidate20 := mul(20, 20)
操作後
Euler square root candidate20 = 400
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S025
S027 · calculation
操作前
Euler square root candidate21 := mul(21, 21)
操作後
Euler square root candidate21 = 441
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S026
S028 · calculation
操作前
Euler square root candidate22 := mul(22, 22)
操作後
Euler square root candidate22 = 484
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S027
S029 · calculation
操作前
Euler square root candidate23 := mul(23, 23)
操作後
Euler square root candidate23 = 529
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S028
S030 · calculation
操作前
Euler square root candidate24 := mul(24, 24)
操作後
Euler square root candidate24 = 576
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S029
S031 · calculation
操作前
Euler square root candidate25 := mul(25, 25)
操作後
Euler square root candidate25 = 625
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S030
S032 · calculation
操作前
Euler square root candidate26 := mul(26, 26)
操作後
Euler square root candidate26 = 676
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S031
S033 · calculation
操作前
Euler square root candidate27 := mul(27, 27)
操作後
Euler square root candidate27 = 729
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S032
S034 · calculation
操作前
Euler square root candidate28 := mul(28, 28)
操作後
Euler square root candidate28 = 784
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S033
S035 · calculation
操作前
Euler square root candidate29 := mul(29, 29)
操作後
Euler square root candidate29 = 841
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S034
S036 · calculation
操作前
Euler square root candidate30 := mul(30, 30)
操作後
Euler square root candidate30 = 900
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S035
S037 · calculation
操作前
Euler square root candidate31 := mul(31, 31)
操作後
Euler square root candidate31 = 961
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S036
S038 · calculation
操作前
Euler square root candidate32 := mul(32, 32)
操作後
Euler square root candidate32 = 1024
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S037
S039 · calculation
操作前
Euler square root candidate33 := mul(33, 33)
操作後
Euler square root candidate33 = 1089
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S038
S040 · calculation
操作前
Euler square root candidate34 := mul(34, 34)
操作後
Euler square root candidate34 = 1156
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S039
S041 · calculation
操作前
Euler square root candidate35 := mul(35, 35)
操作後
Euler square root candidate35 = 1225
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S040
S042 · calculation
操作前
Euler square root candidate36 := mul(36, 36)
操作後
Euler square root candidate36 = 1296
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S041
S043 · implies
操作前
source roles = [37, 11]
操作後
derived = [[[1, 1], [2, 4], [3, 9], [4, 16], [5, 25], [6, 36], [7, 12], [8, 27], [9, 7], [10, 26], [11, 10], [12, 33], [13, 21], [14, 11], [15, 3], [16, 34], [17, 30], [18, 28], [19, 28], [20, 30], [21, 34], [22, 3], [23, 11], [24, 21], [25, 33], [26, 10], [27, 26], [28, 7], [29, 27], [30, 12], [31, 36], [32, 25], [33, 16], [34, 9], [35, 4], [36, 1]], [14, 23], 1]
條件:無
全部1至p−1逐平方列舉,根存在為+1、全無為−1;此路徑沒有用Euler判準算Legendre。
步驟識別與依賴
規則:Euler_ALL_nonzero_square_table_defines_Legendre · 依賴:G001, S042
S044 · calculation
操作前
Euler binary power square0 := mul(11, 11)
操作後
Euler binary power square0 = 121
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S043
S045 · implies
操作前
source roles = [0, [1, 11, 18], 37, 11, 18]
操作後
derived = [null, 121, 1, 10, 9]
條件:無
每步保acc*base^remaining同餘原a^((p−1)/2);奇數先乘,平方底數、整除指數,直到0。與全部square表是不同計算。
步驟識別與依賴
規則:Euler_repeated_squaring_original_exponent_invariant · 依賴:G001, S044
S046 · calculation
操作前
Euler binary power accumulate1 := mul(1, 10)
操作後
Euler binary power accumulate1 = 10
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S045
S047 · calculation
操作前
Euler binary power square1 := mul(10, 10)
操作後
Euler binary power square1 = 100
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S046
S048 · implies
操作前
source roles = [1, [1, 10, 9], 37, 11, 18]
操作後
derived = [10, 100, 10, 26, 4]
條件:無
每步保acc*base^remaining同餘原a^((p−1)/2);奇數先乘,平方底數、整除指數,直到0。與全部square表是不同計算。
步驟識別與依賴
規則:Euler_repeated_squaring_original_exponent_invariant · 依賴:G001, S047
S049 · calculation
操作前
Euler binary power square2 := mul(26, 26)
操作後
Euler binary power square2 = 676
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S048
S050 · implies
操作前
source roles = [2, [10, 26, 4], 37, 11, 18]
操作後
derived = [null, 676, 10, 10, 2]
條件:無
每步保acc*base^remaining同餘原a^((p−1)/2);奇數先乘,平方底數、整除指數,直到0。與全部square表是不同計算。
步驟識別與依賴
規則:Euler_repeated_squaring_original_exponent_invariant · 依賴:G001, S049
S051 · calculation
操作前
Euler binary power square3 := mul(10, 10)
操作後
Euler binary power square3 = 100
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S050
S052 · implies
操作前
source roles = [3, [10, 10, 2], 37, 11, 18]
操作後
derived = [null, 100, 10, 26, 1]
條件:無
每步保acc*base^remaining同餘原a^((p−1)/2);奇數先乘,平方底數、整除指數,直到0。與全部square表是不同計算。
步驟識別與依賴
規則:Euler_repeated_squaring_original_exponent_invariant · 依賴:G001, S051
S053 · calculation
操作前
Euler binary power accumulate4 := mul(10, 26)
操作後
Euler binary power accumulate4 = 260
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S052
S054 · calculation
操作前
Euler binary power square4 := mul(26, 26)
操作後
Euler binary power square4 = 676
條件:無
依原題角色與已證中間量精確代值;分母先核非零,不以近似數替代。
步驟識別與依賴
規則:exact_rational_arithmetic · 依賴:G001, S053
S055 · implies
操作前
source roles = [4, [10, 26, 1], 37, 11, 18]
操作後
derived = [260, 676, 1, 10, 0]
條件:無
每步保acc*base^remaining同餘原a^((p−1)/2);奇數先乘,平方底數、整除指數,直到0。與全部square表是不同計算。
步驟識別與依賴
規則:Euler_repeated_squaring_original_exponent_invariant · 依賴:G001, S054
S056 · implies
操作前
source roles = [37, [14, 23], 1, 1]
操作後
derived = [1, 是, one finite instance is not a general theorem proof]
條件:無
p−1是模p的−1代表,不是整數p−1等於−1。指定instance兩個獨立算法吻合,不把這一表當一般定理的證明。
步驟識別與依賴
規則:Euler_decode_p_minus1_and_instance_only_comparison · 依賴:G001, S055