HomeHome Intuitionistic Logic Explorer
Theorem List (p. 144 of 149)
< Previous  Next >
Bad symbols? Try the
GIF version.

Mirrors  >  Metamath Home Page  >  ILE Home Page  >  Theorem List Contents  >  Recent Proofs       This page: Page List

Theorem List for Intuitionistic Logic Explorer - 14301-14400   *Has distinct variable group(s)
TypeLabelDescription
Statement
 
Theoremcxprec 14301 Complex exponentiation of a reciprocal. (Contributed by Mario Carneiro, 2-Aug-2014.)
((𝐴 ∈ ℝ+ ∧ 𝐡 ∈ β„‚) β†’ ((1 / 𝐴)↑𝑐𝐡) = (1 / (𝐴↑𝑐𝐡)))
 
Theoremrpdivcxp 14302 Complex exponentiation of a quotient. (Contributed by Mario Carneiro, 8-Sep-2014.)
((𝐴 ∈ ℝ+ ∧ 𝐡 ∈ ℝ+ ∧ 𝐢 ∈ β„‚) β†’ ((𝐴 / 𝐡)↑𝑐𝐢) = ((𝐴↑𝑐𝐢) / (𝐡↑𝑐𝐢)))
 
Theoremcxpmul 14303 Product of exponents law for complex exponentiation. Proposition 10-4.2(b) of [Gleason] p. 135. (Contributed by Mario Carneiro, 2-Aug-2014.)
((𝐴 ∈ ℝ+ ∧ 𝐡 ∈ ℝ ∧ 𝐢 ∈ β„‚) β†’ (𝐴↑𝑐(𝐡 Β· 𝐢)) = ((𝐴↑𝑐𝐡)↑𝑐𝐢))
 
Theoremrpcxproot 14304 The complex power function allows us to write n-th roots via the idiom 𝐴↑𝑐(1 / 𝑁). (Contributed by Mario Carneiro, 6-May-2015.)
((𝐴 ∈ ℝ+ ∧ 𝑁 ∈ β„•) β†’ ((𝐴↑𝑐(1 / 𝑁))↑𝑁) = 𝐴)
 
Theoremabscxp 14305 Absolute value of a power, when the base is real. (Contributed by Mario Carneiro, 15-Sep-2014.)
((𝐴 ∈ ℝ+ ∧ 𝐡 ∈ β„‚) β†’ (absβ€˜(𝐴↑𝑐𝐡)) = (𝐴↑𝑐(β„œβ€˜π΅)))
 
Theoremcxplt 14306 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 2-Aug-2014.)
(((𝐴 ∈ ℝ ∧ 1 < 𝐴) ∧ (𝐡 ∈ ℝ ∧ 𝐢 ∈ ℝ)) β†’ (𝐡 < 𝐢 ↔ (𝐴↑𝑐𝐡) < (𝐴↑𝑐𝐢)))
 
Theoremcxple 14307 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 2-Aug-2014.)
(((𝐴 ∈ ℝ ∧ 1 < 𝐴) ∧ (𝐡 ∈ ℝ ∧ 𝐢 ∈ ℝ)) β†’ (𝐡 ≀ 𝐢 ↔ (𝐴↑𝑐𝐡) ≀ (𝐴↑𝑐𝐢)))
 
Theoremrpcxple2 14308 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 8-Sep-2014.)
((𝐴 ∈ ℝ+ ∧ 𝐡 ∈ ℝ+ ∧ 𝐢 ∈ ℝ+) β†’ (𝐴 ≀ 𝐡 ↔ (𝐴↑𝑐𝐢) ≀ (𝐡↑𝑐𝐢)))
 
Theoremrpcxplt2 14309 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 15-Sep-2014.)
((𝐴 ∈ ℝ+ ∧ 𝐡 ∈ ℝ+ ∧ 𝐢 ∈ ℝ+) β†’ (𝐴 < 𝐡 ↔ (𝐴↑𝑐𝐢) < (𝐡↑𝑐𝐢)))
 
Theoremcxplt3 14310 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 2-May-2016.)
(((𝐴 ∈ ℝ+ ∧ 𝐴 < 1) ∧ (𝐡 ∈ ℝ ∧ 𝐢 ∈ ℝ)) β†’ (𝐡 < 𝐢 ↔ (𝐴↑𝑐𝐢) < (𝐴↑𝑐𝐡)))
 
Theoremcxple3 14311 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 2-May-2016.)
(((𝐴 ∈ ℝ+ ∧ 𝐴 < 1) ∧ (𝐡 ∈ ℝ ∧ 𝐢 ∈ ℝ)) β†’ (𝐡 ≀ 𝐢 ↔ (𝐴↑𝑐𝐢) ≀ (𝐴↑𝑐𝐡)))
 
Theoremrpcxpsqrt 14312 The exponential function with exponent 1 / 2 exactly matches the square root function, and thus serves as a suitable generalization to other 𝑛-th roots and irrational roots. (Contributed by Mario Carneiro, 2-Aug-2014.) (Revised by Jim Kingdon, 16-Jun-2024.)
(𝐴 ∈ ℝ+ β†’ (𝐴↑𝑐(1 / 2)) = (βˆšβ€˜π΄))
 
Theoremlogsqrt 14313 Logarithm of a square root. (Contributed by Mario Carneiro, 5-May-2016.)
(𝐴 ∈ ℝ+ β†’ (logβ€˜(βˆšβ€˜π΄)) = ((logβ€˜π΄) / 2))
 
Theoremrpcxp0d 14314 Value of the complex power function when the second argument is zero. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    β‡’   (πœ‘ β†’ (𝐴↑𝑐0) = 1)
 
Theoremrpcxp1d 14315 Value of the complex power function at one. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    β‡’   (πœ‘ β†’ (𝐴↑𝑐1) = 𝐴)
 
Theorem1cxpd 14316 Value of the complex power function at one. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ β„‚)    β‡’   (πœ‘ β†’ (1↑𝑐𝐴) = 1)
 
Theoremrpcncxpcld 14317 Closure of the complex power function. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    &   (πœ‘ β†’ 𝐡 ∈ β„‚)    β‡’   (πœ‘ β†’ (𝐴↑𝑐𝐡) ∈ β„‚)
 
