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

Theorem 2rexfrabdioph 26980
Description: Diophantine set builder for existential quantifier, explicit substitution, two variables. (Contributed by Stefan O'Rear, 11-Oct-2014.) (Revised by Stefan O'Rear, 6-May-2015.)
Hypotheses
Ref Expression
rexfrabdioph.1  |-  M  =  ( N  +  1 )
rexfrabdioph.2  |-  L  =  ( M  +  1 )
Assertion
Ref Expression
2rexfrabdioph  |-  ( ( N  e.  NN0  /\  { t  e.  ( NN0 
^m  ( 1 ... L ) )  | 
[. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph }  e.  (Dioph `  L ) )  ->  { u  e.  ( NN0  ^m  ( 1 ... N ) )  |  E. v  e.  NN0  E. w  e.  NN0  ph }  e.  (Dioph `  N )
)
Distinct variable groups:    u, t,
v, w, L    t, M, u, v, w    t, N, u, v, w    ph, t
Allowed substitution hints:    ph( w, v, u)

Proof of Theorem 2rexfrabdioph
Dummy variable  a is distinct from all other variables.
StepHypRef Expression
1 vex 2804 . . . . . . 7  |-  a  e. 
_V
21resex 5011 . . . . . 6  |-  ( a  |`  ( 1 ... N
) )  e.  _V
3 fvex 5555 . . . . . 6  |-  ( a `
 M )  e. 
_V
42, 32sbcrex 26967 . . . . 5  |-  ( [. ( a  |`  (
1 ... N ) )  /  u ]. [. (
a `  M )  /  v ]. E. w  e.  NN0  ph  <->  E. w  e.  NN0  [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph )
54a1i 10 . . . 4  |-  ( a  e.  ( NN0  ^m  ( 1 ... M
) )  ->  ( [. ( a  |`  (
1 ... N ) )  /  u ]. [. (
a `  M )  /  v ]. E. w  e.  NN0  ph  <->  E. w  e.  NN0  [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph ) )
65rabbiia 2791 . . 3  |-  { a  e.  ( NN0  ^m  ( 1 ... M
) )  |  [. ( a  |`  (
1 ... N ) )  /  u ]. [. (
a `  M )  /  v ]. E. w  e.  NN0  ph }  =  { a  e.  ( NN0  ^m  ( 1 ... M ) )  |  E. w  e. 
NN0  [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph }
7 rexfrabdioph.1 . . . . . 6  |-  M  =  ( N  +  1 )
8 peano2nn0 10020 . . . . . 6  |-  ( N  e.  NN0  ->  ( N  +  1 )  e. 
NN0 )
97, 8syl5eqel 2380 . . . . 5  |-  ( N  e.  NN0  ->  M  e. 
NN0 )
109adantr 451 . . . 4  |-  ( ( N  e.  NN0  /\  { t  e.  ( NN0 
^m  ( 1 ... L ) )  | 
[. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph }  e.  (Dioph `  L ) )  ->  M  e.  NN0 )
11 vex 2804 . . . . . . . . . 10  |-  t  e. 
_V
1211resex 5011 . . . . . . . . 9  |-  ( t  |`  ( 1 ... M
) )  e.  _V
13 fvex 5555 . . . . . . . . . 10  |-  ( t `
 L )  e. 
_V
1413, 2, 3sbcrot3OLD 26975 . . . . . . . . 9  |-  ( [. ( t `  L
)  /  w ]. [. ( a  |`  (
1 ... N ) )  /  u ]. [. (
a `  M )  /  v ]. ph  <->  [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. [. ( t `  L )  /  w ]. ph )
1512, 14sbcbiiiOLD 26970 . . . . . . . 8  |-  ( [. ( t  |`  (
1 ... M ) )  /  a ]. [. (
t `  L )  /  w ]. [. (
a  |`  ( 1 ... N ) )  /  u ]. [. ( a `
 M )  / 
v ]. ph  <->  [. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. [. ( t `  L )  /  w ]. ph )
1612resex 5011 . . . . . . . . . 10  |-  ( ( t  |`  ( 1 ... M ) )  |`  ( 1 ... N
) )  e.  _V
17 reseq1 4965 . . . . . . . . . . 11  |-  ( a  =  ( t  |`  ( 1 ... M
) )  ->  (
a  |`  ( 1 ... N ) )  =  ( ( t  |`  ( 1 ... M
) )  |`  (
1 ... N ) ) )
1817sbccomiegOLD 26977 . . . . . . . . . 10  |-  ( ( ( t  |`  (
1 ... M ) )  e.  _V  /\  (
( t  |`  (
1 ... M ) )  |`  ( 1 ... N
) )  e.  _V )  ->  ( [. (
t  |`  ( 1 ... M ) )  / 
a ]. [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. [. ( t `  L )  /  w ]. ph  <->  [. ( ( t  |`  ( 1 ... M
) )  |`  (
1 ... N ) )  /  u ]. [. (
t  |`  ( 1 ... M ) )  / 
a ]. [. ( a `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph ) )
1912, 16, 18mp2an 653 . . . . . . . . 9  |-  ( [. ( t  |`  (
1 ... M ) )  /  a ]. [. (
a  |`  ( 1 ... N ) )  /  u ]. [. ( a `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph  <->  [. ( ( t  |`  ( 1 ... M ) )  |`  ( 1 ... N
) )  /  u ]. [. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( a `  M )  /  v ]. [. ( t `  L )  /  w ]. ph )
20 fzssp1 10850 . . . . . . . . . . . 12  |-  ( 1 ... N )  C_  ( 1 ... ( N  +  1 ) )
217oveq2i 5885 . . . . . . . . . . . 12  |-  ( 1 ... M )  =  ( 1 ... ( N  +  1 ) )
2220, 21sseqtr4i 3224 . . . . . . . . . . 11  |-  ( 1 ... N )  C_  ( 1 ... M
)
23 resabs1 5000 . . . . . . . . . . 11  |-  ( ( 1 ... N ) 
C_  ( 1 ... M )  ->  (
( t  |`  (
1 ... M ) )  |`  ( 1 ... N
) )  =  ( t  |`  ( 1 ... N ) ) )
24 dfsbcq 3006 . . . . . . . . . . 11  |-  ( ( ( t  |`  (
1 ... M ) )  |`  ( 1 ... N
) )  =  ( t  |`  ( 1 ... N ) )  ->  ( [. (
( t  |`  (
1 ... M ) )  |`  ( 1 ... N
) )  /  u ]. [. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( a `  M )  /  v ]. [. ( t `  L )  /  w ]. ph  <->  [. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( a `  M )  /  v ]. [. ( t `  L )  /  w ]. ph ) )
2522, 23, 24mp2b 9 . . . . . . . . . 10  |-  ( [. ( ( t  |`  ( 1 ... M
) )  |`  (
1 ... N ) )  /  u ]. [. (
t  |`  ( 1 ... M ) )  / 
a ]. [. ( a `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph  <->  [. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( a `  M )  /  v ]. [. ( t `  L )  /  w ]. ph )
263ax-gen 1536 . . . . . . . . . . . . 13  |-  A. a
( a `  M
)  e.  _V
27 fveq1 5540 . . . . . . . . . . . . . 14  |-  ( a  =  ( t  |`  ( 1 ... M
) )  ->  (
a `  M )  =  ( ( t  |`  ( 1 ... M
) ) `  M
) )
2827sbcco3gOLD 3150 . . . . . . . . . . . . 13  |-  ( ( ( t  |`  (
1 ... M ) )  e.  _V  /\  A. a ( a `  M )  e.  _V )  ->  ( [. (
t  |`  ( 1 ... M ) )  / 
a ]. [. ( a `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph  <->  [. ( ( t  |`  ( 1 ... M ) ) `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph ) )
2912, 26, 28mp2an 653 . . . . . . . . . . . 12  |-  ( [. ( t  |`  (
1 ... M ) )  /  a ]. [. (
a `  M )  /  v ]. [. (
t `  L )  /  w ]. ph  <->  [. ( ( t  |`  ( 1 ... M ) ) `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph )
30 nn0p1nn 10019 . . . . . . . . . . . . . . 15  |-  ( N  e.  NN0  ->  ( N  +  1 )  e.  NN )
317, 30syl5eqel 2380 . . . . . . . . . . . . . 14  |-  ( N  e.  NN0  ->  M  e.  NN )
32 elfz1end 10836 . . . . . . . . . . . . . 14  |-  ( M  e.  NN  <->  M  e.  ( 1 ... M
) )
3331, 32sylib 188 . . . . . . . . . . . . 13  |-  ( N  e.  NN0  ->  M  e.  ( 1 ... M
) )
34 fvres 5558 . . . . . . . . . . . . 13  |-  ( M  e.  ( 1 ... M )  ->  (
( t  |`  (
1 ... M ) ) `
 M )  =  ( t `  M
) )
35 dfsbcq 3006 . . . . . . . . . . . . 13  |-  ( ( ( t  |`  (
1 ... M ) ) `
 M )  =  ( t `  M
)  ->  ( [. ( ( t  |`  ( 1 ... M
) ) `  M
)  /  v ]. [. ( t `  L
)  /  w ]. ph  <->  [. ( t `  M
)  /  v ]. [. ( t `  L
)  /  w ]. ph ) )
3633, 34, 353syl 18 . . . . . . . . . . . 12  |-  ( N  e.  NN0  ->  ( [. ( ( t  |`  ( 1 ... M
) ) `  M
)  /  v ]. [. ( t `  L
)  /  w ]. ph  <->  [. ( t `  M
)  /  v ]. [. ( t `  L
)  /  w ]. ph ) )
3729, 36syl5bb 248 . . . . . . . . . . 11  |-  ( N  e.  NN0  ->  ( [. ( t  |`  (
1 ... M ) )  /  a ]. [. (
a `  M )  /  v ]. [. (
t `  L )  /  w ]. ph  <->  [. ( t `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph ) )
3837sbcbidv 3058 . . . . . . . . . 10  |-  ( N  e.  NN0  ->  ( [. ( t  |`  (
1 ... N ) )  /  u ]. [. (
t  |`  ( 1 ... M ) )  / 
a ]. [. ( a `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph  <->  [. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph ) )
3925, 38syl5bb 248 . . . . . . . . 9  |-  ( N  e.  NN0  ->  ( [. ( ( t  |`  ( 1 ... M
) )  |`  (
1 ... N ) )  /  u ]. [. (
t  |`  ( 1 ... M ) )  / 
a ]. [. ( a `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph  <->  [. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph ) )
4019, 39syl5bb 248 . . . . . . . 8  |-  ( N  e.  NN0  ->  ( [. ( t  |`  (
1 ... M ) )  /  a ]. [. (
a  |`  ( 1 ... N ) )  /  u ]. [. ( a `
 M )  / 
v ]. [. ( t `
 L )  /  w ]. ph  <->  [. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph ) )
4115, 40syl5rbb 249 . . . . . . 7  |-  ( N  e.  NN0  ->  ( [. ( t  |`  (
1 ... N ) )  /  u ]. [. (
t `  M )  /  v ]. [. (
t `  L )  /  w ]. ph  <->  [. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( t `  L )  /  w ]. [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph ) )
4241rabbidv 2793 . . . . . 6  |-  ( N  e.  NN0  ->  { t  e.  ( NN0  ^m  ( 1 ... L
) )  |  [. ( t  |`  (
1 ... N ) )  /  u ]. [. (
t `  M )  /  v ]. [. (
t `  L )  /  w ]. ph }  =  { t  e.  ( NN0  ^m  ( 1 ... L ) )  |  [. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( t `  L )  /  w ]. [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph } )
4342eleq1d 2362 . . . . 5  |-  ( N  e.  NN0  ->  ( { t  e.  ( NN0 
^m  ( 1 ... L ) )  | 
[. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph }  e.  (Dioph `  L )  <->  { t  e.  ( NN0  ^m  (
1 ... L ) )  |  [. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( t `  L )  /  w ]. [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph }  e.  (Dioph `  L ) ) )
4443biimpa 470 . . . 4  |-  ( ( N  e.  NN0  /\  { t  e.  ( NN0 
^m  ( 1 ... L ) )  | 
[. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph }  e.  (Dioph `  L ) )  ->  { t  e.  ( NN0  ^m  ( 1 ... L ) )  |  [. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( t `  L )  /  w ]. [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph }  e.  (Dioph `  L ) )
45 rexfrabdioph.2 . . . . 5  |-  L  =  ( M  +  1 )
4645rexfrabdioph 26979 . . . 4  |-  ( ( M  e.  NN0  /\  { t  e.  ( NN0 
^m  ( 1 ... L ) )  | 
[. ( t  |`  ( 1 ... M
) )  /  a ]. [. ( t `  L )  /  w ]. [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph }  e.  (Dioph `  L ) )  ->  { a  e.  ( NN0  ^m  ( 1 ... M ) )  |  E. w  e. 
NN0  [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph }  e.  (Dioph `  M ) )
4710, 44, 46syl2anc 642 . . 3  |-  ( ( N  e.  NN0  /\  { t  e.  ( NN0 
^m  ( 1 ... L ) )  | 
[. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph }  e.  (Dioph `  L ) )  ->  { a  e.  ( NN0  ^m  ( 1 ... M ) )  |  E. w  e. 
NN0  [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. ph }  e.  (Dioph `  M ) )
486, 47syl5eqel 2380 . 2  |-  ( ( N  e.  NN0  /\  { t  e.  ( NN0 
^m  ( 1 ... L ) )  | 
[. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph }  e.  (Dioph `  L ) )  ->  { a  e.  ( NN0  ^m  ( 1 ... M ) )  |  [. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. E. w  e.  NN0  ph }  e.  (Dioph `  M ) )
497rexfrabdioph 26979 . 2  |-  ( ( N  e.  NN0  /\  { a  e.  ( NN0 
^m  ( 1 ... M ) )  | 
[. ( a  |`  ( 1 ... N
) )  /  u ]. [. ( a `  M )  /  v ]. E. w  e.  NN0  ph }  e.  (Dioph `  M ) )  ->  { u  e.  ( NN0  ^m  ( 1 ... N ) )  |  E. v  e.  NN0  E. w  e.  NN0  ph }  e.  (Dioph `  N )
)
5048, 49syldan 456 1  |-  ( ( N  e.  NN0  /\  { t  e.  ( NN0 
^m  ( 1 ... L ) )  | 
[. ( t  |`  ( 1 ... N
) )  /  u ]. [. ( t `  M )  /  v ]. [. ( t `  L )  /  w ]. ph }  e.  (Dioph `  L ) )  ->  { u  e.  ( NN0  ^m  ( 1 ... N ) )  |  E. v  e.  NN0  E. w  e.  NN0  ph }  e.  (Dioph `  N )
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358   A.wal 1530    = wceq 1632    e. wcel 1696   E.wrex 2557   {crab 2560   _Vcvv 2801   [.wsbc 3004    C_ wss 3165    |` cres 4707   ` cfv 5271  (class class class)co 5874    ^m cmap 6788   1c1 8754    + caddc 8756   NNcn 9762   NN0cn0 9981   ...cfz 10798  Diophcdioph 26937
This theorem is referenced by:  3rexfrabdioph  26981  4rexfrabdioph  26982  6rexfrabdioph  26983
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-inf2 7358  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-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830
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-rmo 2564  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-int 3879  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-of 6094  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-1o 6495  df-oadd 6499  df-er 6676  df-map 6790  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883  df-card 7588  df-cda 7810  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-nn 9763  df-n0 9982  df-z 10041  df-uz 10247  df-fz 10799  df-hash 11354  df-mzpcl 26904  df-mzp 26905  df-dioph 26938
  Copyright terms: Public domain W3C validator