MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  lgsdir Structured version   Unicode version

Theorem lgsdir 22553
Description: The Legendre symbol is completely multiplicative in its left argument. Together with lgsqr 22569 this implies that the product of two quadratic residues or nonresidues is a residue, and the product of a residue and a nonresidue is a nonresidue. (Contributed by Mario Carneiro, 4-Feb-2015.)
Assertion
Ref Expression
lgsdir  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  (
( A  x.  B
)  /L N )  =  ( ( A  /L N )  x.  ( B  /L N ) ) )

Proof of Theorem lgsdir
Dummy variables  k  n  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ax-1cn 9327 . . . . . . 7  |-  1  e.  CC
2 0cn 9365 . . . . . . 7  |-  0  e.  CC
31, 2keepel 3845 . . . . . 6  |-  if ( ( B ^ 2 )  =  1 ,  1 ,  0 )  e.  CC
43mulid2i 9376 . . . . 5  |-  ( 1  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )  =  if ( ( B ^ 2 )  =  1 ,  1 ,  0 )
5 iftrue 3785 . . . . . . 7  |-  ( ( A ^ 2 )  =  1  ->  if ( ( A ^
2 )  =  1 ,  1 ,  0 )  =  1 )
65adantl 463 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  if (
( A ^ 2 )  =  1 ,  1 ,  0 )  =  1 )
76oveq1d 6095 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( if ( ( A ^
2 )  =  1 ,  1 ,  0 )  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )  =  ( 1  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) ) )
8 simpl1 984 . . . . . . . . . . 11  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  A  e.  ZZ )
98zcnd 10735 . . . . . . . . . 10  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  A  e.  CC )
109ad2antrr 718 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  A  e.  CC )
11 simpl2 985 . . . . . . . . . . 11  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  B  e.  ZZ )
1211zcnd 10735 . . . . . . . . . 10  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  B  e.  CC )
1312ad2antrr 718 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  B  e.  CC )
1410, 13sqmuld 12003 . . . . . . . 8  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( ( A  x.  B ) ^ 2 )  =  ( ( A ^
2 )  x.  ( B ^ 2 ) ) )
15 simpr 458 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( A ^ 2 )  =  1 )
1615oveq1d 6095 . . . . . . . 8  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( ( A ^ 2 )  x.  ( B ^ 2 ) )  =  ( 1  x.  ( B ^ 2 ) ) )
1712sqcld 11989 . . . . . . . . . 10  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( B ^ 2 )  e.  CC )
1817ad2antrr 718 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( B ^ 2 )  e.  CC )
1918mulid2d 9391 . . . . . . . 8  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( 1  x.  ( B ^
2 ) )  =  ( B ^ 2 ) )
2014, 16, 193eqtrd 2469 . . . . . . 7  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( ( A  x.  B ) ^ 2 )  =  ( B ^ 2 ) )
2120eqeq1d 2441 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( (
( A  x.  B
) ^ 2 )  =  1  <->  ( B ^ 2 )  =  1 ) )
2221ifbid 3799 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  if (
( ( A  x.  B ) ^ 2 )  =  1 ,  1 ,  0 )  =  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )
234, 7, 223eqtr4a 2491 . . . 4  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( if ( ( A ^
2 )  =  1 ,  1 ,  0 )  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )  =  if ( ( ( A  x.  B ) ^ 2 )  =  1 ,  1 ,  0 ) )
243mul02i 9545 . . . . 5  |-  ( 0  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )  =  0
25 iffalse 3787 . . . . . . 7  |-  ( -.  ( A ^ 2 )  =  1  ->  if ( ( A ^
2 )  =  1 ,  1 ,  0 )  =  0 )
2625adantl 463 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  -.  ( A ^ 2 )  =  1 )  ->  if ( ( A ^
2 )  =  1 ,  1 ,  0 )  =  0 )
2726oveq1d 6095 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  -.  ( A ^ 2 )  =  1 )  ->  ( if ( ( A ^
2 )  =  1 ,  1 ,  0 )  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )  =  ( 0  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) ) )
28 dvdsmul1 13536 . . . . . . . . . . . 12  |-  ( ( A  e.  ZZ  /\  B  e.  ZZ )  ->  A  ||  ( A  x.  B ) )
298, 11, 28syl2anc 654 . . . . . . . . . . 11  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  A  ||  ( A  x.  B
) )
308, 11zmulcld 10740 . . . . . . . . . . . 12  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( A  x.  B )  e.  ZZ )
31 dvdssq 13726 . . . . . . . . . . . 12  |-  ( ( A  e.  ZZ  /\  ( A  x.  B
)  e.  ZZ )  ->  ( A  ||  ( A  x.  B
)  <->  ( A ^
2 )  ||  (
( A  x.  B
) ^ 2 ) ) )
328, 30, 31syl2anc 654 . . . . . . . . . . 11  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( A  ||  ( A  x.  B )  <->  ( A ^ 2 )  ||  ( ( A  x.  B ) ^ 2 ) ) )
3329, 32mpbid 210 . . . . . . . . . 10  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( A ^ 2 )  ||  ( ( A  x.  B ) ^ 2 ) )
3433adantr 462 . . . . . . . . 9  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( A ^
2 )  ||  (
( A  x.  B
) ^ 2 ) )
35 breq2 4284 . . . . . . . . 9  |-  ( ( ( A  x.  B
) ^ 2 )  =  1  ->  (
( A ^ 2 )  ||  ( ( A  x.  B ) ^ 2 )  <->  ( A ^ 2 )  ||  1 ) )
3634, 35syl5ibcom 220 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( ( A  x.  B ) ^ 2 )  =  1  ->  ( A ^ 2 )  ||  1 ) )
37 simprl 748 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  A  =/=  0 )
3837neneqd 2614 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  -.  A  =  0 )
39 sqeq0 11913 . . . . . . . . . . . . . . . 16  |-  ( A  e.  CC  ->  (
( A ^ 2 )  =  0  <->  A  =  0 ) )
409, 39syl 16 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  (
( A ^ 2 )  =  0  <->  A  =  0 ) )
4138, 40mtbird 301 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  -.  ( A ^ 2 )  =  0 )
42 zsqcl2 11926 . . . . . . . . . . . . . . . . 17  |-  ( A  e.  ZZ  ->  ( A ^ 2 )  e. 
NN0 )
438, 42syl 16 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( A ^ 2 )  e. 
NN0 )
44 elnn0 10568 . . . . . . . . . . . . . . . 16  |-  ( ( A ^ 2 )  e.  NN0  <->  ( ( A ^ 2 )  e.  NN  \/  ( A ^ 2 )  =  0 ) )
4543, 44sylib 196 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  (
( A ^ 2 )  e.  NN  \/  ( A ^ 2 )  =  0 ) )
4645ord 377 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( -.  ( A ^ 2 )  e.  NN  ->  ( A ^ 2 )  =  0 ) )
4741, 46mt3d 125 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( A ^ 2 )  e.  NN )
4847adantr 462 . . . . . . . . . . . 12  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( A ^
2 )  e.  NN )
4948nnzd 10733 . . . . . . . . . . 11  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( A ^
2 )  e.  ZZ )
50 1nn 10320 . . . . . . . . . . 11  |-  1  e.  NN
51 dvdsle 13560 . . . . . . . . . . 11  |-  ( ( ( A ^ 2 )  e.  ZZ  /\  1  e.  NN )  ->  ( ( A ^
2 )  ||  1  ->  ( A ^ 2 )  <_  1 ) )
5249, 50, 51sylancl 655 . . . . . . . . . 10  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( A ^ 2 )  ||  1  ->  ( A ^
2 )  <_  1
) )
5348nnge1d 10351 . . . . . . . . . 10  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  1  <_  ( A ^ 2 ) )
5452, 53jctird 539 . . . . . . . . 9  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( A ^ 2 )  ||  1  ->  ( ( A ^ 2 )  <_ 
1  /\  1  <_  ( A ^ 2 ) ) ) )
5548nnred 10324 . . . . . . . . . 10  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( A ^
2 )  e.  RR )
56 1re 9372 . . . . . . . . . 10  |-  1  e.  RR
57 letri3 9447 . . . . . . . . . 10  |-  ( ( ( A ^ 2 )  e.  RR  /\  1  e.  RR )  ->  ( ( A ^
2 )  =  1  <-> 
( ( A ^
2 )  <_  1  /\  1  <_  ( A ^ 2 ) ) ) )
5855, 56, 57sylancl 655 . . . . . . . . 9  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( A ^ 2 )  =  1  <->  ( ( A ^ 2 )  <_ 
1  /\  1  <_  ( A ^ 2 ) ) ) )
5954, 58sylibrd 234 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( A ^ 2 )  ||  1  ->  ( A ^
2 )  =  1 ) )
6036, 59syld 44 . . . . . . 7  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( ( A  x.  B ) ^ 2 )  =  1  ->  ( A ^ 2 )  =  1 ) )
6160con3and 439 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  -.  ( A ^ 2 )  =  1 )  ->  -.  ( ( A  x.  B ) ^ 2 )  =  1 )
62 iffalse 3787 . . . . . 6  |-  ( -.  ( ( A  x.  B ) ^ 2 )  =  1  ->  if ( ( ( A  x.  B ) ^
2 )  =  1 ,  1 ,  0 )  =  0 )
6361, 62syl 16 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  -.  ( A ^ 2 )  =  1 )  ->  if ( ( ( A  x.  B ) ^
2 )  =  1 ,  1 ,  0 )  =  0 )
6424, 27, 633eqtr4a 2491 . . . 4  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  -.  ( A ^ 2 )  =  1 )  ->  ( if ( ( A ^
2 )  =  1 ,  1 ,  0 )  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )  =  if ( ( ( A  x.  B ) ^ 2 )  =  1 ,  1 ,  0 ) )
6523, 64pm2.61dan 782 . . 3  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( if ( ( A ^ 2 )  =  1 ,  1 ,  0 )  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )  =  if ( ( ( A  x.  B
) ^ 2 )  =  1 ,  1 ,  0 ) )
66 oveq2 6088 . . . . 5  |-  ( N  =  0  ->  ( A  /L N )  =  ( A  /L 0 ) )
67 lgs0 22532 . . . . . 6  |-  ( A  e.  ZZ  ->  ( A  /L 0 )  =  if ( ( A ^ 2 )  =  1 ,  1 ,  0 ) )
688, 67syl 16 . . . . 5  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( A  /L 0 )  =  if ( ( A ^ 2 )  =  1 ,  1 ,  0 ) )
6966, 68sylan9eqr 2487 . . . 4  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( A  /L N )  =  if ( ( A ^ 2 )  =  1 ,  1 ,  0 ) )
70 oveq2 6088 . . . . 5  |-  ( N  =  0  ->  ( B  /L N )  =  ( B  /L 0 ) )
71 lgs0 22532 . . . . . 6  |-  ( B  e.  ZZ  ->  ( B  /L 0 )  =  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )
7211, 71syl 16 . . . . 5  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( B  /L 0 )  =  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )
7370, 72sylan9eqr 2487 . . . 4  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( B  /L N )  =  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )
7469, 73oveq12d 6098 . . 3  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( A  /L N )  x.  ( B  /L N ) )  =  ( if ( ( A ^ 2 )  =  1 ,  1 ,  0 )  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) ) )
75 oveq2 6088 . . . 4  |-  ( N  =  0  ->  (
( A  x.  B
)  /L N )  =  ( ( A  x.  B )  /L 0 ) )
76 lgs0 22532 . . . . 5  |-  ( ( A  x.  B )  e.  ZZ  ->  (
( A  x.  B
)  /L 0 )  =  if ( ( ( A  x.  B ) ^ 2 )  =  1 ,  1 ,  0 ) )
7730, 76syl 16 . . . 4  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  (
( A  x.  B
)  /L 0 )  =  if ( ( ( A  x.  B ) ^ 2 )  =  1 ,  1 ,  0 ) )
7875, 77sylan9eqr 2487 . . 3  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( A  x.  B )  /L N )  =  if ( ( ( A  x.  B ) ^ 2 )  =  1 ,  1 ,  0 ) )
7965, 74, 783eqtr4rd 2476 . 2  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( A  x.  B )  /L N )  =  ( ( A  /L N )  x.  ( B  /L
N ) ) )
80 lgsdilem 22545 . . . . 5  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  if ( ( N  <  0  /\  ( A  x.  B )  <  0 ) ,  -u
1 ,  1 )  =  ( if ( ( N  <  0  /\  A  <  0
) ,  -u 1 ,  1 )  x.  if ( ( N  <  0  /\  B  <  0 ) ,  -u
1 ,  1 ) ) )
8180adantr 462 . . . 4  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  if ( ( N  <  0  /\  ( A  x.  B )  <  0 ) ,  -u
1 ,  1 )  =  ( if ( ( N  <  0  /\  A  <  0
) ,  -u 1 ,  1 )  x.  if ( ( N  <  0  /\  B  <  0 ) ,  -u
1 ,  1 ) ) )
82 mulcl 9353 . . . . . 6  |-  ( ( x  e.  CC  /\  y  e.  CC )  ->  ( x  x.  y
)  e.  CC )
8382adantl 463 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  ( x  e.  CC  /\  y  e.  CC ) )  ->  ( x  x.  y )  e.  CC )
84 mulcom 9355 . . . . . 6  |-  ( ( x  e.  CC  /\  y  e.  CC )  ->  ( x  x.  y
)  =  ( y  x.  x ) )
8584adantl 463 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  ( x  e.  CC  /\  y  e.  CC ) )  ->  ( x  x.  y )  =  ( y  x.  x ) )
86 mulass 9357 . . . . . 6  |-  ( ( x  e.  CC  /\  y  e.  CC  /\  z  e.  CC )  ->  (
( x  x.  y
)  x.  z )  =  ( x  x.  ( y  x.  z
) ) )
8786adantl 463 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  ( x  e.  CC  /\  y  e.  CC  /\  z  e.  CC )
)  ->  ( (
x  x.  y )  x.  z )  =  ( x  x.  (
y  x.  z ) ) )
88 simpl3 986 . . . . . . 7  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  N  e.  ZZ )
89 nnabscl 12796 . . . . . . 7  |-  ( ( N  e.  ZZ  /\  N  =/=  0 )  -> 
( abs `  N
)  e.  NN )
9088, 89sylan 468 . . . . . 6  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( abs `  N
)  e.  NN )
91 nnuz 10883 . . . . . 6  |-  NN  =  ( ZZ>= `  1 )
9290, 91syl6eleq 2523 . . . . 5  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( abs `  N
)  e.  ( ZZ>= ` 
1 ) )
93 simpll1 1020 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  A  e.  ZZ )
94 simpll3 1022 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  N  e.  ZZ )
95 simpr 458 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  N  =/=  0 )
96 eqid 2433 . . . . . . . . 9  |-  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) )  =  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) )
9796lgsfcl3 22540 . . . . . . . 8  |-  ( ( A  e.  ZZ  /\  N  e.  ZZ  /\  N  =/=  0 )  ->  (
n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) : NN --> ZZ )
9893, 94, 95, 97syl3anc 1211 . . . . . . 7  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) : NN --> ZZ )
99 elfznn 11464 . . . . . . 7  |-  ( k  e.  ( 1 ... ( abs `  N
) )  ->  k  e.  NN )
100 ffvelrn 5829 . . . . . . 7  |-  ( ( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) : NN --> ZZ  /\  k  e.  NN )  ->  ( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) ) `  k )  e.  ZZ )
10198, 99, 100syl2an 474 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) `  k )  e.  ZZ )
102101zcnd 10735 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) `  k )  e.  CC )
103 simpll2 1021 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  B  e.  ZZ )
104 eqid 2433 . . . . . . . . 9  |-  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) )  =  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) )
105104lgsfcl3 22540 . . . . . . . 8  |-  ( ( B  e.  ZZ  /\  N  e.  ZZ  /\  N  =/=  0 )  ->  (
n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) : NN --> ZZ )
106103, 94, 95, 105syl3anc 1211 . . . . . . 7  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) : NN --> ZZ )
107 ffvelrn 5829 . . . . . . 7  |-  ( ( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) : NN --> ZZ  /\  k  e.  NN )  ->  ( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) ) `  k )  e.  ZZ )
108106, 99, 107syl2an 474 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) `  k )  e.  ZZ )
109108zcnd 10735 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) `  k )  e.  CC )
11093adantr 462 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  A  e.  ZZ )
111103adantr 462 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  B  e.  ZZ )
112 simpr 458 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
k  e.  Prime )
113 lgsdirprm 22552 . . . . . . . . . . . 12  |-  ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  k  e.  Prime )  ->  (
( A  x.  B
)  /L k )  =  ( ( A  /L k )  x.  ( B  /L k ) ) )
114110, 111, 112, 113syl3anc 1211 . . . . . . . . . . 11  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( ( A  x.  B )  /L
k )  =  ( ( A  /L
k )  x.  ( B  /L k ) ) )
115114oveq1d 6095 . . . . . . . . . 10  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( ( ( A  x.  B )  /L k ) ^
( k  pCnt  N
) )  =  ( ( ( A  /L k )  x.  ( B  /L
k ) ) ^
( k  pCnt  N
) ) )
116 prmz 13749 . . . . . . . . . . . . 13  |-  ( k  e.  Prime  ->  k  e.  ZZ )
117 lgscl 22533 . . . . . . . . . . . . 13  |-  ( ( A  e.  ZZ  /\  k  e.  ZZ )  ->  ( A  /L
k )  e.  ZZ )
11893, 116, 117syl2an 474 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( A  /L
k )  e.  ZZ )
119118zcnd 10735 . . . . . . . . . . 11  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( A  /L
k )  e.  CC )
120 lgscl 22533 . . . . . . . . . . . . 13  |-  ( ( B  e.  ZZ  /\  k  e.  ZZ )  ->  ( B  /L
k )  e.  ZZ )
121103, 116, 120syl2an 474 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( B  /L
k )  e.  ZZ )
122121zcnd 10735 . . . . . . . . . . 11  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( B  /L
k )  e.  CC )
12394adantr 462 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  N  e.  ZZ )
12495adantr 462 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  N  =/=  0 )
125 pczcl 13897 . . . . . . . . . . . 12  |-  ( ( k  e.  Prime  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  -> 
( k  pCnt  N
)  e.  NN0 )
126112, 123, 124, 125syl12anc 1209 . . . . . . . . . . 11  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( k  pCnt  N
)  e.  NN0 )
127119, 122, 126mulexpd 12006 . . . . . . . . . 10  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( ( ( A  /L k )  x.  ( B  /L k ) ) ^ ( k  pCnt  N ) )  =  ( ( ( A  /L k ) ^
( k  pCnt  N
) )  x.  (
( B  /L
k ) ^ (
k  pCnt  N )
) ) )
128115, 127eqtrd 2465 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( ( ( A  x.  B )  /L k ) ^
( k  pCnt  N
) )  =  ( ( ( A  /L k ) ^
( k  pCnt  N
) )  x.  (
( B  /L
k ) ^ (
k  pCnt  N )
) ) )
129 iftrue 3785 . . . . . . . . . 10  |-  ( k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L
k ) ^ (
k  pCnt  N )
) ,  1 )  =  ( ( ( A  x.  B )  /L k ) ^ ( k  pCnt  N ) ) )
130129adantl 463 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L k ) ^
( k  pCnt  N
) ) ,  1 )  =  ( ( ( A  x.  B
)  /L k ) ^ ( k 
pCnt  N ) ) )
131 iftrue 3785 . . . . . . . . . . 11  |-  ( k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( A  /L
k ) ^ (
k  pCnt  N )
) ,  1 )  =  ( ( A  /L k ) ^ ( k  pCnt  N ) ) )
132 iftrue 3785 . . . . . . . . . . 11  |-  ( k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 )  =  ( ( B  /L k ) ^ ( k  pCnt  N ) ) )
133131, 132oveq12d 6098 . . . . . . . . . 10  |-  ( k  e.  Prime  ->  ( if ( k  e.  Prime ,  ( ( A  /L k ) ^
( k  pCnt  N
) ) ,  1 )  x.  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) )  =  ( ( ( A  /L
k ) ^ (
k  pCnt  N )
)  x.  ( ( B  /L k ) ^ ( k 
pCnt  N ) ) ) )
134133adantl 463 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
( if ( k  e.  Prime ,  ( ( A  /L k ) ^ ( k 
pCnt  N ) ) ,  1 )  x.  if ( k  e.  Prime ,  ( ( B  /L k ) ^
( k  pCnt  N
) ) ,  1 ) )  =  ( ( ( A  /L k ) ^
( k  pCnt  N
) )  x.  (
( B  /L
k ) ^ (
k  pCnt  N )
) ) )
135128, 130, 1343eqtr4d 2475 . . . . . . . 8  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L k ) ^
( k  pCnt  N
) ) ,  1 )  =  ( if ( k  e.  Prime ,  ( ( A  /L k ) ^
( k  pCnt  N
) ) ,  1 )  x.  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) ) )
136 1t1e1 10456 . . . . . . . . . . 11  |-  ( 1  x.  1 )  =  1
137136eqcomi 2437 . . . . . . . . . 10  |-  1  =  ( 1  x.  1 )
138 iffalse 3787 . . . . . . . . . 10  |-  ( -.  k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L k ) ^
( k  pCnt  N
) ) ,  1 )  =  1 )
139 iffalse 3787 . . . . . . . . . . 11  |-  ( -.  k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( A  /L k ) ^
( k  pCnt  N
) ) ,  1 )  =  1 )
140 iffalse 3787 . . . . . . . . . . 11  |-  ( -.  k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( B  /L k ) ^
( k  pCnt  N
) ) ,  1 )  =  1 )
141139, 140oveq12d 6098 . . . . . . . . . 10  |-  ( -.  k  e.  Prime  ->  ( if ( k  e. 
Prime ,  ( ( A  /L k ) ^ ( k  pCnt  N ) ) ,  1 )  x.  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) )  =  ( 1  x.  1 ) )
142137, 138, 1413eqtr4a 2491 . . . . . . . . 9  |-  ( -.  k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L k ) ^
( k  pCnt  N
) ) ,  1 )  =  ( if ( k  e.  Prime ,  ( ( A  /L k ) ^
( k  pCnt  N
) ) ,  1 )  x.  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) ) )
143142adantl 463 . . . . . . . 8  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  -.  k  e.  Prime )  ->  if ( k  e.  Prime ,  ( ( ( A  x.  B
)  /L k ) ^ ( k 
pCnt  N ) ) ,  1 )  =  ( if ( k  e. 
Prime ,  ( ( A  /L k ) ^ ( k  pCnt  N ) ) ,  1 )  x.  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) ) )
144135, 143pm2.61dan 782 . . . . . . 7  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L k ) ^
( k  pCnt  N
) ) ,  1 )  =  ( if ( k  e.  Prime ,  ( ( A  /L k ) ^
( k  pCnt  N
) ) ,  1 )  x.  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) ) )
145144adantr 462 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  ->  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L k ) ^
( k  pCnt  N
) ) ,  1 )  =  ( if ( k  e.  Prime ,  ( ( A  /L k ) ^
( k  pCnt  N
) ) ,  1 )  x.  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) ) )
14699adantl 463 . . . . . . 7  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
k  e.  NN )
147 eleq1 2493 . . . . . . . . 9  |-  ( n  =  k  ->  (
n  e.  Prime  <->  k  e.  Prime ) )
148 oveq2 6088 . . . . . . . . . 10  |-  ( n  =  k  ->  (
( A  x.  B
)  /L n )  =  ( ( A  x.  B )  /L k ) )
149 oveq1 6087 . . . . . . . . . 10  |-  ( n  =  k  ->  (
n  pCnt  N )  =  ( k  pCnt  N ) )
150148, 149oveq12d 6098 . . . . . . . . 9  |-  ( n  =  k  ->  (
( ( A  x.  B )  /L
n ) ^ (
n  pCnt  N )
)  =  ( ( ( A  x.  B
)  /L k ) ^ ( k 
pCnt  N ) ) )
151147, 150ifbieq1d 3800 . . . . . . . 8  |-  ( n  =  k  ->  if ( n  e.  Prime ,  ( ( ( A  x.  B )  /L n ) ^
( n  pCnt  N
) ) ,  1 )  =  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) )
152 eqid 2433 . . . . . . . 8  |-  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( ( A  x.  B )  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) )  =  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( ( A  x.  B )  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) )
153 ovex 6105 . . . . . . . . 9  |-  ( ( ( A  x.  B
)  /L k ) ^ ( k 
pCnt  N ) )  e. 
_V
154 1ex 9368 . . . . . . . . 9  |-  1  e.  _V
155153, 154ifex 3846 . . . . . . . 8  |-  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L
k ) ^ (
k  pCnt  N )
) ,  1 )  e.  _V
156151, 152, 155fvmpt 5762 . . . . . . 7  |-  ( k  e.  NN  ->  (
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( ( A  x.  B )  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) `  k
)  =  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) )
157146, 156syl 16 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( ( A  x.  B
)  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) `  k )  =  if ( k  e.  Prime ,  ( ( ( A  x.  B )  /L k ) ^
( k  pCnt  N
) ) ,  1 ) )
158 oveq2 6088 . . . . . . . . . . 11  |-  ( n  =  k  ->  ( A  /L n )  =  ( A  /L k ) )
159158, 149oveq12d 6098 . . . . . . . . . 10  |-  ( n  =  k  ->  (
( A  /L
n ) ^ (
n  pCnt  N )
)  =  ( ( A  /L k ) ^ ( k 
pCnt  N ) ) )
160147, 159ifbieq1d 3800 . . . . . . . . 9  |-  ( n  =  k  ->  if ( n  e.  Prime ,  ( ( A  /L n ) ^
( n  pCnt  N
) ) ,  1 )  =  if ( k  e.  Prime ,  ( ( A  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) )
161 ovex 6105 . . . . . . . . . 10  |-  ( ( A  /L k ) ^ ( k 
pCnt  N ) )  e. 
_V
162161, 154ifex 3846 . . . . . . . . 9  |-  if ( k  e.  Prime ,  ( ( A  /L
k ) ^ (
k  pCnt  N )
) ,  1 )  e.  _V
163160, 96, 162fvmpt 5762 . . . . . . . 8  |-  ( k  e.  NN  ->  (
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) `  k
)  =  if ( k  e.  Prime ,  ( ( A  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) )
164146, 163syl 16 . . . . . . 7  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) `  k )  =  if ( k  e.  Prime ,  ( ( A  /L k ) ^
( k  pCnt  N
) ) ,  1 ) )
165 oveq2 6088 . . . . . . . . . . 11  |-  ( n  =  k  ->  ( B  /L n )  =  ( B  /L k ) )
166165, 149oveq12d 6098 . . . . . . . . . 10  |-  ( n  =  k  ->  (
( B  /L
n ) ^ (
n  pCnt  N )
)  =  ( ( B  /L k ) ^ ( k 
pCnt  N ) ) )
167147, 166ifbieq1d 3800 . . . . . . . . 9  |-  ( n  =  k  ->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 )  =  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) )
168 ovex 6105 . . . . . . . . . 10  |-  ( ( B  /L k ) ^ ( k 
pCnt  N ) )  e. 
_V
169168, 154ifex 3846 . . . . . . . . 9  |-  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 )  e.  _V
170167, 104, 169fvmpt 5762 . . . . . . . 8  |-  ( k  e.  NN  ->  (
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) `  k
)  =  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) )
171146, 170syl 16 . . . . . . 7  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) `  k )  =  if ( k  e.  Prime ,  ( ( B  /L k ) ^
( k  pCnt  N
) ) ,  1 ) )
172164, 171oveq12d 6098 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
( ( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) ) `  k )  x.  ( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) ) `  k ) )  =  ( if ( k  e.  Prime ,  ( ( A  /L k ) ^
( k  pCnt  N
) ) ,  1 )  x.  if ( k  e.  Prime ,  ( ( B  /L
k ) ^ (
k  pCnt  N )
) ,  1 ) ) )
173145, 157, 1723eqtr4d 2475 . . . . 5  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  ( 1 ... ( abs `  N
) ) )  -> 
( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( ( A  x.  B
)  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) `  k )  =  ( ( ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) `  k )  x.  (
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) `  k
) ) )
17483, 85, 87, 92, 102, 109, 173seqcaopr 11826 . . . 4  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
(  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( ( A  x.  B
)  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) ) `
 ( abs `  N
) )  =  ( (  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) ) ) `  ( abs `  N ) )  x.  (  seq 1
(  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) )
17581, 174oveq12d 6098 . . 3  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( if ( ( N  <  0  /\  ( A  x.  B
)  <  0 ) ,  -u 1 ,  1 )  x.  (  seq 1 (  x.  , 
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( ( A  x.  B )  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) )  =  ( ( if ( ( N  <  0  /\  A  <  0 ) ,  -u 1 ,  1 )  x.  if ( ( N  <  0  /\  B  <  0
) ,  -u 1 ,  1 ) )  x.  ( (  seq 1 (  x.  , 
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) )  x.  (  seq 1 (  x.  , 
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) ) )
17630adantr 462 . . . 4  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( A  x.  B
)  e.  ZZ )
177152lgsval4 22539 . . . 4  |-  ( ( ( A  x.  B
)  e.  ZZ  /\  N  e.  ZZ  /\  N  =/=  0 )  ->  (
( A  x.  B
)  /L N )  =  ( if ( ( N  <  0  /\  ( A  x.  B )  <  0 ) ,  -u
1 ,  1 )  x.  (  seq 1
(  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( ( A  x.  B )  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) )
178176, 94, 95, 177syl3anc 1211 . . 3  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( ( A  x.  B )  /L
N )  =  ( if ( ( N  <  0  /\  ( A  x.  B )  <  0 ) ,  -u
1 ,  1 )  x.  (  seq 1
(  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( ( A  x.  B )  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) )
17996lgsval4 22539 . . . . . 6  |-  ( ( A  e.  ZZ  /\  N  e.  ZZ  /\  N  =/=  0 )  ->  ( A  /L N )  =  ( if ( ( N  <  0  /\  A  <  0
) ,  -u 1 ,  1 )  x.  (  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) ) ) `  ( abs `  N ) ) ) )
18093, 94, 95, 179syl3anc 1211 . . . . 5  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( A  /L
N )  =  ( if ( ( N  <  0  /\  A  <  0 ) ,  -u
1 ,  1 )  x.  (  seq 1
(  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) )
181104lgsval4 22539 . . . . . 6  |-  ( ( B  e.  ZZ  /\  N  e.  ZZ  /\  N  =/=  0 )  ->  ( B  /L N )  =  ( if ( ( N  <  0  /\  B  <  0
) ,  -u 1 ,  1 )  x.  (  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) ) ) `  ( abs `  N ) ) ) )
182103, 94, 95, 181syl3anc 1211 . . . . 5  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( B  /L
N )  =  ( if ( ( N  <  0  /\  B  <  0 ) ,  -u
1 ,  1 )  x.  (  seq 1
(  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) )
183180, 182oveq12d 6098 . . . 4  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( ( A  /L N )  x.  ( B  /L
N ) )  =  ( ( if ( ( N  <  0  /\  A  <  0
) ,  -u 1 ,  1 )  x.  (  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) ) ) `  ( abs `  N ) ) )  x.  ( if ( ( N  <  0  /\  B  <  0 ) ,  -u
1 ,  1 )  x.  (  seq 1
(  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) ) )
184 neg1cn 10412 . . . . . . 7  |-  -u 1  e.  CC
185184, 1keepel 3845 . . . . . 6  |-  if ( ( N  <  0  /\  A  <  0
) ,  -u 1 ,  1 )  e.  CC
186185a1i 11 . . . . 5  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  if ( ( N  <  0  /\  A  <  0 ) ,  -u
1 ,  1 )  e.  CC )
187 mulcl 9353 . . . . . . 7  |-  ( ( k  e.  CC  /\  x  e.  CC )  ->  ( k  x.  x
)  e.  CC )
188187adantl 463 . . . . . 6  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  ( k  e.  CC  /\  x  e.  CC ) )  ->  ( k  x.  x )  e.  CC )
18992, 102, 188seqcl 11809 . . . . 5  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
(  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) ) `
 ( abs `  N
) )  e.  CC )
190184, 1keepel 3845 . . . . . 6  |-  if ( ( N  <  0  /\  B  <  0
) ,  -u 1 ,  1 )  e.  CC
191190a1i 11 . . . . 5  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  if ( ( N  <  0  /\  B  <  0 ) ,  -u
1 ,  1 )  e.  CC )
19292, 109, 188seqcl 11809 . . . . 5  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
(  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) ) `
 ( abs `  N
) )  e.  CC )
193186, 189, 191, 192mul4d 9568 . . . 4  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( ( if ( ( N  <  0  /\  A  <  0
) ,  -u 1 ,  1 )  x.  (  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L
n ) ^ (
n  pCnt  N )
) ,  1 ) ) ) `  ( abs `  N ) ) )  x.  ( if ( ( N  <  0  /\  B  <  0 ) ,  -u
1 ,  1 )  x.  (  seq 1
(  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) )  =  ( ( if ( ( N  <  0  /\  A  <  0
) ,  -u 1 ,  1 )  x.  if ( ( N  <  0  /\  B  <  0 ) ,  -u
1 ,  1 ) )  x.  ( (  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) ) `
 ( abs `  N
) )  x.  (  seq 1 (  x.  , 
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) ) )
194183, 193eqtrd 2465 . . 3  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( ( A  /L N )  x.  ( B  /L
N ) )  =  ( ( if ( ( N  <  0  /\  A  <  0
) ,  -u 1 ,  1 )  x.  if ( ( N  <  0  /\  B  <  0 ) ,  -u
1 ,  1 ) )  x.  ( (  seq 1 (  x.  ,  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( A  /L n ) ^ ( n 
pCnt  N ) ) ,  1 ) ) ) `
 ( abs `  N
) )  x.  (  seq 1 (  x.  , 
( n  e.  NN  |->  if ( n  e.  Prime ,  ( ( B  /L n ) ^
( n  pCnt  N
) ) ,  1 ) ) ) `  ( abs `  N ) ) ) ) )
195175, 178, 1943eqtr4d 2475 . 2  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( ( A  x.  B )  /L
N )  =  ( ( A  /L
N )  x.  ( B  /L N ) ) )
19679, 195pm2.61dane 2679 1  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  (
( A  x.  B
)  /L N )  =  ( ( A  /L N )  x.  ( B  /L N ) ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    \/ wo 368    /\ wa 369    /\ w3a 958    = wceq 1362    e. wcel 1755    =/= wne 2596   ifcif 3779   class class class wbr 4280    e. cmpt 4338   -->wf 5402   ` cfv 5406  (class class class)co 6080   CCcc 9267   RRcr 9268   0cc0 9269   1c1 9270    x. cmul 9274    < clt 9405    <_ cle 9406   -ucneg 9583   NNcn 10309   2c2 10358   NN0cn0 10566   ZZcz 10633   ZZ>=cuz 10848   ...cfz 11423    seqcseq 11789   ^cexp 11848   abscabs 12706    || cdivides 13517   Primecprime 13745    pCnt cpc 13885    /Lclgs 22517
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1594  ax-4 1605  ax-5 1669  ax-6 1707  ax-7 1727  ax-8 1757  ax-9 1759  ax-10 1774  ax-11 1779  ax-12 1791  ax-13 1942  ax-ext 2414  ax-rep 4391  ax-sep 4401  ax-nul 4409  ax-pow 4458  ax-pr 4519  ax-un 6361  ax-cnex 9325  ax-resscn 9326  ax-1cn 9327  ax-icn 9328  ax-addcl 9329  ax-addrcl 9330  ax-mulcl 9331  ax-mulrcl 9332  ax-mulcom 9333  ax-addass 9334  ax-mulass 9335  ax-distr 9336  ax-i2m1 9337  ax-1ne0 9338  ax-1rid 9339  ax-rnegex 9340  ax-rrecex 9341  ax-cnre 9342  ax-pre-lttri 9343  ax-pre-lttrn 9344  ax-pre-ltadd 9345  ax-pre-mulgt0 9346  ax-pre-sup 9347
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 959  df-3an 960  df-tru 1365  df-ex 1590  df-nf 1593  df-sb 1700  df-eu 2258  df-mo 2259  df-clab 2420  df-cleq 2426  df-clel 2429  df-nfc 2558  df-ne 2598  df-nel 2599  df-ral 2710  df-rex 2711  df-reu 2712  df-rmo 2713  df-rab 2714  df-v 2964  df-sbc 3176  df-csb 3277  df-dif 3319  df-un 3321  df-in 3323  df-ss 3330  df-pss 3332  df-nul 3626  df-if 3780  df-pw 3850  df-sn 3866  df-pr 3868  df-tp 3870  df-op 3872  df-uni 4080  df-int 4117  df-iun 4161  df-br 4281  df-opab 4339  df-mpt 4340  df-tr 4374  df-eprel 4619  df-id 4623  df-po 4628  df-so 4629  df-fr 4666  df-we 4668  df-ord 4709  df-on 4710  df-lim 4711  df-suc 4712  df-xp 4833  df-rel 4834  df-cnv 4835  df-co 4836  df-dm 4837  df-rn 4838  df-res 4839  df-ima 4840  df-iota 5369  df-fun 5408  df-fn 5409  df-f 5410  df-f1 5411  df-fo 5412  df-f1o 5413  df-fv 5414  df-riota 6039  df-ov 6083  df-oprab 6084  df-mpt2 6085  df-om 6466  df-1st 6566  df-2nd 6567  df-recs 6818  df-rdg 6852  df-1o 6908  df-2o 6909  df-oadd 6912  df-er 7089  df-map 7204  df-en 7299  df-dom 7300  df-sdom 7301  df-fin 7302  df-sup 7679  df-card 8097  df-cda 8325  df-pnf 9407  df-mnf 9408  df-xr 9409  df-ltxr 9410  df-le 9411  df-sub 9584  df-neg 9585  df-div 9981  df-nn 10310  df-2 10367  df-3 10368  df-4 10369  df-5 10370  df-6 10371  df-7 10372  df-8 10373  df-9 10374  df-n0 10567  df-z 10634  df-uz 10849  df-q 10941  df-rp 10979  df-fz 11424  df-fzo 11532  df-fl 11625  df-mod 11692  df-seq 11790  df-exp 11849  df-hash 12087  df-cj 12571  df-re 12572  df-im 12573  df-sqr 12707  df-abs 12708  df-dvds 13518  df-gcd 13673  df-prm 13746  df-phi 13823  df-pc 13886  df-lgs 22518
This theorem is referenced by:  lgssq  22558  lgsdirnn0  22562  lgsquad2lem1  22581
  Copyright terms: Public domain W3C validator