Theoremcxpltd 14318 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ)    &   (πœ‘ β†’ 1 < 𝐴)    &   (πœ‘ β†’ 𝐡 ∈ ℝ)    &   (πœ‘ β†’ 𝐢 ∈ ℝ)    β‡’   (πœ‘ β†’ (𝐡 < 𝐢 ↔ (𝐴↑𝑐𝐡) < (𝐴↑𝑐𝐢)))
 
Theoremcxpled 14319 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ)    &   (πœ‘ β†’ 1 < 𝐴)    &   (πœ‘ β†’ 𝐡 ∈ ℝ)    &   (πœ‘ β†’ 𝐢 ∈ ℝ)    β‡’   (πœ‘ β†’ (𝐡 ≀ 𝐢 ↔ (𝐴↑𝑐𝐡) ≀ (𝐴↑𝑐𝐢)))
 
Theoremrpcxpsqrtth 14320 Square root theorem over the complex numbers for the complex power function. Compare with resqrtth 11039. (Contributed by AV, 23-Dec-2022.)
(𝐴 ∈ ℝ+ β†’ ((βˆšβ€˜π΄)↑𝑐2) = 𝐴)
 
Theoremcxprecd 14321 Complex exponentiation of a reciprocal. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    &   (πœ‘ β†’ 𝐡 ∈ β„‚)    β‡’   (πœ‘ β†’ ((1 / 𝐴)↑𝑐𝐡) = (1 / (𝐴↑𝑐𝐡)))
 
Theoremrpcxpcld 14322 Positive real closure of the complex power function. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    &   (πœ‘ β†’ 𝐡 ∈ ℝ)    β‡’   (πœ‘ β†’ (𝐴↑𝑐𝐡) ∈ ℝ+)
 
Theoremlogcxpd 14323 Logarithm of a complex power. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    &   (πœ‘ β†’ 𝐡 ∈ ℝ)    β‡’   (πœ‘ β†’ (logβ€˜(𝐴↑𝑐𝐡)) = (𝐡 Β· (logβ€˜π΄)))
 
Theoremcxplt3d 14324 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    &   (πœ‘ β†’ 𝐡 ∈ ℝ)    &   (πœ‘ β†’ 𝐴 < 1)    &   (πœ‘ β†’ 𝐢 ∈ ℝ)    β‡’   (πœ‘ β†’ (𝐡 < 𝐢 ↔ (𝐴↑𝑐𝐢) < (𝐴↑𝑐𝐡)))
 
Theoremcxple3d 14325 Ordering property for complex exponentiation. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    &   (πœ‘ β†’ 𝐡 ∈ ℝ)    &   (πœ‘ β†’ 𝐴 < 1)    &   (πœ‘ β†’ 𝐢 ∈ ℝ)    β‡’   (πœ‘ β†’ (𝐡 ≀ 𝐢 ↔ (𝐴↑𝑐𝐢) ≀ (𝐴↑𝑐𝐡)))
 
