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

Theorem eldiophb 29048
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 29047 . . . 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 5329 . . 3  |-  dom Dioph  C_  NN0
3 elfvdm 5711 . . 3  |-  ( D  e.  (Dioph `  N
)  ->  N  e.  dom Dioph )
42, 3sseldi 3349 . 2  |-  ( D  e.  (Dioph `  N
)  ->  N  e.  NN0 )
5 fveq2 5686 . . . . . . 7  |-  ( n  =  N  ->  ( ZZ>=
`  n )  =  ( ZZ>= `  N )
)
6 eqidd 2439 . . . . . . 7  |-  ( n  =  N  ->  (mzPoly `  ( 1 ... k
) )  =  (mzPoly `  ( 1 ... k
) ) )
7 oveq2 6094 . . . . . . . . . . . 12  |-  ( n  =  N  ->  (
1 ... n )  =  ( 1 ... N
) )
87reseq2d 5105 . . . . . . . . . . 11  |-  ( n  =  N  ->  (
u  |`  ( 1 ... n ) )  =  ( u  |`  (
1 ... N ) ) )
98eqeq2d 2449 . . . . . . . . . 10  |-  ( n  =  N  ->  (
t  =  ( u  |`  ( 1 ... n
) )  <->  t  =  ( u  |`  ( 1 ... N ) ) ) )
109anbi1d 704 . . . . . . . . 9  |-  ( n  =  N  ->  (
( t  =  ( u  |`  ( 1 ... n ) )  /\  ( p `  u )  =  0 )  <->  ( t  =  ( u  |`  (
1 ... N ) )  /\  ( p `  u )  =  0 ) ) )
1110rexbidv 2731 . . . . . . . 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 2552 . . . . . . 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 6143 . . . . . 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 5062 . . . . 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 6111 . . . . . . 7  |-  ( NN0 
^m  ( 1 ... N ) )  e. 
_V
1615pwex 4470 . . . . . 6  |-  ~P ( NN0  ^m  ( 1 ... N ) )  e. 
_V
17 eqid 2438 . . . . . . . 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 6195 . . . . . . 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 7226 . . . . . . . . . . . . . . . . 17  |-  ( u  e.  ( NN0  ^m  ( 1 ... k
) )  ->  u : ( 1 ... k ) --> NN0 )
20 fzss2 11490 . . . . . . . . . . . . . . . . 17  |-  ( k  e.  ( ZZ>= `  N
)  ->  ( 1 ... N )  C_  ( 1 ... k
) )
21 fssres 5573 . . . . . . . . . . . . . . . . 17  |-  ( ( u : ( 1 ... k ) --> NN0 
/\  ( 1 ... N )  C_  (
1 ... k ) )  ->  ( u  |`  ( 1 ... N
) ) : ( 1 ... N ) --> NN0 )
2219, 20, 21syl2anr 478 . . . . . . . . . . . . . . . 16  |-  ( ( k  e.  ( ZZ>= `  N )  /\  u  e.  ( NN0  ^m  (
1 ... k ) ) )  ->  ( u  |`  ( 1 ... N
) ) : ( 1 ... N ) --> NN0 )
23 nn0ex 10577 . . . . . . . . . . . . . . . . 17  |-  NN0  e.  _V
24 ovex 6111 . . . . . . . . . . . . . . . . 17  |-  ( 1 ... N )  e. 
_V
2523, 24elmap 7233 . . . . . . . . . . . . . . . 16  |-  ( ( u  |`  ( 1 ... N ) )  e.  ( NN0  ^m  ( 1 ... N
) )  <->  ( u  |`  ( 1 ... N
) ) : ( 1 ... N ) --> NN0 )
2622, 25sylibr 212 . . . . . . . . . . . . . . 15  |-  ( ( k  e.  ( ZZ>= `  N )  /\  u  e.  ( NN0  ^m  (
1 ... k ) ) )  ->  ( u  |`  ( 1 ... N
) )  e.  ( NN0  ^m  ( 1 ... N ) ) )
27 eleq1 2498 . . . . . . . . . . . . . . . 16  |-  ( t  =  ( u  |`  ( 1 ... N
) )  ->  (
t  e.  ( NN0 
^m  ( 1 ... N ) )  <->  ( u  |`  ( 1 ... N
) )  e.  ( NN0  ^m  ( 1 ... N ) ) ) )
2827adantr 465 . . . . . . . . . . . . . . 15  |-  ( ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 )  -> 
( t  e.  ( NN0  ^m  ( 1 ... N ) )  <-> 
( u  |`  (
1 ... N ) )  e.  ( NN0  ^m  ( 1 ... N
) ) ) )
2926, 28syl5ibrcom 222 . . . . . . . . . . . . . 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 2836 . . . . . . . . . . . . 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 3421 . . . . . . . . . . . 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 4451 . . . . . . . . . . . 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 212 . . . . . . . . . . 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 2498 . . . . . . . . . . 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 222 . . . . . . . . . 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 2839 . . . . . . . . 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 2830 . . . . . . . 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 3422 . . . . . . 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 3381 . . . . . 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 4432 . . . . 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 5769 . . . 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 2505 . . 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 6111 . . . . . 6  |-  ( NN0 
^m  ( 1 ... k ) )  e. 
_V
4443abrexex 6546 . . . . 5  |-  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) t  =  ( u  |`  ( 1 ... N
) ) }  e.  _V
45 simpl 457 . . . . . . 7  |-  ( ( t  =  ( u  |`  ( 1 ... N
) )  /\  (
p `  u )  =  0 )  -> 
t  =  ( u  |`  ( 1 ... N
) ) )
4645reximi 2818 . . . . . 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 3419 . . . . 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 4432 . . . 4  |-  { t  |  E. u  e.  ( NN0  ^m  (
1 ... k ) ) ( t  =  ( u  |`  ( 1 ... N ) )  /\  ( p `  u )  =  0 ) }  e.  _V
4917, 48elrnmpt2 6198 . . 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 261 . 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 642 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 setvar class
Syntax hints:    <-> wb 184    /\ wa 369    = wceq 1369    e. wcel 1756   {cab 2424   E.wrex 2711    C_ wss 3323   ~Pcpw 3855   dom cdm 4835   ran crn 4836    |` cres 4837   -->wf 5409   ` cfv 5413  (class class class)co 6086    e. cmpt2 6088    ^m cmap 7206   0cc0 9274   1c1 9275   NN0cn0 10571   ZZ>=cuz 10853   ...cfz 11429  mzPolycmzp 29011  Diophcdioph 29046
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2419  ax-rep 4398  ax-sep 4408  ax-nul 4416  ax-pow 4465  ax-pr 4526  ax-un 6367  ax-cnex 9330  ax-resscn 9331  ax-1cn 9332  ax-icn 9333  ax-addcl 9334  ax-addrcl 9335  ax-mulcl 9336  ax-mulrcl 9337  ax-i2m1 9342  ax-1ne0 9343  ax-rrecex 9346  ax-cnre 9347  ax-pre-lttri 9348  ax-pre-lttrn 9349
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2256  df-mo 2257  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2715  df-rex 2716  df-reu 2717  df-rab 2719  df-v 2969  df-sbc 3182  df-csb 3284  df-dif 3326  df-un 3328  df-in 3330  df-ss 3337  df-pss 3339  df-nul 3633  df-if 3787  df-pw 3857  df-sn 3873  df-pr 3875  df-tp 3877  df-op 3879  df-uni 4087  df-iun 4168  df-br 4288  df-opab 4346  df-mpt 4347  df-tr 4381  df-eprel 4627  df-id 4631  df-po 4636  df-so 4637  df-fr 4674  df-we 4676  df-ord 4717  df-on 4718  df-lim 4719  df-suc 4720  df-xp 4841  df-rel 4842  df-cnv 4843  df-co 4844  df-dm 4845  df-rn 4846  df-res 4847  df-ima 4848  df-iota 5376  df-fun 5415  df-fn 5416  df-f 5417  df-f1 5418  df-fo 5419  df-f1o 5420  df-fv 5421  df-ov 6089  df-oprab 6090  df-mpt2 6091  df-om 6472  df-1st 6572  df-2nd 6573  df-recs 6824  df-rdg 6858  df-er 7093  df-map 7208  df-en 7303  df-dom 7304  df-sdom 7305  df-pnf 9412  df-mnf 9413  df-xr 9414  df-ltxr 9415  df-le 9416  df-neg 9590  df-nn 10315  df-n0 10572  df-z 10639  df-uz 10854  df-fz 11430  df-dioph 29047
This theorem is referenced by:  eldioph  29049  eldioph2b  29054  eldiophelnn0  29055
  Copyright terms: Public domain W3C validator