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

Theorem pceulem 12898
Description: Lemma for pceu 12899. (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 449 . . . . . . . . . 10  |-  ( ph  ->  y  e.  NN )
32nncnd 9762 . . . . . . . . 9  |-  ( ph  ->  y  e.  CC )
4 pceu.9 . . . . . . . . . . 11  |-  ( ph  ->  ( s  e.  ZZ  /\  t  e.  NN ) )
54simpld 445 . . . . . . . . . 10  |-  ( ph  ->  s  e.  ZZ )
65zcnd 10118 . . . . . . . . 9  |-  ( ph  ->  s  e.  CC )
73, 6mulcomd 8856 . . . . . . . 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 2317 . . . . . . . . 9  |-  ( ph  ->  ( s  /  t
)  =  ( x  /  y ) )
114simprd 449 . . . . . . . . . . 11  |-  ( ph  ->  t  e.  NN )
1211nncnd 9762 . . . . . . . . . 10  |-  ( ph  ->  t  e.  CC )
131simpld 445 . . . . . . . . . . 11  |-  ( ph  ->  x  e.  ZZ )
1413zcnd 10118 . . . . . . . . . 10  |-  ( ph  ->  x  e.  CC )
1511nnne0d 9790 . . . . . . . . . 10  |-  ( ph  ->  t  =/=  0 )
162nnne0d 9790 . . . . . . . . . 10  |-  ( ph  ->  y  =/=  0 )
176, 12, 14, 3, 15, 16divmuleqd 9582 . . . . . . . . 9  |-  ( ph  ->  ( ( s  / 
t )  =  ( x  /  y )  <-> 
( s  x.  y
)  =  ( x  x.  t ) ) )
1810, 17mpbid 201 . . . . . . . 8  |-  ( ph  ->  ( s  x.  y
)  =  ( x  x.  t ) )
197, 18eqtrd 2315 . . . . . . 7  |-  ( ph  ->  ( y  x.  s
)  =  ( x  x.  t ) )
2019breq2d 4035 . . . . . 6  |-  ( ph  ->  ( ( P ^
z )  ||  (
y  x.  s )  <-> 
( P ^ z
)  ||  ( x  x.  t ) ) )
2120rabbidv 2780 . . . . 5  |-  ( ph  ->  { z  e.  NN0  |  ( P ^ z
)  ||  ( y  x.  s ) }  =  { z  e.  NN0  |  ( P ^ z
)  ||  ( x  x.  t ) } )
22 oveq2 5866 . . . . . . 7  |-  ( n  =  z  ->  ( P ^ n )  =  ( P ^ z
) )
2322breq1d 4033 . . . . . 6  |-  ( n  =  z  ->  (
( P ^ n
)  ||  ( y  x.  s )  <->  ( P ^ z )  ||  ( y  x.  s
) ) )
2423cbvrabv 2787 . . . . 5  |-  { n  e.  NN0  |  ( P ^ n )  ||  ( y  x.  s
) }  =  {
z  e.  NN0  | 
( P ^ z
)  ||  ( y  x.  s ) }
2522breq1d 4033 . . . . . 6  |-  ( n  =  z  ->  (
( P ^ n
)  ||  ( x  x.  t )  <->  ( P ^ z )  ||  ( x  x.  t
) ) )
2625cbvrabv 2787 . . . . 5  |-  { n  e.  NN0  |  ( P ^ n )  ||  ( x  x.  t
) }  =  {
z  e.  NN0  | 
( P ^ z
)  ||  ( x  x.  t ) }
2721, 24, 263eqtr4g 2340 . . . 4  |-  ( ph  ->  { n  e.  NN0  |  ( P ^ n
)  ||  ( y  x.  s ) }  =  { n  e.  NN0  |  ( P ^ n
)  ||  ( x  x.  t ) } )
2827supeq1d 7199 . . 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 10116 . . . 4  |-  ( ph  ->  y  e.  ZZ )
31 pceu.6 . . . . 5  |-  ( ph  ->  N  =/=  0 )
3212, 15div0d 9535 . . . . . . . 8  |-  ( ph  ->  ( 0  /  t
)  =  0 )
33 oveq1 5865 . . . . . . . . 9  |-  ( s  =  0  ->  (
s  /  t )  =  ( 0  / 
t ) )
3433eqeq1d 2291 . . . . . . . 8  |-  ( s  =  0  ->  (
( s  /  t
)  =  0  <->  (
0  /  t )  =  0 ) )
3532, 34syl5ibrcom 213 . . . . . . 7  |-  ( ph  ->  ( s  =  0  ->  ( s  / 
t )  =  0 ) )
368eqeq1d 2291 . . . . . . 7  |-  ( ph  ->  ( N  =  0  <-> 
( s  /  t
)  =  0 ) )
3735, 36sylibrd 225 . . . . . 6  |-  ( ph  ->  ( s  =  0  ->  N  =  0 ) )
3837necon3d 2484 . . . . 5  |-  ( ph  ->  ( N  =/=  0  ->  s  =/=  0 ) )
3931, 38mpd 14 . . . 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 2283 . . . . 5  |-  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( y  x.  s ) } ,  RR ,  <  )  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  ( y  x.  s
) } ,  RR ,  <  )
4340, 41, 42pcpremul 12896 . . . 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 1191 . . 3  |-  ( ph  ->  ( T  +  U
)  =  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( y  x.  s ) } ,  RR ,  <  ) )
453, 16div0d 9535 . . . . . . . 8  |-  ( ph  ->  ( 0  /  y
)  =  0 )
46 oveq1 5865 . . . . . . . . 9  |-  ( x  =  0  ->  (
x  /  y )  =  ( 0  / 
y ) )
4746eqeq1d 2291 . . . . . . . 8  |-  ( x  =  0  ->  (
( x  /  y
)  =  0  <->  (
0  /  y )  =  0 ) )
4845, 47syl5ibrcom 213 . . . . . . 7  |-  ( ph  ->  ( x  =  0  ->  ( x  / 
y )  =  0 ) )
499eqeq1d 2291 . . . . . . 7  |-  ( ph  ->  ( N  =  0  <-> 
( x  /  y
)  =  0 ) )
5048, 49sylibrd 225 . . . . . 6  |-  ( ph  ->  ( x  =  0  ->  N  =  0 ) )
5150necon3d 2484 . . . . 5  |-  ( ph  ->  ( N  =/=  0  ->  x  =/=  0 ) )
5231, 51mpd 14 . . . 4  |-  ( ph  ->  x  =/=  0 )
5311nnzd 10116 . . . 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 2283 . . . . 5  |-  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( x  x.  t ) } ,  RR ,  <  )  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  ( x  x.  t
) } ,  RR ,  <  )
5754, 55, 56pcpremul 12896 . . . 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 1191 . . 3  |-  ( ph  ->  ( S  +  V
)  =  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  ( x  x.  t ) } ,  RR ,  <  ) )
5928, 44, 583eqtr4d 2325 . 2  |-  ( ph  ->  ( T  +  U
)  =  ( S  +  V ) )
60 prmuz2 12776 . . . . . 6  |-  ( P  e.  Prime  ->  P  e.  ( ZZ>= `  2 )
)
6129, 60syl 15 . . . . 5  |-  ( ph  ->  P  e.  ( ZZ>= ` 
2 ) )
62 eqid 2283 . . . . . . 7  |-  { n  e.  NN0  |  ( P ^ n )  ||  y }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  y }
6362, 40pcprecl 12892 . . . . . 6  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
y  e.  ZZ  /\  y  =/=  0 ) )  ->  ( T  e. 
NN0  /\  ( P ^ T )  ||  y
) )
6463simpld 445 . . . . 5  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
y  e.  ZZ  /\  y  =/=  0 ) )  ->  T  e.  NN0 )
6561, 30, 16, 64syl12anc 1180 . . . 4  |-  ( ph  ->  T  e.  NN0 )
6665nn0cnd 10020 . . 3  |-  ( ph  ->  T  e.  CC )
67 eqid 2283 . . . . . . 7  |-  { n  e.  NN0  |  ( P ^ n )  ||  s }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  s }
6867, 41pcprecl 12892 . . . . . 6  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
s  e.  ZZ  /\  s  =/=  0 ) )  ->  ( U  e. 
NN0  /\  ( P ^ U )  ||  s
) )
6968simpld 445 . . . . 5  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
s  e.  ZZ  /\  s  =/=  0 ) )  ->  U  e.  NN0 )
7061, 5, 39, 69syl12anc 1180 . . . 4  |-  ( ph  ->  U  e.  NN0 )
7170nn0cnd 10020 . . 3  |-  ( ph  ->  U  e.  CC )
72 eqid 2283 . . . . . . 7  |-  { n  e.  NN0  |  ( P ^ n )  ||  x }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  x }
7372, 54pcprecl 12892 . . . . . 6  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
x  e.  ZZ  /\  x  =/=  0 ) )  ->  ( S  e. 
NN0  /\  ( P ^ S )  ||  x
) )
7473simpld 445 . . . . 5  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
x  e.  ZZ  /\  x  =/=  0 ) )  ->  S  e.  NN0 )
7561, 13, 52, 74syl12anc 1180 . . . 4  |-  ( ph  ->  S  e.  NN0 )
7675nn0cnd 10020 . . 3  |-  ( ph  ->  S  e.  CC )
77 eqid 2283 . . . . . . 7  |-  { n  e.  NN0  |  ( P ^ n )  ||  t }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  t }
7877, 55pcprecl 12892 . . . . . 6  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
t  e.  ZZ  /\  t  =/=  0 ) )  ->  ( V  e. 
NN0  /\  ( P ^ V )  ||  t
) )
7978simpld 445 . . . . 5  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
t  e.  ZZ  /\  t  =/=  0 ) )  ->  V  e.  NN0 )
8061, 53, 15, 79syl12anc 1180 . . . 4  |-  ( ph  ->  V  e.  NN0 )
8180nn0cnd 10020 . . 3  |-  ( ph  ->  V  e.  CC )
8266, 71, 76, 81addsubeq4d 9208 . 2  |-  ( ph  ->  ( ( T  +  U )  =  ( S  +  V )  <-> 
( S  -  T
)  =  ( U  -  V ) ) )
8359, 82mpbid 201 1  |-  ( ph  ->  ( S  -  T
)  =  ( U  -  V ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1623    e. wcel 1684    =/= wne 2446   {crab 2547   class class class wbr 4023   ` cfv 5255  (class class class)co 5858   supcsup 7193   RRcr 8736   0cc0 8737    + caddc 8740    x. cmul 8742    < clt 8867    - cmin 9037    / cdiv 9423   NNcn 9746   2c2 9795   NN0cn0 9965   ZZcz 10024   ZZ>=cuz 10230   ^cexp 11104    || cdivides 12531   Primecprime 12758
This theorem is referenced by:  pceu  12899
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-pre-sup 8815
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-2o 6480  df-oadd 6483  df-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-sup 7194  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-3 9805  df-n0 9966  df-z 10025  df-uz 10231  df-rp 10355  df-fl 10925  df-mod 10974  df-seq 11047  df-exp 11105  df-cj 11584  df-re 11585  df-im 11586  df-sqr 11720  df-abs 11721  df-dvds 12532  df-gcd 12686  df-prm 12759
  Copyright terms: Public domain W3C validator