Theoremcxpmuld 14326 Product of exponents law for complex exponentiation. Proposition 10-4.2(b) of [Gleason] p. 135. (Contributed by Mario Carneiro, 30-May-2016.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    &   (πœ‘ β†’ 𝐡 ∈ ℝ)    &   (πœ‘ β†’ 𝐢 ∈ β„‚)    β‡’   (πœ‘ β†’ (𝐴↑𝑐(𝐡 Β· 𝐢)) = ((𝐴↑𝑐𝐡)↑𝑐𝐢))
 
Theoremcxpcom 14327 Commutative law for real exponentiation. (Contributed by AV, 29-Dec-2022.)
((𝐴 ∈ ℝ+ ∧ 𝐡 ∈ ℝ ∧ 𝐢 ∈ ℝ) β†’ ((𝐴↑𝑐𝐡)↑𝑐𝐢) = ((𝐴↑𝑐𝐢)↑𝑐𝐡))
 
Theoremapcxp2 14328 Apartness and real exponentiation. (Contributed by Jim Kingdon, 10-Jul-2024.)
(((𝐴 ∈ ℝ+ ∧ 𝐴 # 1) ∧ (𝐡 ∈ ℝ ∧ 𝐢 ∈ ℝ)) β†’ (𝐡 # 𝐢 ↔ (𝐴↑𝑐𝐡) # (𝐴↑𝑐𝐢)))
 
Theoremrpabscxpbnd 14329 Bound on the absolute value of a complex power. (Contributed by Mario Carneiro, 15-Sep-2014.) (Revised by Jim Kingdon, 19-Jun-2024.)
(πœ‘ β†’ 𝐴 ∈ ℝ+)    &   (πœ‘ β†’ 𝐡 ∈ β„‚)    &   (πœ‘ β†’ 0 < (β„œβ€˜π΅))    &   (πœ‘ β†’ 𝑀 ∈ ℝ)    &   (πœ‘ β†’ (absβ€˜π΄) ≀ 𝑀)    β‡’   (πœ‘ β†’ (absβ€˜(𝐴↑𝑐𝐡)) ≀ ((𝑀↑𝑐(β„œβ€˜π΅)) Β· (expβ€˜((absβ€˜π΅) Β· Ο€))))
 
Theoremltexp2 14330 Ordering law for exponentiation. (Contributed by NM, 2-Aug-2006.) (Revised by Mario Carneiro, 5-Jun-2014.)
(((𝐴 ∈ ℝ ∧ 𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ 1 < 𝐴) β†’ (𝑀 < 𝑁 ↔ (𝐴↑𝑀) < (𝐴↑𝑁)))
 
10.1.4  Logarithms to an arbitrary base

Define "log using an arbitrary base" function and then prove some of its properties. As with df-relog 14249 this is for real logarithms rather than complex logarithms.

Metamath doesn't care what letters are used to represent classes. Usually classes begin with the letter "A", but here we use "B" and "X" to more clearly distinguish between "base" and "other parameter of log".

There are different ways this could be defined in Metamath. The approach used here is intentionally similar to existing 2-parameter Metamath functions (operations): (𝐡 logb 𝑋) where 𝐡 is the base and 𝑋 is the argument of the logarithm function. An alternative would be to support the notational form (( logb β€˜π΅)β€˜π‘‹); that looks a little more like traditional notation.

 
Syntaxclogb 14331 Extend class notation to include the logarithm generalized to an arbitrary base.
class logb
 
Definitiondf-logb 14332* Define the logb operator. This is the logarithm generalized to an arbitrary base. It can be used as (𝐡 logb 𝑋) for "log base B of X". In the most common traditional notation, base B is a subscript of "log". The definition will only be useful where π‘₯ is a positive real apart from one and where 𝑦 is a positive real, so the choice of (β„‚ βˆ– {0, 1}) and (β„‚ βˆ– {0}) is somewhat arbitrary (we adopt the definition used in set.mm). (Contributed by David A. Wheeler, 21-Jan-2017.)
logb = (π‘₯ ∈ (β„‚ βˆ– {0, 1}), 𝑦 ∈ (β„‚ βˆ– {0}) ↦ ((logβ€˜π‘¦) / (logβ€˜π‘₯)))
 
Theoremrplogbval 14333 Define the value of the logb function, the logarithm generalized to an arbitrary base, when used as infix. Most Metamath statements select variables in order of their use, but to make the order clearer we use "B" for base and "X" for the argument of the logarithm function here. (Contributed by David A. Wheeler, 21-Jan-2017.) (Revised by Jim Kingdon, 3-Jul-2024.)
((𝐡 ∈ ℝ+ ∧ 𝐡 # 1 ∧ 𝑋 ∈ ℝ+) β†’ (𝐡 logb 𝑋) = ((logβ€˜π‘‹) / (logβ€˜π΅)))
 
Theoremrplogbcl 14334 General logarithm closure. (Contributed by David A. Wheeler, 17-Jul-2017.)
((𝐡 ∈ ℝ+ ∧ 𝐡 # 1 ∧ 𝑋 ∈ ℝ+) β†’ (𝐡 logb 𝑋) ∈ ℝ)
 
Theoremrplogbid1 14335 General logarithm is 1 when base and arg match. Property 1(a) of [Cohen4] p. 361. (Contributed by Stefan O'Rear, 19-Sep-2014.) (Revised by David A. Wheeler, 22-Jul-2017.)
((𝐴 ∈ ℝ+ ∧ 𝐴 # 1) β†’ (𝐴 logb 𝐴) = 1)
 
Theoremrplogb1 14336 The logarithm of 1 to an arbitrary base 𝐡 is 0. Property 1(b) of [Cohen4] p. 361. See log1 14257. (Contributed by Stefan O'Rear, 19-Sep-2014.) (Revised by Thierry Arnoux, 27-Sep-2017.)
((𝐡 ∈ ℝ+ ∧ 𝐡 # 1) β†’ (𝐡 logb 1) = 0)
 
Theoremrpelogb 14337 The general logarithm of a number to the base being Euler's constant is the natural logarithm of the number. Put another way, using e as the base in logb is the same as log. Definition in [Cohen4] p. 352. (Contributed by David A. Wheeler, 17-Oct-2017.) (Revised by David A. Wheeler and AV, 16-Jun-2020.)
(𝐴 ∈ ℝ+ β†’ (e logb 𝐴) = (logβ€˜π΄))
 
Theoremrplogbchbase 14338 Change of base for logarithms. Property in [Cohen4] p. 367. (Contributed by AV, 11-Jun-2020.)
(((𝐴 ∈ ℝ+ ∧ 𝐴 # 1) ∧ (𝐡 ∈ ℝ+ ∧ 𝐡 # 1) ∧ 𝑋 ∈ ℝ+) β†’ (𝐴 logb 𝑋) = ((𝐡 logb 𝑋) / (𝐡 logb 𝐴)))
 
Theoremrelogbval 14339 Value of the general logarithm with integer base. (Contributed by Thierry Arnoux, 27-Sep-2017.)
((𝐡 ∈ (β„€β‰₯β€˜2) ∧ 𝑋 ∈ ℝ+) β†’ (𝐡 logb 𝑋) = ((logβ€˜π‘‹) / (logβ€˜π΅)))
 
Theoremrelogbzcl 14340 Closure of the general logarithm with integer base on positive reals. (Contributed by Thierry Arnoux, 27-Sep-2017.) (Proof shortened by AV, 9-Jun-2020.)
((𝐡 ∈ (β„€β‰₯β€˜2) ∧ 𝑋 ∈ ℝ+) β†’ (𝐡 logb 𝑋) ∈ ℝ)
 
Theoremrplogbreexp 14341 Power law for the general logarithm for real powers: The logarithm of a positive real number to the power of a real number is equal to the product of the exponent and the logarithm of the base of the power. Property 4 of [Cohen4] p. 361. (Contributed by AV, 9-Jun-2020.)
(((𝐡 ∈ ℝ+ ∧ 𝐡 # 1) ∧ 𝐢 ∈ ℝ+ ∧ 𝐸 ∈ ℝ) β†’ (𝐡 logb (𝐢↑𝑐𝐸)) = (𝐸 Β· (𝐡 logb 𝐢)))
 
Theoremrplogbzexp 14342 Power law for the general logarithm for integer powers: The logarithm of a positive real number to the power of an integer is equal to the product of the exponent and the logarithm of the base of the power. (Contributed by Stefan O'Rear, 19-Sep-2014.) (Revised by AV, 9-Jun-2020.)
(((𝐡 ∈ ℝ+ ∧ 𝐡 # 1) ∧ 𝐢 ∈ ℝ+ ∧ 𝑁 ∈ β„€) β†’ (𝐡 logb (𝐢↑𝑁)) = (𝑁 Β· (𝐡 logb 𝐢)))
 
Theoremrprelogbmul 14343 The logarithm of the product of two positive real numbers is the sum of logarithms. Property 2 of [Cohen4] p. 361. (Contributed by Stefan O'Rear, 19-Sep-2014.) (Revised by AV, 29-May-2020.)
(((𝐡 ∈ ℝ+ ∧ 𝐡 # 1) ∧ (𝐴 ∈ ℝ+ ∧ 𝐢 ∈ ℝ+)) β†’ (𝐡 logb (𝐴 Β· 𝐢)) = ((𝐡 logb 𝐴) + (𝐡 logb 𝐢)))
 
Theoremrprelogbmulexp 14344 The logarithm of the product of a positive real and a positive real number to the power of a real number is the sum of the logarithm of the first real number and the scaled logarithm of the second real number. (Contributed by AV, 29-May-2020.)
(((𝐡 ∈ ℝ+ ∧ 𝐡 # 1) ∧ (𝐴 ∈ ℝ+ ∧ 𝐢 ∈ ℝ+ ∧ 𝐸 ∈ ℝ)) β†’ (𝐡 logb (𝐴 Β· (𝐢↑𝑐𝐸))) = ((𝐡 logb 𝐴) + (𝐸 Β· (𝐡 logb 𝐢))))
 
Theoremrprelogbdiv 14345 The logarithm of the quotient of two positive real numbers is the difference of logarithms. Property 3 of [Cohen4] p. 361. (Contributed by AV, 29-May-2020.)
(((𝐡 ∈ ℝ+ ∧ 𝐡 # 1) ∧ (𝐴 ∈ ℝ+ ∧ 𝐢 ∈ ℝ+)) β†’ (𝐡 logb (𝐴 / 𝐢)) = ((𝐡 logb 𝐴) βˆ’ (𝐡 logb 𝐢)))
 
Theoremrelogbexpap 14346 Identity law for general logarithm: the logarithm of a power to the base is the exponent. Property 6 of [Cohen4] p. 361. (Contributed by Stefan O'Rear, 19-Sep-2014.) (Revised by AV, 9-Jun-2020.)
((𝐡 ∈ ℝ+ ∧ 𝐡 # 1 ∧ 𝑀 ∈ β„€) β†’ (𝐡 logb (𝐡↑𝑀)) = 𝑀)
 
Theoremnnlogbexp 14347 Identity law for general logarithm with integer base. (Contributed by Stefan O'Rear, 19-Sep-2014.) (Revised by Thierry Arnoux, 27-Sep-2017.)
((𝐡 ∈ (β„€β‰₯β€˜2) ∧ 𝑀 ∈ β„€) β†’ (𝐡 logb (𝐡↑𝑀)) = 𝑀)
 
Theoremlogbrec 14348 Logarithm of a reciprocal changes sign. Particular case of Property 3 of [Cohen4] p. 361. (Contributed by Thierry Arnoux, 27-Sep-2017.)
((𝐡 ∈ (β„€β‰₯β€˜2) ∧ 𝐴 ∈ ℝ+) β†’ (𝐡 logb (1 / 𝐴)) = -(𝐡 logb 𝐴))
 
Theoremlogbleb 14349 The general logarithm function is monotone/increasing. See logleb 14266. (Contributed by Stefan O'Rear, 19-Oct-2014.) (Revised by AV, 31-May-2020.)
((𝐡 ∈ (β„€β‰₯β€˜2) ∧ 𝑋 ∈ ℝ+ ∧ π‘Œ ∈ ℝ+) β†’ (𝑋 ≀ π‘Œ ↔ (𝐡 logb 𝑋) ≀ (𝐡 logb π‘Œ)))
 
Theoremlogblt 14350 The general logarithm function is strictly monotone/increasing. Property 2 of [Cohen4] p. 377. See logltb 14265. (Contributed by Stefan O'Rear, 19-Oct-2014.) (Revised by Thierry Arnoux, 27-Sep-2017.)
((𝐡 ∈ (β„€β‰₯β€˜2) ∧ 𝑋 ∈ ℝ+ ∧ π‘Œ ∈ ℝ+) β†’ (𝑋 < π‘Œ ↔ (𝐡 logb 𝑋) < (𝐡 logb π‘Œ)))
 
Theoremrplogbcxp 14351 Identity law for the general logarithm for real numbers. (Contributed by AV, 22-May-2020.)
((𝐡 ∈ ℝ+ ∧ 𝐡 # 1 ∧ 𝑋 ∈ ℝ) β†’ (𝐡 logb (𝐡↑𝑐𝑋)) = 𝑋)
 
Theoremrpcxplogb 14352 Identity law for the general logarithm. (Contributed by AV, 22-May-2020.)
((𝐡 ∈ ℝ+ ∧ 𝐡 # 1 ∧ 𝑋 ∈ ℝ+) β†’ (𝐡↑𝑐(𝐡 logb 𝑋)) = 𝑋)
 
Theoremrelogbcxpbap 14353 The logarithm is the inverse of the exponentiation. Observation in [Cohen4] p. 348. (Contributed by AV, 11-Jun-2020.)
(((𝐡 ∈ ℝ+ ∧ 𝐡 # 1) ∧ 𝑋 ∈ ℝ+ ∧ π‘Œ ∈ ℝ) β†’ ((𝐡 logb 𝑋) = π‘Œ ↔ (π΅β†‘π‘π‘Œ) = 𝑋))
 
Theoremlogbgt0b 14354 The logarithm of a positive real number to a real base greater than 1 is positive iff the number is greater than 1. (Contributed by AV, 29-Dec-2022.)
((𝐴 ∈ ℝ+ ∧ (𝐡 ∈ ℝ+ ∧ 1 < 𝐡)) β†’ (0 < (𝐡 logb 𝐴) ↔ 1 < 𝐴))
 
Theoremlogbgcd1irr 14355 The logarithm of an integer greater than 1 to an integer base greater than 1 is not rational if the argument and the base are relatively prime. For example, (2 logb 9) ∈ (ℝ βˆ– β„š). (Contributed by AV, 29-Dec-2022.)
((𝑋 ∈ (β„€β‰₯β€˜2) ∧ 𝐡 ∈ (β„€β‰₯β€˜2) ∧ (𝑋 gcd 𝐡) = 1) β†’ (𝐡 logb 𝑋) ∈ (ℝ βˆ– β„š))
 
Theoremlogbgcd1irraplemexp 14356 Lemma for logbgcd1irrap 14358. Apartness of 𝑋↑𝑁 and 𝐡↑𝑀. (Contributed by Jim Kingdon, 11-Jul-2024.)
(πœ‘ β†’ 𝑋 ∈ (β„€β‰₯β€˜2))    &   (πœ‘ β†’ 𝐡 ∈ (β„€β‰₯β€˜2))    &   (πœ‘ β†’ (𝑋 gcd 𝐡) = 1)    &   (πœ‘ β†’ 𝑀 ∈ β„€)    &   (πœ‘ β†’ 𝑁 ∈ β„•)    β‡’   (πœ‘ β†’ (𝑋↑𝑁) # (𝐡↑𝑀))
 
Theoremlogbgcd1irraplemap 14357 Lemma for logbgcd1irrap 14358. The result, with the rational number expressed as numerator and denominator. (Contributed by Jim Kingdon, 9-Jul-2024.)
(πœ‘ β†’ 𝑋 ∈ (β„€β‰₯β€˜2))    &   (πœ‘ β†’ 𝐡 ∈ (β„€β‰₯β€˜2))    &   (πœ‘ β†’ (𝑋 gcd 𝐡) = 1)    &   (πœ‘ β†’ 𝑀 ∈ β„€)    &   (πœ‘ β†’ 𝑁 ∈ β„•)    β‡’   (πœ‘ β†’ (𝐡 logb 𝑋) # (𝑀 / 𝑁))
 
Theoremlogbgcd1irrap 14358 The logarithm of an integer greater than 1 to an integer base greater than 1 is irrational (in the sense of being apart from any rational number) if the argument and the base are relatively prime. For example, (2 logb 9) # 𝑄 where 𝑄 is rational. (Contributed by AV, 29-Dec-2022.)
(((𝑋 ∈ (β„€β‰₯β€˜2) ∧ 𝐡 ∈ (β„€β‰₯β€˜2)) ∧ ((𝑋 gcd 𝐡) = 1 ∧ 𝑄 ∈ β„š)) β†’ (𝐡 logb 𝑋) # 𝑄)
 
Theorem2logb9irr 14359 Example for logbgcd1irr 14355. The logarithm of nine to base two is not rational. Also see 2logb9irrap 14365 which says that it is irrational (in the sense of being apart from any rational number). (Contributed by AV, 29-Dec-2022.)
(2 logb 9) ∈ (ℝ βˆ– β„š)
 
Theoremlogbprmirr 14360 The logarithm of a prime to a different prime base is not rational. For example, (2 logb 3) ∈ (ℝ βˆ– β„š) (see 2logb3irr 14361). (Contributed by AV, 31-Dec-2022.)
((𝑋 ∈ β„™ ∧ 𝐡 ∈ β„™ ∧ 𝑋 β‰  𝐡) β†’ (𝐡 logb 𝑋) ∈ (ℝ βˆ– β„š))
 
Theorem2logb3irr 14361 Example for logbprmirr 14360. The logarithm of three to base two is not rational. (Contributed by AV, 31-Dec-2022.)
(2 logb 3) ∈ (ℝ βˆ– β„š)
 
Theorem2logb9irrALT 14362 Alternate proof of 2logb9irr 14359: The logarithm of nine to base two is not rational. (Contributed by AV, 31-Dec-2022.) (Proof modification is discouraged.) (New usage is discouraged.)
(2 logb 9) ∈ (ℝ βˆ– β„š)
 
Theoremsqrt2cxp2logb9e3 14363 The square root of two to the power of the logarithm of nine to base two is three. (βˆšβ€˜2) and (2 logb 9) are not rational (see sqrt2irr0 12163 resp. 2logb9irr 14359), satisfying the statement in 2irrexpq 14364. (Contributed by AV, 29-Dec-2022.)
((βˆšβ€˜2)↑𝑐(2 logb 9)) = 3
 
Theorem2irrexpq 14364* There exist real numbers π‘Ž and 𝑏 which are not rational such that (π‘Žβ†‘π‘) is rational. Statement in the Metamath book, section 1.1.5, footnote 27 on page 17, and the "constructive proof" for theorem 1.2 of [Bauer], p. 483. This is a constructive proof because it is based on two explicitly named non-rational numbers (βˆšβ€˜2) and (2 logb 9), see sqrt2irr0 12163, 2logb9irr 14359 and sqrt2cxp2logb9e3 14363. Therefore, this proof is acceptable/usable in intuitionistic logic.

For a theorem which is the same but proves that π‘Ž and 𝑏 are irrational (in the sense of being apart from any rational number), see 2irrexpqap 14366. (Contributed by AV, 23-Dec-2022.)

βˆƒπ‘Ž ∈ (ℝ βˆ– β„š)βˆƒπ‘ ∈ (ℝ βˆ– β„š)(π‘Žβ†‘π‘π‘) ∈ β„š
 
Theorem2logb9irrap 14365 Example for logbgcd1irrap 14358. The logarithm of nine to base two is irrational (in the sense of being apart from any rational number). (Contributed by Jim Kingdon, 12-Jul-2024.)
(𝑄 ∈ β„š β†’ (2 logb 9) # 𝑄)
 
Theorem2irrexpqap 14366* There exist real numbers π‘Ž and 𝑏 which are irrational (in the sense of being apart from any rational number) such that (π‘Žβ†‘π‘) is rational. Statement in the Metamath book, section 1.1.5, footnote 27 on page 17, and the "constructive proof" for theorem 1.2 of [Bauer], p. 483. This is a constructive proof because it is based on two explicitly named irrational numbers (βˆšβ€˜2) and (2 logb 9), see sqrt2irrap 12179, 2logb9irrap 14365 and sqrt2cxp2logb9e3 14363. Therefore, this proof is acceptable/usable in intuitionistic logic. (Contributed by Jim Kingdon, 12-Jul-2024.)
βˆƒπ‘Ž ∈ ℝ βˆƒπ‘ ∈ ℝ (βˆ€π‘ ∈ β„š π‘Ž # 𝑝 ∧ βˆ€π‘ž ∈ β„š 𝑏 # π‘ž ∧ (π‘Žβ†‘π‘π‘) ∈ β„š)
 
10.1.5  Quartic binomial expansion
 
Theorembinom4 14367 Work out a quartic binomial. (You would think that by this point it would be faster to use binom 11491, but it turns out to be just as much work to put it into this form after clearing all the sums and calculating binomial coefficients.) (Contributed by Mario Carneiro, 6-May-2015.)
((𝐴 ∈ β„‚ ∧ 𝐡 ∈ β„‚) β†’ ((𝐴 + 𝐡)↑4) = (((𝐴↑4) + (4 Β· ((𝐴↑3) Β· 𝐡))) + ((6 Β· ((𝐴↑2) Β· (𝐡↑2))) + ((4 Β· (𝐴 Β· (𝐡↑3))) + (𝐡↑4)))))
 
10.2  Basic number theory
 
10.2.1  Quadratic residues and the Legendre symbol

If the congruence ((π‘₯↑2) mod 𝑝) = (𝑛 mod 𝑝) has a solution we say that 𝑛 is a quadratic residue mod 𝑝. If the congruence has no solution we say that 𝑛 is a quadratic nonresidue mod 𝑝, see definition in [ApostolNT] p. 178. The Legendre symbol (𝑛 /L 𝑝) is defined in a way that its value is 1 if 𝑛 is a quadratic residue mod 𝑝 and -1 if 𝑛 is a quadratic nonresidue mod 𝑝 (and 0 if 𝑝 divides 𝑛).

Originally, the Legendre symbol (𝑁 /L 𝑃) was defined for odd primes 𝑃 only (and arbitrary integers 𝑁) by Adrien-Marie Legendre in 1798, see definition in [ApostolNT] p. 179. It was generalized to be defined for any positive odd integer by Carl Gustav Jacob Jacobi in 1837 (therefore called "Jacobi symbol" since then), see definition in [ApostolNT] p. 188. Finally, it was generalized to be defined for any integer by Leopold Kronecker in 1885 (therefore called "Kronecker symbol" since then). The definition df-lgs 14369 for the "Legendre symbol" /L is actually the definition of the "Kronecker symbol". Since only one definition (and one class symbol) are provided in set.mm, the names "Legendre symbol", "Jacobi symbol" and "Kronecker symbol" are used synonymously for /L, but mostly it is called "Legendre symbol", even if it is used in the context of a "Jacobi symbol" or "Kronecker symbol".

 
Syntaxclgs 14368 Extend class notation with the Legendre symbol function.
class /L
 
Definitiondf-lgs 14369* Define the Legendre symbol (actually the Kronecker symbol, which extends the Legendre symbol to all integers, and also the Jacobi symbol, which restricts the Kronecker symbol to positive odd integers). See definition in [ApostolNT] p. 179 resp. definition in [ApostolNT] p. 188. (Contributed by Mario Carneiro, 4-Feb-2015.)
/L = (π‘Ž ∈ β„€, 𝑛 ∈ β„€ ↦ if(𝑛 = 0, if((π‘Žβ†‘2) = 1, 1, 0), (if((𝑛 < 0 ∧ π‘Ž < 0), -1, 1) Β· (seq1( Β· , (π‘š ∈ β„• ↦ if(π‘š ∈ β„™, (if(π‘š = 2, if(2 βˆ₯ π‘Ž, 0, if((π‘Ž mod 8) ∈ {1, 7}, 1, -1)), ((((π‘Žβ†‘((π‘š βˆ’ 1) / 2)) + 1) mod π‘š) βˆ’ 1))↑(π‘š pCnt 𝑛)), 1)))β€˜(absβ€˜π‘›)))))
 
Theoremzabsle1 14370 {-1, 0, 1} is the set of all integers with absolute value at most 1. (Contributed by AV, 13-Jul-2021.)
(𝑍 ∈ β„€ β†’ (𝑍 ∈ {-1, 0, 1} ↔ (absβ€˜π‘) ≀ 1))
 
Theoremlgslem1 14371 When π‘Ž is coprime to the prime 𝑝, π‘Žβ†‘((𝑝 βˆ’ 1) / 2) is equivalent mod 𝑝 to 1 or -1, and so adding 1 makes it equivalent to 0 or 2. (Contributed by Mario Carneiro, 4-Feb-2015.)
((𝐴 ∈ β„€ ∧ 𝑃 ∈ (β„™ βˆ– {2}) ∧ Β¬ 𝑃 βˆ₯ 𝐴) β†’ (((𝐴↑((𝑃 βˆ’ 1) / 2)) + 1) mod 𝑃) ∈ {0, 2})
 
Theoremlgslem2 14372 The set 𝑍 of all integers with absolute value at most 1 contains {-1, 0, 1}. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝑍 = {π‘₯ ∈ β„€ ∣ (absβ€˜π‘₯) ≀ 1}    β‡’   (-1 ∈ 𝑍 ∧ 0 ∈ 𝑍 ∧ 1 ∈ 𝑍)
 
Theoremlgslem3 14373* The set 𝑍 of all integers with absolute value at most 1 is closed under multiplication. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝑍 = {π‘₯ ∈ β„€ ∣ (absβ€˜π‘₯) ≀ 1}    β‡’   ((𝐴 ∈ 𝑍 ∧ 𝐡 ∈ 𝑍) β†’ (𝐴 Β· 𝐡) ∈ 𝑍)
 
Theoremlgslem4 14374* Lemma for lgsfcl2 14377. (Contributed by Mario Carneiro, 4-Feb-2015.) (Proof shortened by AV, 19-Mar-2022.)
𝑍 = {π‘₯ ∈ β„€ ∣ (absβ€˜π‘₯) ≀ 1}    β‡’   ((𝐴 ∈ β„€ ∧ 𝑃 ∈ (β„™ βˆ– {2})) β†’ ((((𝐴↑((𝑃 βˆ’ 1) / 2)) + 1) mod 𝑃) βˆ’ 1) ∈ 𝑍)
 
Theoremlgsval 14375* Value of the Legendre symbol at an arbitrary integer. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, (if(𝑛 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑛 βˆ’ 1) / 2)) + 1) mod 𝑛) βˆ’ 1))↑(𝑛 pCnt 𝑁)), 1))    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐴 /L 𝑁) = if(𝑁 = 0, if((𝐴↑2) = 1, 1, 0), (if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) Β· (seq1( Β· , 𝐹)β€˜(absβ€˜π‘)))))
 
Theoremlgsfvalg 14376* Value of the function 𝐹 which defines the Legendre symbol at the primes. (Contributed by Mario Carneiro, 4-Feb-2015.) (Revised by Jim Kingdon, 4-Nov-2024.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, (if(𝑛 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑛 βˆ’ 1) / 2)) + 1) mod 𝑛) βˆ’ 1))↑(𝑛 pCnt 𝑁)), 1))    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„• ∧ 𝑀 ∈ β„•) β†’ (πΉβ€˜π‘€) = if(𝑀 ∈ β„™, (if(𝑀 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑀 βˆ’ 1) / 2)) + 1) mod 𝑀) βˆ’ 1))↑(𝑀 pCnt 𝑁)), 1))
 
Theoremlgsfcl2 14377* The function 𝐹 is closed in integers with absolute value less than 1 (namely {-1, 0, 1}, see zabsle1 14370). (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, (if(𝑛 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑛 βˆ’ 1) / 2)) + 1) mod 𝑛) βˆ’ 1))↑(𝑛 pCnt 𝑁)), 1))    &   π‘ = {π‘₯ ∈ β„€ ∣ (absβ€˜π‘₯) ≀ 1}    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝑁 β‰  0) β†’ 𝐹:β„•βŸΆπ‘)
 
Theoremlgscllem 14378* The Legendre symbol is an element of 𝑍. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, (if(𝑛 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑛 βˆ’ 1) / 2)) + 1) mod 𝑛) βˆ’ 1))↑(𝑛 pCnt 𝑁)), 1))    &   π‘ = {π‘₯ ∈ β„€ ∣ (absβ€˜π‘₯) ≀ 1}    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐴 /L 𝑁) ∈ 𝑍)
 
Theoremlgsfcl 14379* Closure of the function 𝐹 which defines the Legendre symbol at the primes. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, (if(𝑛 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑛 βˆ’ 1) / 2)) + 1) mod 𝑛) βˆ’ 1))↑(𝑛 pCnt 𝑁)), 1))    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝑁 β‰  0) β†’ 𝐹:β„•βŸΆβ„€)
 
