Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eldiophb Unicode version

Theorem eldiophb 26939
Description: Initial expression of Diophantine property of a set. (Contributed by Stefan O'Rear, 5-Oct-2014.) (Revised by Mario Carneiro, 22-Sep-2015.)
Assertion
Ref Expression
eldiophb  |-  ( D  e.  (Dioph `  N
)  <->  ( N  e. 
NN0  /\  E. k  e.  ( ZZ>= `  N ) E. p  e.  (mzPoly `  ( 1 ... k
) ) D  =  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k
) ) ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 ) } ) )
Distinct variable groups:    D, k, p    k, N, p, t, u
Allowed substitution hints:    D( u, t)

Proof of Theorem eldiophb
Dummy variables  n  d are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-dioph 26938 . . . 4  |- Dioph  =  ( n  e.  NN0  |->  ran  (
k  e.  ( ZZ>= `  n ) ,  p  e.  (mzPoly `  ( 1 ... k ) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... n ) )  /\  ( p `  u )  =  0 ) } ) )
21dmmptss 5185 . . 3  |-  dom Dioph  C_  NN0
3 elfvdm 5570 . . 3  |-  ( D  e.  (Dioph `  N
)  ->  N  e.  dom Dioph )
42, 3sseldi 3191 . 2  |-  ( D  e.  (Dioph `  N
)  ->  N  e.  NN0 )
5 fveq2 5541 . . . . . . 7  |-  ( n  =  N  ->  ( ZZ>=
`  n )  =  ( ZZ>= `  N )
)
6 eqidd 2297 . . . . . . 7  |-  ( n  =  N  ->  (mzPoly `  ( 1 ... k
) )  =  (mzPoly `  ( 1 ... k
) ) )
7 oveq2 5882 . . . . . . . . . . . 12  |-  ( n  =  N  ->  (
1 ... n )  =  ( 1 ... N
) )
87reseq2d 4971 . . . . . . . . . . 11  |-  ( n  =  N  ->  (
u  |`  ( 1 ... n ) )  =  ( u  |`  (
1 ... N ) ) )
98eqeq2d 2307 . . . . . . . . . 10  |-  ( n  =  N  ->  (
t  =  ( u  |`  ( 1 ... n
) )  <->  t  =  ( u  |`  ( 1 ... N ) ) ) )
109anbi1d 685 . . . . . . . . 9  |-  ( n  =  N  ->  (
( t  =  ( u  |`  ( 1 ... n ) )  /\  ( p `  u )  =  0 )  <->  ( t  =  ( u  |`  (
1 ... N ) )  /\  ( p `  u )  =  0 ) ) )
1110rexbidv 2577 . . . . . . . 8  |-  ( n  =  N  ->  ( E. u  e.  ( NN0  ^m  ( 1 ... k ) ) ( t  =  ( u  |`  ( 1 ... n
) )  /\  (
p `  u )  =  0 )  <->  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) ) )
1211abbidv 2410 . . . . . . 7  |-  ( n  =  N  ->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... n ) )  /\  ( p `  u )  =  0 ) }  =  {
t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } )
135, 6, 12mpt2eq123dv 5926 . . . . . 6  |-  ( n  =  N  ->  (
k  e.  ( ZZ>= `  n ) ,  p  e.  (mzPoly `  ( 1 ... k ) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... n ) )  /\  ( p `  u )  =  0 ) } )  =  ( k  e.  (
ZZ>= `  N ) ,  p  e.  (mzPoly `  ( 1 ... k
) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } ) )
1413rneqd 4922 . . . . 5  |-  ( n  =  N  ->  ran  ( k  e.  (
ZZ>= `  n ) ,  p  e.  (mzPoly `  ( 1 ... k
) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... n ) )  /\  ( p `  u )  =  0 ) } )  =  ran  ( k  e.  ( ZZ>= `  N ) ,  p  e.  (mzPoly `  ( 1 ... k
) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } ) )
15 ovex 5899 . . . . . . 7  |-  ( NN0 
^m  ( 1 ... N ) )  e. 
_V
1615pwex 4209 . . . . . 6  |-  ~P ( NN0  ^m  ( 1 ... N ) )  e. 
_V
17 eqid 2296 . . . . . . . 8  |-  ( k  e.  ( ZZ>= `  N
) ,  p  e.  (mzPoly `  ( 1 ... k ) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } )  =  ( k  e.  (
ZZ>= `  N ) ,  p  e.  (mzPoly `  ( 1 ... k
) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } )
1817rnmpt2 5970 . . . . . . 7  |-  ran  (
k  e.  ( ZZ>= `  N ) ,  p  e.  (mzPoly `  ( 1 ... k ) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } )  =  { d  |  E. k  e.  ( ZZ>= `  N ) E. p  e.  (mzPoly `  ( 1 ... k ) ) d  =  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } }
19 elmapi 6808 . . . . . . . . . . . . . . . . 17  |-  ( u  e.  ( NN0  ^m  ( 1 ... k
) )  ->  u : ( 1 ... k ) --> NN0 )
20 fzss2 10847 . . . . . . . . . . . . . . . . 17  |-  ( k  e.  ( ZZ>= `  N
)  ->  ( 1 ... N )  C_  ( 1 ... k
) )
21 fssres 5424 . . . . . . . . . . . . . . . . 17  |-  ( ( u : ( 1 ... k ) --> NN0 
/\  ( 1 ... N )  C_  (
1 ... k ) )  ->  ( u  |`  ( 1 ... N
) ) : ( 1 ... N ) --> NN0 )
2219, 20, 21syl2anr 464 . . . . . . . . . . . . . . . 16  |-  ( ( k  e.  ( ZZ>= `  N )  /\  u  e.  ( NN0  ^m  (
1 ... k ) ) )  ->  ( u  |`  ( 1 ... N
) ) : ( 1 ... N ) --> NN0 )
23 nn0ex 9987 . . . . . . . . . . . . . . . . 17  |-  NN0  e.  _V
24 ovex 5899 . . . . . . . . . . . . . . . . 17  |-  ( 1 ... N )  e. 
_V
2523, 24elmap 6812 . . . . . . . . . . . . . . . 16  |-  ( ( u  |`  ( 1 ... N ) )  e.  ( NN0  ^m  ( 1 ... N
) )  <->  ( u  |`  ( 1 ... N
) ) : ( 1 ... N ) --> NN0 )
2622, 25sylibr 203 . . . . . . . . . . . . . . 15  |-  ( ( k  e.  ( ZZ>= `  N )  /\  u  e.  ( NN0  ^m  (
1 ... k ) ) )  ->  ( u  |`  ( 1 ... N
) )  e.  ( NN0  ^m  ( 1 ... N ) ) )
27 eleq1 2356 . . . . . . . . . . . . . . . 16  |-  ( t  =  ( u  |`  ( 1 ... N
) )  ->  (
t  e.  ( NN0 
^m  ( 1 ... N ) )  <->  ( u  |`  ( 1 ... N
) )  e.  ( NN0  ^m  ( 1 ... N ) ) ) )
2827adantr 451 . . . . . . . . . . . . . . 15  |-  ( ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 )  -> 
( t  e.  ( NN0  ^m  ( 1 ... N ) )  <-> 
( u  |`  (
1 ... N ) )  e.  ( NN0  ^m  ( 1 ... N
) ) ) )
2926, 28syl5ibrcom 213 . . . . . . . . . . . . . 14  |-  ( ( k  e.  ( ZZ>= `  N )  /\  u  e.  ( NN0  ^m  (
1 ... k ) ) )  ->  ( (
t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 )  -> 
t  e.  ( NN0 
^m  ( 1 ... N ) ) ) )
3029rexlimdva 2680 . . . . . . . . . . . . 13  |-  ( k  e.  ( ZZ>= `  N
)  ->  ( E. u  e.  ( NN0  ^m  ( 1 ... k
) ) ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 )  -> 
t  e.  ( NN0 
^m  ( 1 ... N ) ) ) )
3130abssdv 3260 . . . . . . . . . . . 12  |-  ( k  e.  ( ZZ>= `  N
)  ->  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  C_  ( NN0  ^m  ( 1 ... N ) ) )
3215elpw2 4191 . . . . . . . . . . . 12  |-  ( { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  e.  ~P ( NN0  ^m  ( 1 ... N ) )  <->  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k
) ) ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 ) } 
C_  ( NN0  ^m  ( 1 ... N
) ) )
3331, 32sylibr 203 . . . . . . . . . . 11  |-  ( k  e.  ( ZZ>= `  N
)  ->  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  e.  ~P ( NN0  ^m  ( 1 ... N ) ) )
34 eleq1 2356 . . . . . . . . . . 11  |-  ( d  =  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  ->  (
d  e.  ~P ( NN0  ^m  ( 1 ... N ) )  <->  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  e.  ~P ( NN0  ^m  ( 1 ... N ) ) ) )
3533, 34syl5ibrcom 213 . . . . . . . . . 10  |-  ( k  e.  ( ZZ>= `  N
)  ->  ( d  =  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k
) ) ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 ) }  ->  d  e.  ~P ( NN0  ^m  ( 1 ... N ) ) ) )
3635rexlimdvw 2683 . . . . . . . . 9  |-  ( k  e.  ( ZZ>= `  N
)  ->  ( E. p  e.  (mzPoly `  (
1 ... k ) ) d  =  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  ->  d  e.  ~P ( NN0  ^m  ( 1 ... N
) ) ) )
3736rexlimiv 2674 . . . . . . . 8  |-  ( E. k  e.  ( ZZ>= `  N ) E. p  e.  (mzPoly `  ( 1 ... k ) ) d  =  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  ->  d  e.  ~P ( NN0  ^m  ( 1 ... N
) ) )
3837abssi 3261 . . . . . . 7  |-  { d  |  E. k  e.  ( ZZ>= `  N ) E. p  e.  (mzPoly `  ( 1 ... k
) ) d  =  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k
) ) ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 ) } }  C_  ~P ( NN0  ^m  ( 1 ... N ) )
3918, 38eqsstri 3221 . . . . . 6  |-  ran  (
k  e.  ( ZZ>= `  N ) ,  p  e.  (mzPoly `  ( 1 ... k ) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } )  C_  ~P ( NN0  ^m  (
1 ... N ) )
4016, 39ssexi 4175 . . . . 5  |-  ran  (
k  e.  ( ZZ>= `  N ) ,  p  e.  (mzPoly `  ( 1 ... k ) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } )  e. 
_V
4114, 1, 40fvmpt 5618 . . . 4  |-  ( N  e.  NN0  ->  (Dioph `  N )  =  ran  ( k  e.  (
ZZ>= `  N ) ,  p  e.  (mzPoly `  ( 1 ... k
) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } ) )
4241eleq2d 2363 . . 3  |-  ( N  e.  NN0  ->  ( D  e.  (Dioph `  N
)  <->  D  e.  ran  ( k  e.  (
ZZ>= `  N ) ,  p  e.  (mzPoly `  ( 1 ... k
) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } ) ) )
43 ovex 5899 . . . . . 6  |-  ( NN0 
^m  ( 1 ... k ) )  e. 
_V
4443abrexex 5779 . . . . 5  |-  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) t  =  ( u  |`  ( 1 ... N
) ) }  e.  _V
45 simpl 443 . . . . . . 7  |-  ( ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 )  -> 
t  =  ( u  |`  ( 1 ... N
) ) )
4645reximi 2663 . . . . . 6  |-  ( E. u  e.  ( NN0 
^m  ( 1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 )  ->  E. u  e.  ( NN0  ^m  ( 1 ... k ) ) t  =  ( u  |`  ( 1 ... N
) ) )
4746ss2abi 3258 . . . . 5  |-  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  C_  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) t  =  ( u  |`  ( 1 ... N
) ) }
4844, 47ssexi 4175 . . . 4  |-  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  e.  _V
4917, 48elrnmpt2 5973 . . 3  |-  ( D  e.  ran  ( k  e.  ( ZZ>= `  N
) ,  p  e.  (mzPoly `  ( 1 ... k ) )  |->  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) } )  <->  E. k  e.  ( ZZ>= `  N ) E. p  e.  (mzPoly `  ( 1 ... k
) ) D  =  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k
) ) ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 ) } )
5042, 49syl6bb 252 . 2  |-  ( N  e.  NN0  ->  ( D  e.  (Dioph `  N
)  <->  E. k  e.  (
ZZ>= `  N ) E. p  e.  (mzPoly `  ( 1 ... k
) ) D  =  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k
) ) ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 ) } ) )
514, 50biadan2 623 1  |-  ( D  e.  (Dioph `  N
)  <->  ( N  e. 
NN0  /\  E. k  e.  ( ZZ>= `  N ) E. p  e.  (mzPoly `  ( 1 ... k
) ) D  =  { t  |  E. u  e.  ( NN0  ^m  ( 1 ... k
) ) ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 ) } ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 176    /\ wa 358    = wceq 1632    e. wcel 1696   {cab 2282   E.wrex 2557    C_ wss 3165   ~Pcpw 3638   dom cdm 4705   ran crn 4706    |` cres 4707   -->wf 5267   ` cfv 5271  (class class class)co 5874    e. cmpt2 5876    ^m cmap 6788   0cc0 8753   1c1 8754   NN0cn0 9981   ZZ>=cuz 10246   ...cfz 10798  mzPolycmzp 26903  Diophcdioph 26937
This theorem is referenced by:  eldioph  26940  eldioph2b  26945  eldiophelnn0  26946
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-i2m1 8821  ax-1ne0 8822  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828
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 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-recs 6404  df-rdg 6439  df-er 6676  df-map 6790  df-en 6880  df-dom 6881  df-sdom 6882  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-neg 9056  df-nn 9763  df-n0 9982  df-z 10041  df-uz 10247  df-fz 10799  df-dioph 26938
  Copyright terms: Public domain W3C validator