ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  pceu Unicode version

Theorem pceu 12223
Description: Uniqueness for the prime power function. (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 ,  <  )
Assertion
Ref Expression
pceu  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  ->  E! z E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) ) )
Distinct variable groups:    x, n, y, z, N    P, n, x, y, z    z, S   
z, T
Allowed substitution hints:    S( x, y, n)    T( x, y, n)

Proof of Theorem pceu
Dummy variables  s  t  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simprl 521 . . . 4  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  ->  N  e.  QQ )
2 elq 9556 . . . 4  |-  ( N  e.  QQ  <->  E. x  e.  ZZ  E. y  e.  NN  N  =  ( x  /  y ) )
31, 2sylib 121 . . 3  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  ->  E. x  e.  ZZ  E. y  e.  NN  N  =  ( x  / 
y ) )
4 simpr 109 . . . . . . . . . . 11  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  N  =  ( x  /  y
) )
5 simprr 522 . . . . . . . . . . . . 13  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  ->  N  =/=  0 )
65ad3antrrr 484 . . . . . . . . . . . 12  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  N  =/=  0 )
71ad3antrrr 484 . . . . . . . . . . . . 13  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  N  e.  QQ )
8 0z 9198 . . . . . . . . . . . . . 14  |-  0  e.  ZZ
9 zq 9560 . . . . . . . . . . . . . 14  |-  ( 0  e.  ZZ  ->  0  e.  QQ )
108, 9mp1i 10 . . . . . . . . . . . . 13  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  0  e.  QQ )
11 qapne 9573 . . . . . . . . . . . . 13  |-  ( ( N  e.  QQ  /\  0  e.  QQ )  ->  ( N #  0  <->  N  =/=  0 ) )
127, 10, 11syl2anc 409 . . . . . . . . . . . 12  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  ( N #  0 
<->  N  =/=  0 ) )
136, 12mpbird 166 . . . . . . . . . . 11  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  N #  0
)
144, 13eqbrtrrd 4005 . . . . . . . . . 10  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  ( x  /  y ) #  0 )
15 simpllr 524 . . . . . . . . . . . 12  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  x  e.  ZZ )
1615zcnd 9310 . . . . . . . . . . 11  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  x  e.  CC )
17 nnz 9206 . . . . . . . . . . . . . 14  |-  ( y  e.  NN  ->  y  e.  ZZ )
1817adantl 275 . . . . . . . . . . . . 13  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  y  e.  ZZ )
1918adantr 274 . . . . . . . . . . . 12  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  y  e.  ZZ )
2019zcnd 9310 . . . . . . . . . . 11  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  y  e.  CC )
21 simplr 520 . . . . . . . . . . . 12  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  y  e.  NN )
2221nnap0d 8899 . . . . . . . . . . 11  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  y #  0
)
2316, 20, 22divap0bd 8694 . . . . . . . . . 10  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  ( x #  0 
<->  ( x  /  y
) #  0 ) )
2414, 23mpbird 166 . . . . . . . . 9  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  x #  0
)
25 0zd 9199 . . . . . . . . . 10  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  0  e.  ZZ )
26 zapne 9261 . . . . . . . . . 10  |-  ( ( x  e.  ZZ  /\  0  e.  ZZ )  ->  ( x #  0  <->  x  =/=  0 ) )
2715, 25, 26syl2anc 409 . . . . . . . . 9  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  ( x #  0 
<->  x  =/=  0 ) )
2824, 27mpbid 146 . . . . . . . 8  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  N  =  ( x  /  y ) )  ->  x  =/=  0 )
2928ex 114 . . . . . . 7  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  ( N  =  ( x  /  y
)  ->  x  =/=  0 ) )
3029adantrd 277 . . . . . . . 8  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  ( ( N  =  ( x  / 
y )  /\  z  =  ( S  -  T ) )  ->  x  =/=  0 ) )
3130exlimdv 1807 . . . . . . 7  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  ( E. z
( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) )  ->  x  =/=  0 ) )
32 prmuz2 12059 . . . . . . . . . . . . . . 15  |-  ( P  e.  Prime  ->  P  e.  ( ZZ>= `  2 )
)
3332ad3antrrr 484 . . . . . . . . . . . . . 14  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  P  e.  (
ZZ>= `  2 ) )
3433adantr 274 . . . . . . . . . . . . 13  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  P  e.  ( ZZ>= `  2 )
)
35 simpllr 524 . . . . . . . . . . . . 13  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  x  e.  ZZ )
36 simpr 109 . . . . . . . . . . . . 13  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  x  =/=  0 )
37 eqid 2165 . . . . . . . . . . . . . . 15  |-  { n  e.  NN0  |  ( P ^ n )  ||  x }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  x }
38 pcval.1 . . . . . . . . . . . . . . 15  |-  S  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  x } ,  RR ,  <  )
3937, 38pcprecl 12217 . . . . . . . . . . . . . 14  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
x  e.  ZZ  /\  x  =/=  0 ) )  ->  ( S  e. 
NN0  /\  ( P ^ S )  ||  x
) )
4039simpld 111 . . . . . . . . . . . . 13  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
x  e.  ZZ  /\  x  =/=  0 ) )  ->  S  e.  NN0 )
4134, 35, 36, 40syl12anc 1226 . . . . . . . . . . . 12  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  S  e.  NN0 )
4241nn0zd 9307 . . . . . . . . . . 11  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  S  e.  ZZ )
43 nnne0 8881 . . . . . . . . . . . . . . . 16  |-  ( y  e.  NN  ->  y  =/=  0 )
4443adantl 275 . . . . . . . . . . . . . . 15  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  y  =/=  0
)
45 eqid 2165 . . . . . . . . . . . . . . . 16  |-  { n  e.  NN0  |  ( P ^ n )  ||  y }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  y }
46 pcval.2 . . . . . . . . . . . . . . . 16  |-  T  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  y } ,  RR ,  <  )
4745, 46pcprecl 12217 . . . . . . . . . . . . . . 15  |-  ( ( P  e.  ( ZZ>= ` 
2 )  /\  (
y  e.  ZZ  /\  y  =/=  0 ) )  ->  ( T  e. 
NN0  /\  ( P ^ T )  ||  y
) )
4833, 18, 44, 47syl12anc 1226 . . . . . . . . . . . . . 14  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  ( T  e. 
NN0  /\  ( P ^ T )  ||  y
) )
4948simpld 111 . . . . . . . . . . . . 13  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  T  e.  NN0 )
5049adantr 274 . . . . . . . . . . . 12  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  T  e.  NN0 )
5150nn0zd 9307 . . . . . . . . . . 11  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  T  e.  ZZ )
5242, 51zsubcld 9314 . . . . . . . . . 10  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  ( S  -  T )  e.  ZZ )
53 biidd 171 . . . . . . . . . . 11  |-  ( z  =  ( S  -  T )  ->  ( N  =  ( x  /  y )  <->  N  =  ( x  /  y
) ) )
5453ceqsexgv 2854 . . . . . . . . . 10  |-  ( ( S  -  T )  e.  ZZ  ->  ( E. z ( z  =  ( S  -  T
)  /\  N  =  ( x  /  y
) )  <->  N  =  ( x  /  y
) ) )
5552, 54syl 14 . . . . . . . . 9  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  ( E. z ( z  =  ( S  -  T
)  /\  N  =  ( x  /  y
) )  <->  N  =  ( x  /  y
) ) )
56 exancom 1596 . . . . . . . . 9  |-  ( E. z ( z  =  ( S  -  T
)  /\  N  =  ( x  /  y
) )  <->  E. z
( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )
5755, 56bitr3di 194 . . . . . . . 8  |-  ( ( ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  /\  x  =/=  0
)  ->  ( N  =  ( x  / 
y )  <->  E. z
( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) ) )
5857ex 114 . . . . . . 7  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  ( x  =/=  0  ->  ( N  =  ( x  / 
y )  <->  E. z
( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) ) ) )
5929, 31, 58pm5.21ndd 695 . . . . . 6  |-  ( ( ( ( P  e. 
Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  /\  y  e.  NN )  ->  ( N  =  ( x  /  y
)  <->  E. z ( N  =  ( x  / 
y )  /\  z  =  ( S  -  T ) ) ) )
6059rexbidva 2462 . . . . 5  |-  ( ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  /\  x  e.  ZZ )  ->  ( E. y  e.  NN  N  =  ( x  /  y )  <->  E. y  e.  NN  E. z ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) ) )
6160rexbidva 2462 . . . 4  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  -> 
( E. x  e.  ZZ  E. y  e.  NN  N  =  ( x  /  y )  <->  E. x  e.  ZZ  E. y  e.  NN  E. z ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) ) ) )
62 rexcom4 2748 . . . . . 6  |-  ( E. y  e.  NN  E. z ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) )  <->  E. z E. y  e.  NN  ( N  =  (
x  /  y )  /\  z  =  ( S  -  T ) ) )
6362rexbii 2472 . . . . 5  |-  ( E. x  e.  ZZ  E. y  e.  NN  E. z
( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) )  <->  E. x  e.  ZZ  E. z E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) ) )
64 rexcom4 2748 . . . . 5  |-  ( E. x  e.  ZZ  E. z E. y  e.  NN  ( N  =  (
x  /  y )  /\  z  =  ( S  -  T ) )  <->  E. z E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) ) )
6563, 64bitri 183 . . . 4  |-  ( E. x  e.  ZZ  E. y  e.  NN  E. z
( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) )  <->  E. z E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) ) )
6661, 65bitrdi 195 . . 3  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  -> 
( E. x  e.  ZZ  E. y  e.  NN  N  =  ( x  /  y )  <->  E. z E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) ) ) )
673, 66mpbid 146 . 2  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  ->  E. z E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) ) )
68 eqid 2165 . . . . . . . . . . 11  |-  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )
69 eqid 2165 . . . . . . . . . . 11  |-  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  )
70 simp11l 1098 . . . . . . . . . . 11  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  P  e.  Prime )
71 simp11r 1099 . . . . . . . . . . 11  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  N  =/=  0
)
72 simp12 1018 . . . . . . . . . . 11  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  ( x  e.  ZZ  /\  y  e.  NN ) )
73 simp13l 1102 . . . . . . . . . . 11  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  N  =  ( x  /  y ) )
74 simp2 988 . . . . . . . . . . 11  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  ( s  e.  ZZ  /\  t  e.  NN ) )
75 simp3l 1015 . . . . . . . . . . 11  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  N  =  ( s  /  t ) )
7638, 46, 68, 69, 70, 71, 72, 73, 74, 75pceulem 12222 . . . . . . . . . 10  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  ( S  -  T )  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) )
77 simp13r 1103 . . . . . . . . . 10  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  z  =  ( S  -  T ) )
78 simp3r 1016 . . . . . . . . . 10  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) )
7976, 77, 783eqtr4d 2208 . . . . . . . . 9  |-  ( ( ( ( P  e. 
Prime  /\  N  =/=  0
)  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  /\  ( s  e.  ZZ  /\  t  e.  NN )  /\  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) ) )  ->  z  =  w )
80793exp 1192 . . . . . . . 8  |-  ( ( ( P  e.  Prime  /\  N  =/=  0 )  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  ->  ( ( s  e.  ZZ  /\  t  e.  NN )  ->  (
( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) )  ->  z  =  w ) ) )
8180rexlimdvv 2589 . . . . . . 7  |-  ( ( ( P  e.  Prime  /\  N  =/=  0 )  /\  ( x  e.  ZZ  /\  y  e.  NN )  /\  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) ) )  ->  ( E. s  e.  ZZ  E. t  e.  NN  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) )  ->  z  =  w ) )
82813exp 1192 . . . . . 6  |-  ( ( P  e.  Prime  /\  N  =/=  0 )  ->  (
( x  e.  ZZ  /\  y  e.  NN )  ->  ( ( N  =  ( x  / 
y )  /\  z  =  ( S  -  T ) )  -> 
( E. s  e.  ZZ  E. t  e.  NN  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) )  ->  z  =  w ) ) ) )
8382adantrl 470 . . . . 5  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  -> 
( ( x  e.  ZZ  /\  y  e.  NN )  ->  (
( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) )  ->  ( E. s  e.  ZZ  E. t  e.  NN  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) )  ->  z  =  w ) ) ) )
8483rexlimdvv 2589 . . . 4  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  -> 
( E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) )  ->  ( E. s  e.  ZZ  E. t  e.  NN  ( N  =  ( s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) )  -> 
z  =  w ) ) )
8584impd 252 . . 3  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  -> 
( ( E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) )  /\  E. s  e.  ZZ  E. t  e.  NN  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) ) )  -> 
z  =  w ) )
8685alrimivv 1863 . 2  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  ->  A. z A. w ( ( E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) )  /\  E. s  e.  ZZ  E. t  e.  NN  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) ) )  -> 
z  =  w ) )
87 eqeq1 2172 . . . . . 6  |-  ( z  =  w  ->  (
z  =  ( S  -  T )  <->  w  =  ( S  -  T
) ) )
8887anbi2d 460 . . . . 5  |-  ( z  =  w  ->  (
( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) )  <->  ( N  =  ( x  /  y
)  /\  w  =  ( S  -  T
) ) ) )
89882rexbidv 2490 . . . 4  |-  ( z  =  w  ->  ( E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) )  <->  E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  w  =  ( S  -  T
) ) ) )
90 oveq1 5848 . . . . . . . . 9  |-  ( x  =  s  ->  (
x  /  y )  =  ( s  / 
y ) )
9190eqeq2d 2177 . . . . . . . 8  |-  ( x  =  s  ->  ( N  =  ( x  /  y )  <->  N  =  ( s  /  y
) ) )
92 breq2 3985 . . . . . . . . . . . . 13  |-  ( x  =  s  ->  (
( P ^ n
)  ||  x  <->  ( P ^ n )  ||  s ) )
9392rabbidv 2714 . . . . . . . . . . . 12  |-  ( x  =  s  ->  { n  e.  NN0  |  ( P ^ n )  ||  x }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  s }
)
9493supeq1d 6948 . . . . . . . . . . 11  |-  ( x  =  s  ->  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  x } ,  RR ,  <  )  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  ) )
9538, 94syl5eq 2210 . . . . . . . . . 10  |-  ( x  =  s  ->  S  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  ) )
9695oveq1d 5856 . . . . . . . . 9  |-  ( x  =  s  ->  ( S  -  T )  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  T ) )
9796eqeq2d 2177 . . . . . . . 8  |-  ( x  =  s  ->  (
w  =  ( S  -  T )  <->  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  T ) ) )
9891, 97anbi12d 465 . . . . . . 7  |-  ( x  =  s  ->  (
( N  =  ( x  /  y )  /\  w  =  ( S  -  T ) )  <->  ( N  =  ( s  /  y
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  T ) ) ) )
9998rexbidv 2466 . . . . . 6  |-  ( x  =  s  ->  ( E. y  e.  NN  ( N  =  (
x  /  y )  /\  w  =  ( S  -  T ) )  <->  E. y  e.  NN  ( N  =  (
s  /  y )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  T ) ) ) )
100 oveq2 5849 . . . . . . . . 9  |-  ( y  =  t  ->  (
s  /  y )  =  ( s  / 
t ) )
101100eqeq2d 2177 . . . . . . . 8  |-  ( y  =  t  ->  ( N  =  ( s  /  y )  <->  N  =  ( s  /  t
) ) )
102 breq2 3985 . . . . . . . . . . . . 13  |-  ( y  =  t  ->  (
( P ^ n
)  ||  y  <->  ( P ^ n )  ||  t ) )
103102rabbidv 2714 . . . . . . . . . . . 12  |-  ( y  =  t  ->  { n  e.  NN0  |  ( P ^ n )  ||  y }  =  {
n  e.  NN0  | 
( P ^ n
)  ||  t }
)
104103supeq1d 6948 . . . . . . . . . . 11  |-  ( y  =  t  ->  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  y } ,  RR ,  <  )  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) )
10546, 104syl5eq 2210 . . . . . . . . . 10  |-  ( y  =  t  ->  T  =  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) )
106105oveq2d 5857 . . . . . . . . 9  |-  ( y  =  t  ->  ( sup ( { n  e. 
NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  T )  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n )  ||  t } ,  RR ,  <  ) ) )
107106eqeq2d 2177 . . . . . . . 8  |-  ( y  =  t  ->  (
w  =  ( sup ( { n  e. 
NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  T )  <-> 
w  =  ( sup ( { n  e. 
NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) ) )
108101, 107anbi12d 465 . . . . . . 7  |-  ( y  =  t  ->  (
( N  =  ( s  /  y )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  T ) )  <->  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) ) ) )
109108cbvrexvw 2696 . . . . . 6  |-  ( E. y  e.  NN  ( N  =  ( s  /  y )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n
)  ||  s } ,  RR ,  <  )  -  T ) )  <->  E. t  e.  NN  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) ) )
11099, 109bitrdi 195 . . . . 5  |-  ( x  =  s  ->  ( E. y  e.  NN  ( N  =  (
x  /  y )  /\  w  =  ( S  -  T ) )  <->  E. t  e.  NN  ( N  =  (
s  /  t )  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) ) ) )
111110cbvrexvw 2696 . . . 4  |-  ( E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y )  /\  w  =  ( S  -  T ) )  <->  E. s  e.  ZZ  E. t  e.  NN  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) ) )
11289, 111bitrdi 195 . . 3  |-  ( z  =  w  ->  ( E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) )  <->  E. s  e.  ZZ  E. t  e.  NN  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) ) ) )
113112eu4 2076 . 2  |-  ( E! z E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) )  <->  ( E. z E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y )  /\  z  =  ( S  -  T ) )  /\  A. z A. w ( ( E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) )  /\  E. s  e.  ZZ  E. t  e.  NN  ( N  =  ( s  /  t
)  /\  w  =  ( sup ( { n  e.  NN0  |  ( P ^ n )  ||  s } ,  RR ,  <  )  -  sup ( { n  e.  NN0  |  ( P ^ n
)  ||  t } ,  RR ,  <  )
) ) )  -> 
z  =  w ) ) )
11467, 86, 113sylanbrc 414 1  |-  ( ( P  e.  Prime  /\  ( N  e.  QQ  /\  N  =/=  0 ) )  ->  E! z E. x  e.  ZZ  E. y  e.  NN  ( N  =  ( x  /  y
)  /\  z  =  ( S  -  T
) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    /\ w3a 968   A.wal 1341    = wceq 1343   E.wex 1480   E!weu 2014    e. wcel 2136    =/= wne 2335   E.wrex 2444   {crab 2447   class class class wbr 3981   ` cfv 5187  (class class class)co 5841   supcsup 6943   RRcr 7748   0cc0 7749    < clt 7929    - cmin 8065   # cap 8475    / cdiv 8564   NNcn 8853   2c2 8904   NN0cn0 9110   ZZcz 9187   ZZ>=cuz 9462   QQcq 9553   ^cexp 10450    || cdvds 11723   Primecprime 12035
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4096  ax-sep 4099  ax-nul 4107  ax-pow 4152  ax-pr 4186  ax-un 4410  ax-setind 4513  ax-iinf 4564  ax-cnex 7840  ax-resscn 7841  ax-1cn 7842  ax-1re 7843  ax-icn 7844  ax-addcl 7845  ax-addrcl 7846  ax-mulcl 7847  ax-mulrcl 7848  ax-addcom 7849  ax-mulcom 7850  ax-addass 7851  ax-mulass 7852  ax-distr 7853  ax-i2m1 7854  ax-0lt1 7855  ax-1rid 7856  ax-0id 7857  ax-rnegex 7858  ax-precex 7859  ax-cnre 7860  ax-pre-ltirr 7861  ax-pre-ltwlin 7862  ax-pre-lttrn 7863  ax-pre-apti 7864  ax-pre-ltadd 7865  ax-pre-mulgt0 7866  ax-pre-mulext 7867  ax-arch 7868  ax-caucvg 7869
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2296  df-ne 2336  df-nel 2431  df-ral 2448  df-rex 2449  df-reu 2450  df-rmo 2451  df-rab 2452  df-v 2727  df-sbc 2951  df-csb 3045  df-dif 3117  df-un 3119  df-in 3121  df-ss 3128  df-nul 3409  df-if 3520  df-pw 3560  df-sn 3581  df-pr 3582  df-op 3584  df-uni 3789  df-int 3824  df-iun 3867  df-br 3982  df-opab 4043  df-mpt 4044  df-tr 4080  df-id 4270  df-po 4273  df-iso 4274  df-iord 4343  df-on 4345  df-ilim 4346  df-suc 4348  df-iom 4567  df-xp 4609  df-rel 4610  df-cnv 4611  df-co 4612  df-dm 4613  df-rn 4614  df-res 4615  df-ima 4616  df-iota 5152  df-fun 5189  df-fn 5190  df-f 5191  df-f1 5192  df-fo 5193  df-f1o 5194  df-fv 5195  df-isom 5196  df-riota 5797  df-ov 5844  df-oprab 5845  df-mpo 5846  df-1st 6105  df-2nd 6106  df-recs 6269  df-frec 6355  df-1o 6380  df-2o 6381  df-er 6497  df-en 6703  df-sup 6945  df-inf 6946  df-pnf 7931  df-mnf 7932  df-xr 7933  df-ltxr 7934  df-le 7935  df-sub 8067  df-neg 8068  df-reap 8469  df-ap 8476  df-div 8565  df-inn 8854  df-2 8912  df-3 8913  df-4 8914  df-n0 9111  df-z 9188  df-uz 9463  df-q 9554  df-rp 9586  df-fz 9941  df-fzo 10074  df-fl 10201  df-mod 10254  df-seqfrec 10377  df-exp 10451  df-cj 10780  df-re 10781  df-im 10782  df-rsqrt 10936  df-abs 10937  df-dvds 11724  df-gcd 11872  df-prm 12036
This theorem is referenced by:  pcval  12224  pczpre  12225  pcdiv  12230
  Copyright terms: Public domain W3C validator