Theoremlgsfle1 14380* The function 𝐹 has magnitude less or equal to 1. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, (if(𝑛 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑛 βˆ’ 1) / 2)) + 1) mod 𝑛) βˆ’ 1))↑(𝑛 pCnt 𝑁)), 1))    β‡’   (((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝑁 β‰  0) ∧ 𝑀 ∈ β„•) β†’ (absβ€˜(πΉβ€˜π‘€)) ≀ 1)
 
Theoremlgsval2lem 14381* Lemma for lgsval2 14387. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, (if(𝑛 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑛 βˆ’ 1) / 2)) + 1) mod 𝑛) βˆ’ 1))↑(𝑛 pCnt 𝑁)), 1))    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„™) β†’ (𝐴 /L 𝑁) = if(𝑁 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑁 βˆ’ 1) / 2)) + 1) mod 𝑁) βˆ’ 1)))
 
Theoremlgsval4lem 14382* Lemma for lgsval4 14391. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, (if(𝑛 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑛 βˆ’ 1) / 2)) + 1) mod 𝑛) βˆ’ 1))↑(𝑛 pCnt 𝑁)), 1))    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝑁 β‰  0) β†’ 𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1)))
 
Theoremlgscl2 14383* The Legendre symbol is an integer with absolute value less than or equal to 1. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝑍 = {π‘₯ ∈ β„€ ∣ (absβ€˜π‘₯) ≀ 1}    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐴 /L 𝑁) ∈ 𝑍)
 
