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

Theorem elnn0rabdioph 26547
Description: Diophantine set builder for nonnegativity constraints. The first builder which uses a witness variable internally; an expression is nonnegative if there is a nonnegative integer equal to it. (Contributed by Stefan O'Rear, 11-Oct-2014.)
Assertion
Ref Expression
elnn0rabdioph  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  ->  { t  e.  ( NN0  ^m  ( 1 ... N ) )  |  A  e.  NN0 }  e.  (Dioph `  N
) )
Distinct variable group:    t, N
Allowed substitution hint:    A( t)

Proof of Theorem elnn0rabdioph
Dummy variables  a 
b  c are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 risset 2689 . . . . . 6  |-  ( A  e.  NN0  <->  E. b  e.  NN0  b  =  A )
21a1i 11 . . . . 5  |-  ( t  e.  ( NN0  ^m  ( 1 ... N
) )  ->  ( A  e.  NN0  <->  E. b  e.  NN0  b  =  A ) )
32rabbiia 2882 . . . 4  |-  { t  e.  ( NN0  ^m  ( 1 ... N
) )  |  A  e.  NN0 }  =  {
t  e.  ( NN0 
^m  ( 1 ... N ) )  |  E. b  e.  NN0  b  =  A }
43a1i 11 . . 3  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  ->  { t  e.  ( NN0  ^m  ( 1 ... N ) )  |  A  e.  NN0 }  =  { t  e.  ( NN0  ^m  (
1 ... N ) )  |  E. b  e. 
NN0  b  =  A } )
5 nfcv 2516 . . . 4  |-  F/_ t
( NN0  ^m  (
1 ... N ) )
6 nfcv 2516 . . . 4  |-  F/_ a
( NN0  ^m  (
1 ... N ) )
7 nfv 1626 . . . 4  |-  F/ a E. b  e.  NN0  b  =  A
8 nfcv 2516 . . . . 5  |-  F/_ t NN0
9 nfcsb1v 3219 . . . . . 6  |-  F/_ t [_ a  /  t ]_ A
109nfeq2 2527 . . . . 5  |-  F/ t  b  =  [_ a  /  t ]_ A
118, 10nfrex 2697 . . . 4  |-  F/ t E. b  e.  NN0  b  =  [_ a  / 
t ]_ A
12 csbeq1a 3195 . . . . . 6  |-  ( t  =  a  ->  A  =  [_ a  /  t ]_ A )
1312eqeq2d 2391 . . . . 5  |-  ( t  =  a  ->  (
b  =  A  <->  b  =  [_ a  /  t ]_ A ) )
1413rexbidv 2663 . . . 4  |-  ( t  =  a  ->  ( E. b  e.  NN0  b  =  A  <->  E. b  e.  NN0  b  =  [_ a  /  t ]_ A
) )
155, 6, 7, 11, 14cbvrab 2890 . . 3  |-  { t  e.  ( NN0  ^m  ( 1 ... N
) )  |  E. b  e.  NN0  b  =  A }  =  {
a  e.  ( NN0 
^m  ( 1 ... N ) )  |  E. b  e.  NN0  b  =  [_ a  / 
t ]_ A }
164, 15syl6eq 2428 . 2  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  ->  { t  e.  ( NN0  ^m  ( 1 ... N ) )  |  A  e.  NN0 }  =  { a  e.  ( NN0  ^m  (
1 ... N ) )  |  E. b  e. 
NN0  b  =  [_ a  /  t ]_ A } )
17 peano2nn0 10185 . . . . 5  |-  ( N  e.  NN0  ->  ( N  +  1 )  e. 
NN0 )
1817adantr 452 . . . 4  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  -> 
( N  +  1 )  e.  NN0 )
19 ovex 6038 . . . . 5  |-  ( 1 ... ( N  + 
1 ) )  e. 
_V
20 nn0p1nn 10184 . . . . . . 7  |-  ( N  e.  NN0  ->  ( N  +  1 )  e.  NN )
21 elfz1end 11006 . . . . . . 7  |-  ( ( N  +  1 )  e.  NN  <->  ( N  +  1 )  e.  ( 1 ... ( N  +  1 ) ) )
2220, 21sylib 189 . . . . . 6  |-  ( N  e.  NN0  ->  ( N  +  1 )  e.  ( 1 ... ( N  +  1 ) ) )
2322adantr 452 . . . . 5  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  -> 
( N  +  1 )  e.  ( 1 ... ( N  + 
1 ) ) )
24 mzpproj 26478 . . . . 5  |-  ( ( ( 1 ... ( N  +  1 ) )  e.  _V  /\  ( N  +  1
)  e.  ( 1 ... ( N  + 
1 ) ) )  ->  ( c  e.  ( ZZ  ^m  (
1 ... ( N  + 
1 ) ) ) 
|->  ( c `  ( N  +  1 ) ) )  e.  (mzPoly `  ( 1 ... ( N  +  1 ) ) ) )
2519, 23, 24sylancr 645 . . . 4  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  -> 
( c  e.  ( ZZ  ^m  ( 1 ... ( N  + 
1 ) ) ) 
|->  ( c `  ( N  +  1 ) ) )  e.  (mzPoly `  ( 1 ... ( N  +  1 ) ) ) )
26 eqid 2380 . . . . 5  |-  ( N  +  1 )  =  ( N  +  1 )
2726rabdiophlem2 26546 . . . 4  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  -> 
( c  e.  ( ZZ  ^m  ( 1 ... ( N  + 
1 ) ) ) 
|->  [_ ( c  |`  ( 1 ... N
) )  /  t ]_ A )  e.  (mzPoly `  ( 1 ... ( N  +  1 ) ) ) )
28 eqrabdioph 26520 . . . 4  |-  ( ( ( N  +  1 )  e.  NN0  /\  ( c  e.  ( ZZ  ^m  ( 1 ... ( N  + 
1 ) ) ) 
|->  ( c `  ( N  +  1 ) ) )  e.  (mzPoly `  ( 1 ... ( N  +  1 ) ) )  /\  (
c  e.  ( ZZ 
^m  ( 1 ... ( N  +  1 ) ) )  |->  [_ ( c  |`  (
1 ... N ) )  /  t ]_ A
)  e.  (mzPoly `  ( 1 ... ( N  +  1 ) ) ) )  ->  { c  e.  ( NN0  ^m  ( 1 ... ( N  + 
1 ) ) )  |  ( c `  ( N  +  1
) )  =  [_ ( c  |`  (
1 ... N ) )  /  t ]_ A }  e.  (Dioph `  ( N  +  1 ) ) )
2918, 25, 27, 28syl3anc 1184 . . 3  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  ->  { c  e.  ( NN0  ^m  ( 1 ... ( N  + 
1 ) ) )  |  ( c `  ( N  +  1
) )  =  [_ ( c  |`  (
1 ... N ) )  /  t ]_ A }  e.  (Dioph `  ( N  +  1 ) ) )
30 eqeq1 2386 . . . 4  |-  ( b  =  ( c `  ( N  +  1
) )  ->  (
b  =  [_ a  /  t ]_ A  <->  ( c `  ( N  +  1 ) )  =  [_ a  / 
t ]_ A ) )
31 csbeq1 3190 . . . . 5  |-  ( a  =  ( c  |`  ( 1 ... N
) )  ->  [_ a  /  t ]_ A  =  [_ ( c  |`  ( 1 ... N
) )  /  t ]_ A )
3231eqeq2d 2391 . . . 4  |-  ( a  =  ( c  |`  ( 1 ... N
) )  ->  (
( c `  ( N  +  1 ) )  =  [_ a  /  t ]_ A  <->  ( c `  ( N  +  1 ) )  =  [_ ( c  |`  ( 1 ... N
) )  /  t ]_ A ) )
3326, 30, 32rexrabdioph 26538 . . 3  |-  ( ( N  e.  NN0  /\  { c  e.  ( NN0 
^m  ( 1 ... ( N  +  1 ) ) )  |  ( c `  ( N  +  1 ) )  =  [_ (
c  |`  ( 1 ... N ) )  / 
t ]_ A }  e.  (Dioph `  ( N  + 
1 ) ) )  ->  { a  e.  ( NN0  ^m  (
1 ... N ) )  |  E. b  e. 
NN0  b  =  [_ a  /  t ]_ A }  e.  (Dioph `  N
) )
3429, 33syldan 457 . 2  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  ->  { a  e.  ( NN0  ^m  ( 1 ... N ) )  |  E. b  e. 
NN0  b  =  [_ a  /  t ]_ A }  e.  (Dioph `  N
) )
3516, 34eqeltrd 2454 1  |-  ( ( N  e.  NN0  /\  ( t  e.  ( ZZ  ^m  ( 1 ... N ) ) 
|->  A )  e.  (mzPoly `  ( 1 ... N
) ) )  ->  { t  e.  ( NN0  ^m  ( 1 ... N ) )  |  A  e.  NN0 }  e.  (Dioph `  N
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    = wceq 1649    e. wcel 1717   E.wrex 2643   {crab 2646   _Vcvv 2892   [_csb 3187    e. cmpt 4200    |` cres 4813   ` cfv 5387  (class class class)co 6013    ^m cmap 6947   1c1 8917    + caddc 8919   NNcn 9925   NN0cn0 10146   ZZcz 10207   ...cfz 10968  mzPolycmzp 26463  Diophcdioph 26497
This theorem is referenced by:  lerabdioph  26549
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2361  ax-rep 4254  ax-sep 4264  ax-nul 4272  ax-pow 4311  ax-pr 4337  ax-un 4634  ax-inf2 7522  ax-cnex 8972  ax-resscn 8973  ax-1cn 8974  ax-icn 8975  ax-addcl 8976  ax-addrcl 8977  ax-mulcl 8978  ax-mulrcl 8979  ax-mulcom 8980  ax-addass 8981  ax-mulass 8982  ax-distr 8983  ax-i2m1 8984  ax-1ne0 8985  ax-1rid 8986  ax-rnegex 8987  ax-rrecex 8988  ax-cnre 8989  ax-pre-lttri 8990  ax-pre-lttrn 8991  ax-pre-ltadd 8992  ax-pre-mulgt0 8993
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-nel 2546  df-ral 2647  df-rex 2648  df-reu 2649  df-rmo 2650  df-rab 2651  df-v 2894  df-sbc 3098  df-csb 3188  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-pss 3272  df-nul 3565  df-if 3676  df-pw 3737  df-sn 3756  df-pr 3757  df-tp 3758  df-op 3759  df-uni 3951  df-int 3986  df-iun 4030  df-br 4147  df-opab 4201  df-mpt 4202  df-tr 4237  df-eprel 4428  df-id 4432  df-po 4437  df-so 4438  df-fr 4475  df-we 4477  df-ord 4518  df-on 4519  df-lim 4520  df-suc 4521  df-om 4779  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-rn 4822  df-res 4823  df-ima 4824  df-iota 5351  df-fun 5389  df-fn 5390  df-f 5391  df-f1 5392  df-fo 5393  df-f1o 5394  df-fv 5395  df-ov 6016  df-oprab 6017  df-mpt2 6018  df-of 6237  df-1st 6281  df-2nd 6282  df-riota 6478  df-recs 6562  df-rdg 6597  df-1o 6653  df-oadd 6657  df-er 6834  df-map 6949  df-en 7039  df-dom 7040  df-sdom 7041  df-fin 7042  df-card 7752  df-cda 7974  df-pnf 9048  df-mnf 9049  df-xr 9050  df-ltxr 9051  df-le 9052  df-sub 9218  df-neg 9219  df-nn 9926  df-n0 10147  df-z 10208  df-uz 10414  df-fz 10969  df-hash 11539  df-mzpcl 26464  df-mzp 26465  df-dioph 26498
  Copyright terms: Public domain W3C validator