MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  opsrle Unicode version

Theorem opsrle 16217
Description: An alternative expression for the set of polynomials, as the smallest subalgebra of the set of power series that contains all the variable generators. (Contributed by Mario Carneiro, 8-Feb-2015.) (Revised by Mario Carneiro, 2-Oct-2015.)
Hypotheses
Ref Expression
opsrle.s  |-  S  =  ( I mPwSer  R )
opsrle.o  |-  O  =  ( ( I ordPwSer  R
) `  T )
opsrle.b  |-  B  =  ( Base `  S
)
opsrle.q  |-  .<  =  ( lt `  R )
opsrle.c  |-  C  =  ( T  <bag  I )
opsrle.d  |-  D  =  { h  e.  ( NN0  ^m  I )  |  ( `' h " NN )  e.  Fin }
opsrle.l  |-  .<_  =  ( le `  O )
opsrle.t  |-  ( ph  ->  T  C_  ( I  X.  I ) )
Assertion
Ref Expression
opsrle  |-  ( ph  -> 
.<_  =  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) } )
Distinct variable groups:    x, y, B    z, w, D    w, h, x, y, z, I   
w, R, x, y, z    ph, w, x, y, z    w, T, x, y, z
Allowed substitution hints:    ph( h)    B( z, w, h)    C( x, y, z, w, h)    D( x, y, h)    R( h)    S( x, y, z, w, h)    .< ( x, y, z, w, h)    T( h)    .<_ ( x, y, z, w, h)    O( x, y, z, w, h)

Proof of Theorem opsrle
StepHypRef Expression
1 opsrle.s . . . . 5  |-  S  =  ( I mPwSer  R )
2 opsrle.o . . . . 5  |-  O  =  ( ( I ordPwSer  R
) `  T )
3 opsrle.b . . . . 5  |-  B  =  ( Base `  S
)
4 opsrle.q . . . . 5  |-  .<  =  ( lt `  R )
5 opsrle.c . . . . 5  |-  C  =  ( T  <bag  I )
6 opsrle.d . . . . 5  |-  D  =  { h  e.  ( NN0  ^m  I )  |  ( `' h " NN )  e.  Fin }
7 eqid 2283 . . . . 5  |-  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }  =  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }
8 simprl 732 . . . . 5  |-  ( (
ph  /\  ( I  e.  _V  /\  R  e. 
_V ) )  ->  I  e.  _V )
9 simprr 733 . . . . 5  |-  ( (
ph  /\  ( I  e.  _V  /\  R  e. 
_V ) )  ->  R  e.  _V )
10 opsrle.t . . . . . 6  |-  ( ph  ->  T  C_  ( I  X.  I ) )
1110adantr 451 . . . . 5  |-  ( (
ph  /\  ( I  e.  _V  /\  R  e. 
_V ) )  ->  T  C_  ( I  X.  I ) )
121, 2, 3, 4, 5, 6, 7, 8, 9, 11opsrval 16216 . . . 4  |-  ( (
ph  /\  ( I  e.  _V  /\  R  e. 
_V ) )  ->  O  =  ( S sSet  <.
( le `  ndx ) ,  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) } >. ) )
1312fveq2d 5529 . . 3  |-  ( (
ph  /\  ( I  e.  _V  /\  R  e. 
_V ) )  -> 
( le `  O
)  =  ( le
`  ( S sSet  <. ( le `  ndx ) ,  { <. x ,  y
>.  |  ( {
x ,  y } 
C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) } >. ) ) )
14 opsrle.l . . 3  |-  .<_  =  ( le `  O )
15 ovex 5883 . . . . 5  |-  ( I mPwSer  R )  e.  _V
161, 15eqeltri 2353 . . . 4  |-  S  e. 
_V
17 fvex 5539 . . . . . . 7  |-  ( Base `  S )  e.  _V
183, 17eqeltri 2353 . . . . . 6  |-  B  e. 
_V
1918, 18xpex 4801 . . . . 5  |-  ( B  X.  B )  e. 
_V
20 vex 2791 . . . . . . . . 9  |-  x  e. 
_V
21 vex 2791 . . . . . . . . 9  |-  y  e. 
_V
2220, 21prss 3769 . . . . . . . 8  |-  ( ( x  e.  B  /\  y  e.  B )  <->  { x ,  y } 
C_  B )
2322anbi1i 676 . . . . . . 7  |-  ( ( ( x  e.  B  /\  y  e.  B
)  /\  ( E. z  e.  D  (
( x `  z
)  .<  ( y `  z )  /\  A. w  e.  D  (
w C z  -> 
( x `  w
)  =  ( y `
 w ) ) )  \/  x  =  y ) )  <->  ( {
x ,  y } 
C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) )
2423opabbii 4083 . . . . . 6  |-  { <. x ,  y >.  |  ( ( x  e.  B  /\  y  e.  B
)  /\  ( E. z  e.  D  (
( x `  z
)  .<  ( y `  z )  /\  A. w  e.  D  (
w C z  -> 
( x `  w
)  =  ( y `
 w ) ) )  \/  x  =  y ) ) }  =  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }
25 opabssxp 4762 . . . . . 6  |-  { <. x ,  y >.  |  ( ( x  e.  B  /\  y  e.  B
)  /\  ( E. z  e.  D  (
( x `  z
)  .<  ( y `  z )  /\  A. w  e.  D  (
w C z  -> 
( x `  w
)  =  ( y `
 w ) ) )  \/  x  =  y ) ) } 
C_  ( B  X.  B )
2624, 25eqsstr3i 3209 . . . . 5  |-  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }  C_  ( B  X.  B )
2719, 26ssexi 4159 . . . 4  |-  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }  e.  _V
28 pleid 13301 . . . . 5  |-  le  = Slot  ( le `  ndx )
2928setsid 13187 . . . 4  |-  ( ( S  e.  _V  /\  {
<. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( (
x `  z )  .<  ( y `  z
)  /\  A. w  e.  D  ( w C z  ->  (
x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }  e.  _V )  ->  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }  =  ( le
`  ( S sSet  <. ( le `  ndx ) ,  { <. x ,  y
>.  |  ( {
x ,  y } 
C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) } >. ) ) )
3016, 27, 29mp2an 653 . . 3  |-  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }  =  ( le
`  ( S sSet  <. ( le `  ndx ) ,  { <. x ,  y
>.  |  ( {
x ,  y } 
C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) } >. ) )
3113, 14, 303eqtr4g 2340 . 2  |-  ( (
ph  /\  ( I  e.  _V  /\  R  e. 
_V ) )  ->  .<_  =  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) } )
32 reldmopsr 16215 . . . . . . . . . 10  |-  Rel  dom ordPwSer
3332ovprc 5885 . . . . . . . . 9  |-  ( -.  ( I  e.  _V  /\  R  e.  _V )  ->  ( I ordPwSer  R )  =  (/) )
3433adantl 452 . . . . . . . 8  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  ( I ordPwSer  R )  =  (/) )
3534fveq1d 5527 . . . . . . 7  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  ( (
I ordPwSer  R ) `  T
)  =  ( (/) `  T ) )
362, 35syl5eq 2327 . . . . . 6  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  O  =  ( (/) `  T ) )
37 fv01 5559 . . . . . 6  |-  ( (/) `  T )  =  (/)
3836, 37syl6eq 2331 . . . . 5  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  O  =  (/) )
3938fveq2d 5529 . . . 4  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  ( le `  O )  =  ( le `  (/) ) )
4028str0 13184 . . . 4  |-  (/)  =  ( le `  (/) )
4139, 14, 403eqtr4g 2340 . . 3  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  .<_  =  (/) )
42 reldmpsr 16109 . . . . . . . . . . 11  |-  Rel  dom mPwSer
4342ovprc 5885 . . . . . . . . . 10  |-  ( -.  ( I  e.  _V  /\  R  e.  _V )  ->  ( I mPwSer  R )  =  (/) )
4443adantl 452 . . . . . . . . 9  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  ( I mPwSer  R )  =  (/) )
451, 44syl5eq 2327 . . . . . . . 8  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  S  =  (/) )
4645fveq2d 5529 . . . . . . 7  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  ( Base `  S )  =  (
Base `  (/) ) )
47 base0 13185 . . . . . . 7  |-  (/)  =  (
Base `  (/) )
4846, 3, 473eqtr4g 2340 . . . . . 6  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  B  =  (/) )
4948xpeq2d 4713 . . . . 5  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  ( B  X.  B )  =  ( B  X.  (/) ) )
50 xp0 5098 . . . . 5  |-  ( B  X.  (/) )  =  (/)
5149, 50syl6eq 2331 . . . 4  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  ( B  X.  B )  =  (/) )
52 sseq0 3486 . . . 4  |-  ( ( { <. x ,  y
>.  |  ( {
x ,  y } 
C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }  C_  ( B  X.  B )  /\  ( B  X.  B )  =  (/) )  ->  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }  =  (/) )
5326, 51, 52sylancr 644 . . 3  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) }  =  (/) )
5441, 53eqtr4d 2318 . 2  |-  ( (
ph  /\  -.  (
I  e.  _V  /\  R  e.  _V )
)  ->  .<_  =  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( (
x `  z )  .<  ( y `  z
)  /\  A. w  e.  D  ( w C z  ->  (
x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) } )
5531, 54pm2.61dan 766 1  |-  ( ph  -> 
.<_  =  { <. x ,  y >.  |  ( { x ,  y }  C_  B  /\  ( E. z  e.  D  ( ( x `  z )  .<  (
y `  z )  /\  A. w  e.  D  ( w C z  ->  ( x `  w )  =  ( y `  w ) ) )  \/  x  =  y ) ) } )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    \/ wo 357    /\ wa 358    = wceq 1623    e. wcel 1684   A.wral 2543   E.wrex 2544   {crab 2547   _Vcvv 2788    C_ wss 3152   (/)c0 3455   {cpr 3641   <.cop 3643   class class class wbr 4023   {copab 4076    X. cxp 4687   `'ccnv 4688   "cima 4692   ` cfv 5255  (class class class)co 5858    ^m cmap 6772   Fincfn 6863   NNcn 9746   NN0cn0 9965   ndxcnx 13145   sSet csts 13146   Basecbs 13148   lecple 13215   ltcplt 14075   mPwSer cmps 16087    <bag cltb 16094   ordPwSer copws 16095
This theorem is referenced by:  opsrval2  16218  opsrtoslem1  16225
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-i2m1 8805  ax-1ne0 8806  ax-rrecex 8809  ax-cnre 8810
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 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-recs 6388  df-rdg 6423  df-nn 9747  df-2 9804  df-3 9805  df-4 9806  df-5 9807  df-6 9808  df-7 9809  df-8 9810  df-9 9811  df-10 9812  df-ndx 13151  df-slot 13152  df-base 13153  df-sets 13154  df-ple 13228  df-psr 16098  df-opsr 16106
  Copyright terms: Public domain W3C validator