Theoremlgs0 14384 The Legendre symbol when the second argument is zero. (Contributed by Mario Carneiro, 4-Feb-2015.)
(𝐴 ∈ β„€ β†’ (𝐴 /L 0) = if((𝐴↑2) = 1, 1, 0))
 
Theoremlgscl 14385 The Legendre symbol is an integer. (Contributed by Mario Carneiro, 4-Feb-2015.)
((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐴 /L 𝑁) ∈ β„€)
 
Theoremlgsle1 14386 The Legendre symbol has absolute value less than or equal to 1. Together with lgscl 14385 this implies that it takes values in {-1, 0, 1}. (Contributed by Mario Carneiro, 4-Feb-2015.)
((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (absβ€˜(𝐴 /L 𝑁)) ≀ 1)
 
Theoremlgsval2 14387 The Legendre symbol at a prime (this is the traditional domain of the Legendre symbol, except for the addition of prime 2). (Contributed by Mario Carneiro, 4-Feb-2015.)
((𝐴 ∈ β„€ ∧ 𝑃 ∈ β„™) β†’ (𝐴 /L 𝑃) = if(𝑃 = 2, if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)), ((((𝐴↑((𝑃 βˆ’ 1) / 2)) + 1) mod 𝑃) βˆ’ 1)))
 
