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

Theorem pceulem 13224
Description: Lemma for pceu 13225. (Contributed by Mario Carneiro, 23-Feb-2014.)
Hypotheses
Ref Expression
pcval.1  |-  S  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  x } ,  RR ,  <  )
pcval.2  |-  T  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  y } ,  RR ,  <  )
pceu.3  |-  U  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )
pceu.4  |-  V  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  )
pceu.5  |-  ( ph  ->  P  e.  Prime )
pceu.6  |-  ( ph  ->  N  =/=  0 )
pceu.7  |-  ( ph  ->  ( x  e.  ZZ  /\  y  e.  NN ) )
pceu.8  |-  ( ph  ->  N  =  ( x  /  y ) )
pceu.9  |-  ( ph  ->  ( s  e.  ZZ  /\  t  e.  NN ) )
pceu.10  |-  ( ph  ->  N  =  ( s  /  t ) )
Assertion
Ref Expression
pceulem  |-  ( ph  ->  ( S  -  T
)  =  ( U  -  V ) )
Distinct variable groups:    n, s,
t, x, y, N    P, n, s, t, x, y    S, s, t    T, s, t
Allowed substitution hints:    ph( x, y, t, n, s)    S( x, y, n)    T( x, y, n)    U( x, y, t, n, s)    V( x, y, t, n, s)

