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

Theorem lgsdir 21107
Description: The Legendre symbol is completely multiplicative in its left argument. Together with lgsqr 21123 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 9041 . . . . . . 7  |-  1  e.  CC
2 0cn 9077 . . . . . . 7  |-  0  e.  CC
31, 2keepel 3789 . . . . . 6  |-  if ( ( B ^ 2 )  =  1 ,  1 ,  0 )  e.  CC
43mulid2i 9086 . . . . 5  |-  ( 1  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )  =  if ( ( B ^ 2 )  =  1 ,  1 ,  0 )
5 iftrue 3738 . . . . . . 7  |-  ( ( A ^ 2 )  =  1  ->  if ( ( A ^
2 )  =  1 ,  1 ,  0 )  =  1 )
65adantl 453 . . . . . 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 6089 . . . . 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 960 . . . . . . . . . . 11  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  A  e.  ZZ )
98zcnd 10369 . . . . . . . . . 10  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  A  e.  CC )
109ad2antrr 707 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  A  e.  CC )
11 simpl2 961 . . . . . . . . . . 11  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  B  e.  ZZ )
1211zcnd 10369 . . . . . . . . . 10  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  B  e.  CC )
1312ad2antrr 707 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  B  e.  CC )
1410, 13sqmuld 11528 . . . . . . . 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 448 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( A ^ 2 )  =  1 )
1615oveq1d 6089 . . . . . . . 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 11514 . . . . . . . . . 10  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( B ^ 2 )  e.  CC )
1817ad2antrr 707 . . . . . . . . 9  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  /\  ( A ^
2 )  =  1 )  ->  ( B ^ 2 )  e.  CC )
1918mulid2d 9099 . . . . . . . 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 2472 . . . . . . 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 2444 . . . . . 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 3750 . . . . 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 2494 . . . 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 9248 . . . . 5  |-  ( 0  x.  if ( ( B ^ 2 )  =  1 ,  1 ,  0 ) )  =  0
25 iffalse 3739 . . . . . . 7  |-  ( -.  ( A ^ 2 )  =  1  ->  if ( ( A ^
2 )  =  1 ,  1 ,  0 )  =  0 )
2625adantl 453 . . . . . 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 6089 . . . . 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 12864 . . . . . . . . . . . 12  |-  ( ( A  e.  ZZ  /\  B  e.  ZZ )  ->  A  ||  ( A  x.  B ) )
298, 11, 28syl2anc 643 . . . . . . . . . . 11  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  A  ||  ( A  x.  B
) )
308, 11zmulcld 10374 . . . . . . . . . . . 12  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( A  x.  B )  e.  ZZ )
31 dvdssq 13053 . . . . . . . . . . . 12  |-  ( ( A  e.  ZZ  /\  ( A  x.  B
)  e.  ZZ )  ->  ( A  ||  ( A  x.  B
)  <->  ( A ^
2 )  ||  (
( A  x.  B
) ^ 2 ) ) )
328, 30, 31syl2anc 643 . . . . . . . . . . 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 202 . . . . . . . . . 10  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( A ^ 2 )  ||  ( ( A  x.  B ) ^ 2 ) )
3433adantr 452 . . . . . . . . 9  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( A ^
2 )  ||  (
( A  x.  B
) ^ 2 ) )
35 breq2 4209 . . . . . . . . 9  |-  ( ( ( A  x.  B
) ^ 2 )  =  1  ->  (
( A ^ 2 )  ||  ( ( A  x.  B ) ^ 2 )  <->  ( A ^ 2 )  ||  1 ) )
3634, 35syl5ibcom 212 . . . . . . . 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 733 . . . . . . . . . . . . . . . 16  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  A  =/=  0 )
3837neneqd 2615 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  -.  A  =  0 )
39 sqeq0 11439 . . . . . . . . . . . . . . . 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 293 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  -.  ( A ^ 2 )  =  0 )
42 zsqcl2 11452 . . . . . . . . . . . . . . . . 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 10216 . . . . . . . . . . . . . . . 16  |-  ( ( A ^ 2 )  e.  NN0  <->  ( ( A ^ 2 )  e.  NN  \/  ( A ^ 2 )  =  0 ) )
4543, 44sylib 189 . . . . . . . . . . . . . . 15  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  (
( A ^ 2 )  e.  NN  \/  ( A ^ 2 )  =  0 ) )
4645ord 367 . . . . . . . . . . . . . 14  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( -.  ( A ^ 2 )  e.  NN  ->  ( A ^ 2 )  =  0 ) )
4741, 46mt3d 119 . . . . . . . . . . . . 13  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  ( A ^ 2 )  e.  NN )
4847adantr 452 . . . . . . . . . . . 12  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( A ^
2 )  e.  NN )
4948nnzd 10367 . . . . . . . . . . 11  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( A ^
2 )  e.  ZZ )
50 1nn 10004 . . . . . . . . . . 11  |-  1  e.  NN
51 dvdsle 12888 . . . . . . . . . . 11  |-  ( ( ( A ^ 2 )  e.  ZZ  /\  1  e.  NN )  ->  ( ( A ^
2 )  ||  1  ->  ( A ^ 2 )  <_  1 ) )
5249, 50, 51sylancl 644 . . . . . . . . . 10  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( A ^ 2 )  ||  1  ->  ( A ^
2 )  <_  1
) )
5348nnge1d 10035 . . . . . . . . . 10  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  1  <_  ( A ^ 2 ) )
5452, 53jctird 529 . . . . . . . . 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 10008 . . . . . . . . . 10  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( A ^
2 )  e.  RR )
56 1re 9083 . . . . . . . . . 10  |-  1  e.  RR
57 letri3 9153 . . . . . . . . . 10  |-  ( ( ( A ^ 2 )  e.  RR  /\  1  e.  RR )  ->  ( ( A ^
2 )  =  1  <-> 
( ( A ^
2 )  <_  1  /\  1  <_  ( A ^ 2 ) ) ) )
5855, 56, 57sylancl 644 . . . . . . . . 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 226 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =  0 )  ->  ( ( A ^ 2 )  ||  1  ->  ( A ^
2 )  =  1 ) )
6036, 59syld 42 . . . . . . 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 429 . . . . . 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 3739 . . . . . 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 2494 . . . 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 767 . . 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 6082 . . . . 5  |-  ( N  =  0  ->  ( A  / L N )  =  ( A  / L 0 ) )
67 lgs0 21086 . . . . . 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 2490 . . . 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 6082 . . . . 5  |-  ( N  =  0  ->  ( B  / L N )  =  ( B  / L 0 ) )
71 lgs0 21086 . . . . . 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 2490 . . . 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 6092 . . 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 6082 . . . 4  |-  ( N  =  0  ->  (
( A  x.  B
)  / L N
)  =  ( ( A  x.  B )  / L 0 ) )
76 lgs0 21086 . . . . 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 2490 . . 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 2479 . 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 21099 . . . . 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 452 . . . 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 9067 . . . . . 6  |-  ( ( x  e.  CC  /\  y  e.  CC )  ->  ( x  x.  y
)  e.  CC )
8382adantl 453 . . . . 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 9069 . . . . . 6  |-  ( ( x  e.  CC  /\  y  e.  CC )  ->  ( x  x.  y
)  =  ( y  x.  x ) )
8584adantl 453 . . . . 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 9071 . . . . . 6  |-  ( ( x  e.  CC  /\  y  e.  CC  /\  z  e.  CC )  ->  (
( x  x.  y
)  x.  z )  =  ( x  x.  ( y  x.  z
) ) )
8786adantl 453 . . . . 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 962 . . . . . . 7  |-  ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0
) )  ->  N  e.  ZZ )
89 nnabscl 12122 . . . . . . 7  |-  ( ( N  e.  ZZ  /\  N  =/=  0 )  -> 
( abs `  N
)  e.  NN )
9088, 89sylan 458 . . . . . 6  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( abs `  N
)  e.  NN )
91 nnuz 10514 . . . . . 6  |-  NN  =  ( ZZ>= `  1 )
9290, 91syl6eleq 2526 . . . . 5  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( abs `  N
)  e.  ( ZZ>= ` 
1 ) )
93 simpll1 996 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  A  e.  ZZ )
94 simpll3 998 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  N  e.  ZZ )
95 simpr 448 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  N  =/=  0 )
96 eqid 2436 . . . . . . . . 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 21094 . . . . . . . 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 1184 . . . . . . 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 11073 . . . . . . 7  |-  ( k  e.  ( 1 ... ( abs `  N
) )  ->  k  e.  NN )
100 ffvelrn 5861 . . . . . . 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 464 . . . . . 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 10369 . . . . 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 997 . . . . . . . 8  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  ->  B  e.  ZZ )
104 eqid 2436 . . . . . . . . 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 21094 . . . . . . . 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 1184 . . . . . . 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 5861 . . . . . . 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 464 . . . . . 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 10369 . . . . 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 452 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  A  e.  ZZ )
111103adantr 452 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  B  e.  ZZ )
112 simpr 448 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  -> 
k  e.  Prime )
113 lgsdirprm 21106 . . . . . . . . . . . 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 1184 . . . . . . . . . . 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 6089 . . . . . . . . . 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 13076 . . . . . . . . . . . . 13  |-  ( k  e.  Prime  ->  k  e.  ZZ )
117 lgscl 21087 . . . . . . . . . . . . 13  |-  ( ( A  e.  ZZ  /\  k  e.  ZZ )  ->  ( A  / L
k )  e.  ZZ )
11893, 116, 117syl2an 464 . . . . . . . . . . . 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 10369 . . . . . . . . . . 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 21087 . . . . . . . . . . . . 13  |-  ( ( B  e.  ZZ  /\  k  e.  ZZ )  ->  ( B  / L
k )  e.  ZZ )
121103, 116, 120syl2an 464 . . . . . . . . . . . 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 10369 . . . . . . . . . . 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 452 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  N  e.  ZZ )
12495adantr 452 . . . . . . . . . . . 12  |-  ( ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  /\  k  e.  Prime )  ->  N  =/=  0 )
125 pczcl 13215 . . . . . . . . . . . 12  |-  ( ( k  e.  Prime  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  -> 
( k  pCnt  N
)  e.  NN0 )
126112, 123, 124, 125syl12anc 1182 . . . . . . . . . . 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 11531 . . . . . . . . . 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 2468 . . . . . . . . 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 3738 . . . . . . . . . 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 453 . . . . . . . . 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 3738 . . . . . . . . . . 11  |-  ( k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( A  / L
k ) ^ (
k  pCnt  N )
) ,  1 )  =  ( ( A  / L k ) ^ ( k  pCnt  N ) ) )
132 iftrue 3738 . . . . . . . . . . 11  |-  ( k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( B  / L
k ) ^ (
k  pCnt  N )
) ,  1 )  =  ( ( B  / L k ) ^ ( k  pCnt  N ) ) )
133131, 132oveq12d 6092 . . . . . . . . . 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 453 . . . . . . . . 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 2478 . . . . . . . 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 10119 . . . . . . . . . . 11  |-  ( 1  x.  1 )  =  1
137136eqcomi 2440 . . . . . . . . . 10  |-  1  =  ( 1  x.  1 )
138 iffalse 3739 . . . . . . . . . 10  |-  ( -.  k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( ( A  x.  B )  / L k ) ^
( k  pCnt  N
) ) ,  1 )  =  1 )
139 iffalse 3739 . . . . . . . . . . 11  |-  ( -.  k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( A  / L k ) ^
( k  pCnt  N
) ) ,  1 )  =  1 )
140 iffalse 3739 . . . . . . . . . . 11  |-  ( -.  k  e.  Prime  ->  if ( k  e.  Prime ,  ( ( B  / L k ) ^
( k  pCnt  N
) ) ,  1 )  =  1 )
141139, 140oveq12d 6092 . . . . . . . . . 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 2494 . . . . . . . . 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 453 . . . . . . . 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 767 . . . . . . 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 452 . . . . . 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 453 . . . . . . 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 2496 . . . . . . . . 9  |-  ( n  =  k  ->  (
n  e.  Prime  <->  k  e.  Prime ) )
148 oveq2 6082 . . . . . . . . . 10  |-  ( n  =  k  ->  (
( A  x.  B
)  / L n )  =  ( ( A  x.  B )  / L k ) )
149 oveq1 6081 . . . . . . . . . 10  |-  ( n  =  k  ->  (
n  pCnt  N )  =  ( k  pCnt  N ) )
150148, 149oveq12d 6092 . . . . . . . . 9  |-  ( n  =  k  ->  (
( ( A  x.  B )  / L
n ) ^ (
n  pCnt  N )
)  =  ( ( ( A  x.  B
)  / L k ) ^ ( k 
pCnt  N ) ) )
151 eqidd 2437 . . . . . . . . 9  |-  ( n  =  k  ->  1  =  1 )
152147, 150, 151ifbieq12d 3754 . . . . . . . 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 ) )
153 eqid 2436 . . . . . . . 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 ) )
154 ovex 6099 . . . . . . . . 9  |-  ( ( ( A  x.  B
)  / L k ) ^ ( k 
pCnt  N ) )  e. 
_V
155 1ex 9079 . . . . . . . . 9  |-  1  e.  _V
156154, 155ifex 3790 . . . . . . . 8  |-  if ( k  e.  Prime ,  ( ( ( A  x.  B )  / L
k ) ^ (
k  pCnt  N )
) ,  1 )  e.  _V
157152, 153, 156fvmpt 5799 . . . . . . 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 ) )
158146, 157syl 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 ) )
159 oveq2 6082 . . . . . . . . . . 11  |-  ( n  =  k  ->  ( A  / L n )  =  ( A  / L k ) )
160159, 149oveq12d 6092 . . . . . . . . . 10  |-  ( n  =  k  ->  (
( A  / L
n ) ^ (
n  pCnt  N )
)  =  ( ( A  / L k ) ^ ( k 
pCnt  N ) ) )
161147, 160, 151ifbieq12d 3754 . . . . . . . . 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 ) )
162 ovex 6099 . . . . . . . . . 10  |-  ( ( A  / L k ) ^ ( k 
pCnt  N ) )  e. 
_V
163162, 155ifex 3790 . . . . . . . . 9  |-  if ( k  e.  Prime ,  ( ( A  / L
k ) ^ (
k  pCnt  N )
) ,  1 )  e.  _V
164161, 96, 163fvmpt 5799 . . . . . . . 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 ) )
165146, 164syl 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 ) )
166 oveq2 6082 . . . . . . . . . . 11  |-  ( n  =  k  ->  ( B  / L n )  =  ( B  / L k ) )
167166, 149oveq12d 6092 . . . . . . . . . 10  |-  ( n  =  k  ->  (
( B  / L
n ) ^ (
n  pCnt  N )
)  =  ( ( B  / L k ) ^ ( k 
pCnt  N ) ) )
168147, 167, 151ifbieq12d 3754 . . . . . . . . 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 ) )
169 ovex 6099 . . . . . . . . . 10  |-  ( ( B  / L k ) ^ ( k 
pCnt  N ) )  e. 
_V
170169, 155ifex 3790 . . . . . . . . 9  |-  if ( k  e.  Prime ,  ( ( B  / L
k ) ^ (
k  pCnt  N )
) ,  1 )  e.  _V
171168, 104, 170fvmpt 5799 . . . . . . . 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 ) )
172146, 171syl 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 ) )
173165, 172oveq12d 6092 . . . . . 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 ) ) )
174145, 158, 1733eqtr4d 2478 . . . . 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
) ) )
17583, 85, 87, 92, 102, 109, 174seqcaopr 11353 . . . 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 ) ) ) )
17681, 175oveq12d 6092 . . 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 ) ) ) ) )
17730adantr 452 . . . 4  |-  ( ( ( ( A  e.  ZZ  /\  B  e.  ZZ  /\  N  e.  ZZ )  /\  ( A  =/=  0  /\  B  =/=  0 ) )  /\  N  =/=  0 )  -> 
( A  x.  B
)  e.  ZZ )
178153lgsval4 21093 . . . 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 ) ) ) )
179177, 94, 95, 178syl3anc 1184 . . 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 ) ) ) )
18096lgsval4 21093 . . . . . 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 ) ) ) )
18193, 94, 95, 180syl3anc 1184 . . . . 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 ) ) ) )
182104lgsval4 21093 . . . . . 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 ) ) ) )
183103, 94, 95, 182syl3anc 1184 . . . . 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 ) ) ) )
184181, 183oveq12d 6092 . . . 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 ) ) ) ) )
185 neg1cn 10060 . . . . . . 7  |-  -u 1  e.  CC
186185, 1keepel 3789 . . . . . 6  |-  if ( ( N  <  0  /\  A  <  0
) ,  -u 1 ,  1 )  e.  CC
187186a1i 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 )
188 mulcl 9067 . . . . . . 7  |-  ( ( k  e.  CC  /\  x  e.  CC )  ->  ( k  x.  x
)  e.  CC )
189188adantl 453 . . . . . 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 )
19092, 102, 189seqcl 11336 . . . . 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 )
191185, 1keepel 3789 . . . . . 6  |-  if ( ( N  <  0  /\  B  <  0
) ,  -u 1 ,  1 )  e.  CC
192191a1i 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 )
19392, 109, 189seqcl 11336 . . . . 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 )
194187, 190, 192, 193mul4d 9271 . . . 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 ) ) ) ) )
195184, 194eqtrd 2468 . . 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 ) ) ) ) )
196176, 179, 1953eqtr4d 2478 . 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 ) ) )
19779, 196pm2.61dane 2677 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 set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    \/ wo 358    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725    =/= wne 2599   ifcif 3732   class class class wbr 4205    e. cmpt 4259   -->wf 5443   ` cfv 5447  (class class class)co 6074   CCcc 8981   RRcr 8982   0cc0 8983   1c1 8984    x. cmul 8988    < clt 9113    <_ cle 9114   -ucneg 9285   NNcn 9993   2c2 10042   NN0cn0 10214   ZZcz 10275   ZZ>=cuz 10481   ...cfz 11036    seq cseq 11316   ^cexp 11375   abscabs 12032    || cdivides 12845   Primecprime 13072    pCnt cpc 13203    / Lclgs 21071
This theorem is referenced by:  lgssq  21112  lgsdirnn0  21116  lgsquad2lem1  21135
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-rep 4313  ax-sep 4323  ax-nul 4331  ax-pow 4370  ax-pr 4396  ax-un 4694  ax-cnex 9039  ax-resscn 9040  ax-1cn 9041  ax-icn 9042  ax-addcl 9043  ax-addrcl 9044  ax-mulcl 9045  ax-mulrcl 9046  ax-mulcom 9047  ax-addass 9048  ax-mulass 9049  ax-distr 9050  ax-i2m1 9051  ax-1ne0 9052  ax-1rid 9053  ax-rnegex 9054  ax-rrecex 9055  ax-cnre 9056  ax-pre-lttri 9057  ax-pre-lttrn 9058  ax-pre-ltadd 9059  ax-pre-mulgt0 9060  ax-pre-sup 9061
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-nel 2602  df-ral 2703  df-rex 2704  df-reu 2705  df-rmo 2706  df-rab 2707  df-v 2951  df-sbc 3155  df-csb 3245  df-dif 3316  df-un 3318  df-in 3320  df-ss 3327  df-pss 3329  df-nul 3622  df-if 3733  df-pw 3794  df-sn 3813  df-pr 3814  df-tp 3815  df-op 3816  df-uni 4009  df-int 4044  df-iun 4088  df-br 4206  df-opab 4260  df-mpt 4261  df-tr 4296  df-eprel 4487  df-id 4491  df-po 4496  df-so 4497  df-fr 4534  df-we 4536  df-ord 4577  df-on 4578  df-lim 4579  df-suc 4580  df-om 4839  df-xp 4877  df-rel 4878  df-cnv 4879  df-co 4880  df-dm 4881  df-rn 4882  df-res 4883  df-ima 4884  df-iota 5411  df-fun 5449  df-fn 5450  df-f 5451  df-f1 5452  df-fo 5453  df-f1o 5454  df-fv 5455  df-ov 6077  df-oprab 6078  df-mpt2 6079  df-1st 6342  df-2nd 6343  df-riota 6542  df-recs 6626  df-rdg 6661  df-1o 6717  df-2o 6718  df-oadd 6721  df-er 6898  df-map 7013  df-en 7103  df-dom 7104  df-sdom 7105  df-fin 7106  df-sup 7439  df-card 7819  df-cda 8041  df-pnf 9115  df-mnf 9116  df-xr 9117  df-ltxr 9118  df-le 9119  df-sub 9286  df-neg 9287  df-div 9671  df-nn 9994  df-2 10051  df-3 10052  df-4 10053  df-5 10054  df-6 10055  df-7 10056  df-8 10057  df-9 10058  df-n0 10215  df-z 10276  df-uz 10482  df-q 10568  df-rp 10606  df-fz 11037  df-fzo 11129  df-fl 11195  df-mod 11244  df-seq 11317  df-exp 11376  df-hash 11612  df-cj 11897  df-re 11898  df-im 11899  df-sqr 12033  df-abs 12034  df-dvds 12846  df-gcd 13000  df-prm 13073  df-phi 13148  df-pc 13204  df-lgs 21072
  Copyright terms: Public domain W3C validator