Theoremlgs2 14388 The Legendre symbol at 2. (Contributed by Mario Carneiro, 4-Feb-2015.)
(𝐴 ∈ β„€ β†’ (𝐴 /L 2) = if(2 βˆ₯ 𝐴, 0, if((𝐴 mod 8) ∈ {1, 7}, 1, -1)))
 
Theoremlgsval3 14389 The Legendre symbol at an odd prime (this is the traditional domain of the Legendre symbol). (Contributed by Mario Carneiro, 4-Feb-2015.)
((𝐴 ∈ β„€ ∧ 𝑃 ∈ (β„™ βˆ– {2})) β†’ (𝐴 /L 𝑃) = ((((𝐴↑((𝑃 βˆ’ 1) / 2)) + 1) mod 𝑃) βˆ’ 1))
 
Theoremlgsvalmod 14390 The Legendre symbol is equivalent to π‘Žβ†‘((𝑝 βˆ’ 1) / 2), mod 𝑝. This theorem is also called "Euler's criterion", see theorem 9.2 in [ApostolNT] p. 180, or a representation of Euler's criterion using the Legendre symbol, (Contributed by Mario Carneiro, 4-Feb-2015.)
((𝐴 ∈ β„€ ∧ 𝑃 ∈ (β„™ βˆ– {2})) β†’ ((𝐴 /L 𝑃) mod 𝑃) = ((𝐴↑((𝑃 βˆ’ 1) / 2)) mod 𝑃))
 