Proof of Theorem pceulem
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 pceu.7 . . . . . . . . . . 11  |-  ( ph  ->  ( x  e.  ZZ  /\  y  e.  NN ) )
21simprd 451 . . . . . . . . . 10  |-  ( ph  ->  y  e.  NN )
32nncnd 10021 . . . . . . . . 9  |-  ( ph  ->  y  e.  CC )
4 pceu.9 . . . . . . . . . . 11  |-  ( ph  ->  ( s  e.  ZZ  /\  t  e.  NN ) )
54simpld 447 . . . . . . . . . 10  |-  ( ph  ->  s  e.  ZZ )
65zcnd 10381 . . . . . . . . 9  |-  ( ph  ->  s  e.  CC )
73, 6mulcomd 9114 . . . . . . . 8  |-  ( ph  ->  ( y  x.  s
)  =  ( s  x.  y ) )
8 pceu.10 . . . . . . . . . 10  |-  ( ph  ->  N  =  ( s  /  t ) )
9 pceu.8 . . . . . . . . . 10  |-  ( ph  ->  N  =  ( x  /  y ) )
108, 9eqtr3d 2472 . . . . . . . . 9  |-  ( ph  ->  ( s  /  t
)  =  ( x  /  y ) )
114simprd 451 . . . . . . . . . . 11  |-  ( ph  ->  t  e.  NN )
1211nncnd 10021 . . . . . . . . . 10  |-  ( ph  ->  t  e.  CC )
131simpld 447 . . . . . . . . . . 11  |-  ( ph  ->  x  e.  ZZ )
1413zcnd 10381 . . . . . . . . . 10  |-  ( ph  ->  x  e.  CC )
1511nnne0d 10049 . . . . . . . . . 10  |-  ( ph  ->  t  =/=  0 )
162nnne0d 10049 . . . . . . . . . 10  |-  ( ph  ->  y  =/=  0 )
176, 12, 14, 3, 15, 16divmuleqd 9841 . . . . . . . . 9  |-  ( ph  ->  ( ( s  / 
t )  =  ( x  /  y )  <-> 
( s  x.  y
)  =  ( x  x.  t ) ) )
1810, 17mpbid 203 . . . . . . . 8  |-  ( ph  ->  ( s  x.  y
)  =  ( x  x.  t ) )
197, 18eqtrd 2470 . . . . . . 7  |-  ( ph  ->  ( y  x.  s
)  =  ( x  x.  t ) )
2019breq2d 4227 . . . . . 6  |-  ( ph  ->  ( ( P ^
z )  ||  (
y  x.  s )  <-> 
( P ^ z
)  ||  ( x  x.  t ) ) )
2120rabbidv 2950 . . . . 5  |-  ( ph  ->  { z  e.  NN0  |  ( P ^ z
)  ||  ( y  x.  s ) }  =  { z  e.  NN0  |  ( P ^ z
)  ||  ( x  x.  t ) } )
22 oveq2 6092 . . . . . . 7  |-  ( n  =  z  ->  ( P ^ n )  =  ( P ^ z
) )
2322breq1d 4225 . . . . . 6  |-  ( n  =  z  ->  (
( P ^ n
)  ||  ( y  x.  s )  <->  ( P ^ z )  ||  ( y  x.  s
) ) )
2423cbvrabv 2957 . . . . 5  |-  { n  e.  NN0  |  ( P ^ n )  ||  ( y  x.  s
) }  =  {
z  e.  NN0  | 
( P ^ z
)  ||  ( y  x.  s ) }
2522breq1d 4225 . . . . . 6  |-  ( n  =  z  ->  (
( P ^ n
)  ||  ( x  x.  t )  <->  ( P ^ z )  ||  ( x  x.  t
) ) )
2625cbvrabv 2957 . . . . 5  |-  { n  e.  NN0  |  ( P ^ n )  ||  ( x  x.  t
) }  =  {
z  e.  NN0  | 
( P ^ z
)  ||  ( x  x.  t ) }
2721, 24, 263eqtr4g 2495 . . . 4  |-  ( ph  ->  { n  e.  NN0  |  ( P ^ n
)  ||  ( y  x.  s ) }  =  { n  e.  NN0  |  ( P ^ n
)  ||  ( x  x.  t ) } )
2827supeq1d 7454 . . 3  |-  ( ph  ->  sup ( { n  e.  NN0  |  ( P ^ n )  ||  ( y  x.  s
) } ,  RR ,  <  )  =  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( x  x.  t ) } ,  RR ,  <  ) )
29 pceu.5 . . . 4  |-  ( ph  ->  P  e.  Prime )
302nnzd 10379 . . . 4  |-  ( ph  ->  y  e.  ZZ )
31 pceu.6 . . . . 5  |-  ( ph  ->  N  =/=  0 )
3212, 15div0d 9794 . . . . . . . 8  |-  ( ph  ->  ( 0  /  t
)  =  0 )
33 oveq1 6091 . . . . . . . . 9  |-  ( s  =  0  ->  (
s  /  t )  =  ( 0  / 
t ) )
3433eqeq1d 2446 . . . . . . . 8  |-  ( s  =  0  ->  (
( s  /  t
)  =  0  <->  (
0  /  t )  =  0 ) )
3532, 34syl5ibrcom 215 . . . . . . 7  |-  ( ph  ->  ( s  =  0  ->  ( s  / 
t )  =  0 ) )
368eqeq1d 2446 . . . . . . 7  |-  ( ph  ->  ( N  =  0  <-> 
( s  /  t
)  =  0 ) )
3735, 36sylibrd 227 . . . . . 6  |-  ( ph  ->  ( s  =  0  ->  N  =  0 ) )
3837necon3d 2641 . . . . 5  |-  ( ph  ->  ( N  =/=  0  ->  s  =/=  0 ) )
3931, 38mpd 15 . . . 4  |-  ( ph  ->  s  =/=  0 )
40 pcval.2 . . . . 5  |-  T  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  y } ,  RR ,  <  )
41 pceu.3 . . . . 5  |-  U  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )
42 eqid 2438 . . . . 5  |-  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( y  x.  s ) } ,  RR ,  <  )  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  ( y  x.  s
) } ,  RR ,  <  )
4340, 41, 42pcpremul 13222 . . . 4  |-  ( ( P  e.  Prime  /\  (
y  e.  ZZ  /\  y  =/=  0 )  /\  ( s  e.  ZZ  /\  s  =/=  0 ) )  ->  ( T  +  U )  =  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( y  x.  s ) } ,  RR ,  <  ) )
4429, 30, 16, 5, 39, 43syl122anc 1194 . . 3  |-  ( ph  ->  ( T  +  U
)  =  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( y  x.  s ) } ,  RR ,  <  ) )
453, 16div0d 9794 . . . . . . . 8  |-  ( ph  ->  ( 0  /  y
)  =  0 )
46 oveq1 6091 . . . . . . . . 9  |-  ( x  =  0  ->  (
x  /  y )  =  ( 0  / 
y ) )
4746eqeq1d 2446 . . . . . . . 8  |-  ( x  =  0  ->  (
( x  /  y
)  =  0  <->  (
0  /  y )  =  0 ) )
4845, 47syl5ibrcom 215 . . . . . . 7  |-  ( ph  ->  ( x  =  0  ->  ( x  / 
y )  =  0 ) )
499eqeq1d 2446 . . . . . . 7  |-  ( ph  ->  ( N  =  0  <-> 
( x  /  y
)  =  0 ) )
5048, 49sylibrd 227 . . . . . 6  |-  ( ph  ->  ( x  =  0  ->  N  =  0 ) )
5150necon3d 2641 . . . . 5  |-  ( ph  ->  ( N  =/=  0  ->  x  =/=  0 ) )
5231, 51mpd 15 . . . 4  |-  ( ph  ->  x  =/=  0 )
5311nnzd 10379 . . . 4  |-  ( ph  ->  t  e.  ZZ )
54 pcval.1 . . . . 5  |-  S  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  x } ,  RR ,  <  )
55 pceu.4 . . . . 5  |-  V  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  )
56 eqid 2438 . . . . 5  |-  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( x  x.  t ) } ,  RR ,  <  )  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  ( x  x.  t
) } ,  RR ,  <  )
5754, 55, 56pcpremul 13222 . . . 4  |-  ( ( P  e.  Prime  /\  (
x  e.  ZZ  /\  x  =/=  0 )  /\  ( t  e.  ZZ  /\  t  =/=  0 ) )  ->  ( S  +  V )  =  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( x  x.  t ) } ,  RR ,  <  ) )
5829, 13, 52, 53, 15, 57syl122anc 1194 . . 3  |-  ( ph  ->  ( S  +  V
)  =  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( x  x.  t ) } ,  RR ,  <  ) )
5928, 44, 583eqtr4d 2480 . 2  |-  ( ph  ->  ( T  +  U
)  =  ( S  +  V ) )
60 prmuz2 13102 . . . . . 6  |-  ( P  e.  Prime  ->  P  e.  ( ZZ>= `  2 )
)
6129, 60syl 16 . . . . 5  |-  ( ph  ->  P  e.  ( ZZ>= ` 
2 ) )
62 eqid 2438 . . . . . . 7  |-  { n  e.  NN0  |  ( P ^ n )  ||  y }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  y }
6362, 40pcprecl 13218 . . . . . 6  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
y  e.  ZZ  /\  y  =/=  0 ) )  ->  ( T  e. 
NN0  /\  ( P ^ T )  ||  y
) )
6463simpld 447 . . . . 5  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
y  e.  ZZ  /\  y  =/=  0 ) )  ->  T  e.  NN0 )
6561, 30, 16, 64syl12anc 1183 . . . 4  |-  ( ph  ->  T  e.  NN0 )
6665nn0cnd 10281 . . 3  |-  ( ph  ->  T  e.  CC )
67 eqid 2438 . . . . . . 7  |-  { n  e.  NN0  |  ( P ^ n )  ||  s }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  s }
6867, 41pcprecl 13218 . . . . . 6  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
s  e.  ZZ  /\  s  =/=  0 ) )  ->  ( U  e. 
NN0  /\  ( P ^ U )  ||  s
) )
6968simpld 447 . . . . 5  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
s  e.  ZZ  /\  s  =/=  0 ) )  ->  U  e.  NN0 )
7061, 5, 39, 69syl12anc 1183 . . . 4  |-  ( ph  ->  U  e.  NN0 )
7170nn0cnd 10281 . . 3  |-  ( ph  ->  U  e.  CC )
72 eqid 2438 . . . . . . 7  |-  { n  e.  NN0  |  ( P ^ n )  ||  x }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  x }
7372, 54pcprecl 13218 . . . . . 6  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
x  e.  ZZ  /\  x  =/=  0 ) )  ->  ( S  e. 
NN0  /\  ( P ^ S )  ||  x
) )
7473simpld 447 . . . . 5  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
x  e.  ZZ  /\  x  =/=  0 ) )  ->  S  e.  NN0 )
7561, 13, 52, 74syl12anc 1183 . . . 4  |-  ( ph  ->  S  e.  NN0 )
7675nn0cnd 10281 . . 3  |-  ( ph  ->  S  e.  CC )
77 eqid 2438 . . . . . . 7  |-  { n  e.  NN0  |  ( P ^ n )  ||  t }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  t }
7877, 55pcprecl 13218 . . . . . 6  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
t  e.  ZZ  /\  t  =/=  0 ) )  ->  ( V  e. 
NN0  /\  ( P ^ V )  ||  t
) )
7978simpld 447 . . . . 5  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
t  e.  ZZ  /\  t  =/=  0 ) )  ->  V  e.  NN0 )
8061, 53, 15, 79syl12anc 1183 . . . 4  |-  ( ph  ->  V  e.  NN0 )
8180nn0cnd 10281 . . 3  |-  ( ph  ->  V  e.  CC )
8266, 71, 76, 81addsubeq4d 9467 . 2  |-  ( ph  ->  ( ( T  +  U )  =  ( S  +  V )  <-> 
( S  -  T
)  =  ( U  -  V ) ) )
8359, 82mpbid 203 1  |-  ( ph  ->  ( S  -  T
)  =  ( U  -  V ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 360    = wceq 1653    e. wcel 1726    =/= wne 2601   {crab 2711   class class class wbr 4215   ` cfv 5457  (class class class)co 6084   supcsup 7448   RRcr 8994   0cc0 8995    + caddc 8998    x. cmul 9000    < clt 9125    - cmin 9296    / cdiv 9682   NNcn 10005   2c2 10054   NN0cn0 10226   ZZcz 10287   ZZ>=cuz 10493   ^cexp 11387    || cdivides 12857   Primecprime 13084
This theorem is referenced by:  pceu  13225
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-sep 4333  ax-nul 4341  ax-pow 4380  ax-pr 4406  ax-un 4704  ax-cnex 9051  ax-resscn 9052  ax-1cn 9053  ax-icn 9054  ax-addcl 9055  ax-addrcl 9056  ax-mulcl 9057  ax-mulrcl 9058  ax-mulcom 9059  ax-addass 9060  ax-mulass 9061  ax-distr 9062  ax-i2m1 9063  ax-1ne0 9064  ax-1rid 9065  ax-rnegex 9066  ax-rrecex 9067  ax-cnre 9068  ax-pre-lttri 9069  ax-pre-lttrn 9070  ax-pre-ltadd 9071  ax-pre-mulgt0 9072  ax-pre-sup 9073
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2712  df-rex 2713  df-reu 2714  df-rmo 2715  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-pss 3338  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-tp 3824  df-op 3825  df-uni 4018  df-int 4053  df-iun 4097  df-br 4216  df-opab 4270  df-mpt 4271  df-tr 4306  df-eprel 4497  df-id 4501  df-po 4506  df-so 4507  df-fr 4544  df-we 4546  df-ord 4587  df-on 4588  df-lim 4589  df-suc 4590  df-om 4849  df-xp 4887  df-rel 4888  df-cnv 4889  df-co 4890  df-dm 4891  df-rn 4892  df-res 4893  df-ima 4894  df-iota 5421  df-fun 5459  df-fn 5460  df-f 5461  df-f1 5462  df-fo 5463  df-f1o 5464  df-fv 5465  df-ov 6087  df-oprab 6088  df-mpt2 6089  df-2nd 6353  df-riota 6552  df-recs 6636  df-rdg 6671  df-1o 6727  df-2o 6728  df-oadd 6731  df-er 6908  df-en 7113  df-dom 7114  df-sdom 7115  df-fin 7116  df-sup 7449  df-pnf 9127  df-mnf 9128  df-xr 9129  df-ltxr 9130  df-le 9131  df-sub 9298  df-neg 9299  df-div 9683  df-nn 10006  df-2 10063  df-3 10064  df-n0 10227  df-z 10288  df-uz 10494  df-rp 10618  df-fl 11207  df-mod 11256  df-seq 11329  df-exp 11388  df-cj 11909  df-re 11910  df-im 11911  df-sqr 12045  df-abs 12046  df-dvds 12858  df-gcd 13012  df-prm 13085
  Copyright terms: Public domain W3C validator