Theoremlgsval4 14391* Restate lgsval 14375 for nonzero 𝑁, where the function 𝐹 has been abbreviated into a self-referential expression taking the value of /L on the primes as given. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1))    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝑁 β‰  0) β†’ (𝐴 /L 𝑁) = (if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) Β· (seq1( Β· , 𝐹)β€˜(absβ€˜π‘))))
 
Theoremlgsfcl3 14392* Closure of the function 𝐹 which defines the Legendre symbol at the primes. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1))    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝑁 β‰  0) β†’ 𝐹:β„•βŸΆβ„€)
 
Theoremlgsval4a 14393* Same as lgsval4 14391 for positive 𝑁. (Contributed by Mario Carneiro, 4-Feb-2015.)
𝐹 = (𝑛 ∈ β„• ↦ if(𝑛 ∈ β„™, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1))    β‡’   ((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„•) β†’ (𝐴 /L 𝑁) = (seq1( Β· , 𝐹)β€˜π‘))
 
Theoremlgscl1 14394 The value of the Legendre symbol is either -1 or 0 or 1. (Contributed by AV, 13-Jul-2021.)
((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐴 /L 𝑁) ∈ {-1, 0, 1})
 
Theoremlgsneg 14395 The Legendre symbol is either even or odd under negation with respect to the second parameter according to the sign of the first. (Contributed by Mario Carneiro, 4-Feb-2015.)
((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝑁 β‰  0) β†’ (𝐴 /L -𝑁) = (if(𝐴 < 0, -1, 1) Β· (𝐴 /L 𝑁)))
 
Theoremlgsneg1 14396 The Legendre symbol for nonnegative first parameter is unchanged by negation of the second. (Contributed by Mario Carneiro, 4-Feb-2015.)
((𝐴 ∈ β„•0 ∧ 𝑁 ∈ β„€) β†’ (𝐴 /L -𝑁) = (𝐴 /L 𝑁))
 
Theoremlgsmod 14397 The Legendre (Jacobi) symbol is preserved under reduction mod 𝑛 when 𝑛 is odd. (Contributed by Mario Carneiro, 4-Feb-2015.)
((𝐴 ∈ β„€ ∧ 𝑁 ∈ β„• ∧ Β¬ 2 βˆ₯ 𝑁) β†’ ((𝐴 mod 𝑁) /L 𝑁) = (𝐴 /L 𝑁))
 
Theoremlgsdilem 14398 Lemma for lgsdi 14408 and lgsdir 14406: the sign part of the Legendre symbol is multiplicative. (Contributed by Mario Carneiro, 4-Feb-2015.)
(((𝐴 ∈ β„€ ∧ 𝐡 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ (𝐴 β‰  0 ∧ 𝐡 β‰  0)) β†’ if((𝑁 < 0 ∧ (𝐴 Β· 𝐡) < 0), -1, 1) = (if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) Β· if((𝑁 < 0 ∧ 𝐡 < 0), -1, 1)))
 
Theoremlgsdir2lem1 14399 Lemma for lgsdir2 14404. (Contributed by Mario Carneiro, 4-Feb-2015.)
(((1 mod 8) = 1 ∧ (-1 mod 8) = 7) ∧ ((3 mod 8) = 3 ∧ (-3 mod 8) = 5))
 
Theoremlgsdir2lem2 14400 Lemma for lgsdir2 14404. (Contributed by Mario Carneiro, 4-Feb-2015.)
(𝐾 ∈ β„€ ∧ 2 βˆ₯ (𝐾 + 1) ∧ ((𝐴 ∈ β„€ ∧ Β¬ 2 βˆ₯ 𝐴) β†’ ((𝐴 mod 8) ∈ (0...𝐾) β†’ (𝐴 mod 8) ∈ 𝑆)))    &   π‘€ = (𝐾 + 1)    &   π‘ = (𝑀 + 1)    &   π‘ ∈ 𝑆    β‡’   (𝑁 ∈ β„€ ∧ 2 βˆ₯ (𝑁 + 1) ∧ ((𝐴 ∈ β„€ ∧ Β¬ 2 βˆ₯ 𝐴) β†’ ((𝐴 mod 8) ∈ (0...𝑁) β†’ (𝐴 mod 8) ∈ 𝑆)))
    < Previous  Next >

Page List
Jump to page: Contents  1 1-100 2 101-200 3 201-300 4 301-400 5 401-500 6 501-600 7 601-700 8 701-800 9 801-900 10 901-1000 11 1001-1100 12 1101-1200 13 1201-1300 14 1301-1400 15 1401-1500 16 1501-1600 17 1601-1700 18 1701-1800 19 1801-1900 20 1901-2000 21 2001-2100 22 2101-2200 23 2201-2300 24 2301-2400 25 2401-2500 26 2501-2600 27 2601-2700 28 2701-2800 29 2801-2900 30 2901-3000 31 3001-3100 32 3101-3200 33 3201-3300 34 3301-3400 35 3401-3500 36 3501-3600 37 3601-3700 38 3701-3800 39 3801-3900 40 3901-4000 41 4001-4100 42 4101-4200 43 4201-4300 44 4301-4400 45 4401-4500 46 4501-4600 47 4601-4700 48 4701-4800 49 4801-4900 50 4901-5000 51 5001-5100 52 5101-5200 53 5201-5300 54 5301-5400 55 5401-5500 56 5501-5600 57 5601-5700 58 5701-5800 59 5801-5900 60 5901-6000 61 6001-6100 62 6101-6200 63 6201-6300 64 6301-6400 65 6401-6500 66 6501-6600 67 6601-6700 68 6701-6800 69 6801-6900 70 6901-7000 71 7001-7100 72 7101-7200 73 7201-7300 74 7301-7400 75 7401-7500 76 7501-7600 77 7601-7700 78 7701-7800 79 7801-7900 80 7901-8000 81 8001-8100 82 8101-8200 83 8201-8300 84 8301-8400 85 8401-8500 86 8501-8600 87 8601-8700 88 8701-8800 89 8801-8900 90 8901-9000 91 9001-9100 92 9101-9200 93 9201-9300 94 9301-9400 95 9401-9500 96 9501-9600 97 9601-9700 98 9701-9800 99 9801-9900 100 9901-10000 101 10001-10100 102 10101-10200 103 10201-10300 104 10301-10400 105 10401-10500 106 10501-10600 107 10601-10700 108 10701-10800 109 10801-10900 110 10901-11000 111 11001-11100 112 11101-11200 113 11201-11300 114 11301-11400 115 11401-11500 116 11501-11600 117 11601-11700 118 11701-11800 119 11801-11900 120 11901-12000 121 12001-12100 122 12101-12200 123 12201-12300 124 12301-12400 125 12401-12500 126 12501-12600 127 12601-12700 128 12701-12800 129 12801-12900 130 12901-13000 131 13001-13100 132 13101-13200 133 13201-13300 134 13301-13400 135 13401-13500 136 13501-13600 137 13601-13700 138 13701-13800 139 13801-13900 140 13901-14000 141 14001-14100 142 14101-14200 143 14201-14300 144 14301-14400 145 14401-14500 146 14501-14600 147 14601-14700 148 14701-14800 149 14801-14801
  Copyright terms: Public domain < Previous  Next >