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

Theorem erovlem 6770
Description: Lemma for erov 6771 and eroprf 6772. (Contributed by Jeff Madsen, 10-Jun-2010.) (Revised by Mario Carneiro, 30-Dec-2014.)
Hypotheses
Ref Expression
eropr.1  |-  J  =  ( A /. R
)
eropr.2  |-  K  =  ( B /. S
)
eropr.3  |-  ( ph  ->  T  e.  Z )
eropr.4  |-  ( ph  ->  R  Er  U )
eropr.5  |-  ( ph  ->  S  Er  V )
eropr.6  |-  ( ph  ->  T  Er  W )
eropr.7  |-  ( ph  ->  A  C_  U )
eropr.8  |-  ( ph  ->  B  C_  V )
eropr.9  |-  ( ph  ->  C  C_  W )
eropr.10  |-  ( ph  ->  .+  : ( A  X.  B ) --> C )
eropr.11  |-  ( (
ph  /\  ( (
r  e.  A  /\  s  e.  A )  /\  ( t  e.  B  /\  u  e.  B
) ) )  -> 
( ( r R s  /\  t S u )  ->  (
r  .+  t ) T ( s  .+  u ) ) )
eropr.12  |-  .+^  =  { <. <. x ,  y
>. ,  z >.  |  E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) }
Assertion
Ref Expression
erovlem  |-  ( ph  -> 
.+^  =  ( x  e.  J ,  y  e.  K  |->  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) )
Distinct variable groups:    q, p, r, s, t, u, x, y, z, A    B, p, q, r, s, t, u, x, y, z    J, p, q, x, y, z    R, p, q, r, s, t, u, x, y, z    K, p, q, x, y, z    S, p, q, r, s, t, u, x, y, z    .+ , p, q, r, s, t, u, x, y, z    ph, p, q, r, s, t, u, x, y, z    T, p, q, r, s, t, u, x, y, z
Allowed substitution hints:    C( x, y, z, u, t, s, r, q, p)    .+^ ( x, y, z, u, t, s, r, q, p)    U( x, y, z, u, t, s, r, q, p)    J( u, t, s, r)    K( u, t, s, r)    V( x, y, z, u, t, s, r, q, p)    W( x, y, z, u, t, s, r, q, p)    Z( x, y, z, u, t, s, r, q, p)

Proof of Theorem erovlem
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 simpl 443 . . . . . . . 8  |-  ( ( ( x  =  [
p ] R  /\  y  =  [ q ] S )  /\  z  =  [ ( p  .+  q ) ] T
)  ->  ( x  =  [ p ] R  /\  y  =  [
q ] S ) )
21reximi 2663 . . . . . . 7  |-  ( E. q  e.  B  ( ( x  =  [
p ] R  /\  y  =  [ q ] S )  /\  z  =  [ ( p  .+  q ) ] T
)  ->  E. q  e.  B  ( x  =  [ p ] R  /\  y  =  [
q ] S ) )
32reximi 2663 . . . . . 6  |-  ( E. p  e.  A  E. q  e.  B  (
( x  =  [
p ] R  /\  y  =  [ q ] S )  /\  z  =  [ ( p  .+  q ) ] T
)  ->  E. p  e.  A  E. q  e.  B  ( x  =  [ p ] R  /\  y  =  [
q ] S ) )
4 eropr.1 . . . . . . . . . 10  |-  J  =  ( A /. R
)
54eleq2i 2360 . . . . . . . . 9  |-  ( x  e.  J  <->  x  e.  ( A /. R ) )
6 vex 2804 . . . . . . . . . 10  |-  x  e. 
_V
76elqs 6728 . . . . . . . . 9  |-  ( x  e.  ( A /. R )  <->  E. p  e.  A  x  =  [ p ] R
)
85, 7bitri 240 . . . . . . . 8  |-  ( x  e.  J  <->  E. p  e.  A  x  =  [ p ] R
)
9 eropr.2 . . . . . . . . . 10  |-  K  =  ( B /. S
)
109eleq2i 2360 . . . . . . . . 9  |-  ( y  e.  K  <->  y  e.  ( B /. S ) )
11 vex 2804 . . . . . . . . . 10  |-  y  e. 
_V
1211elqs 6728 . . . . . . . . 9  |-  ( y  e.  ( B /. S )  <->  E. q  e.  B  y  =  [ q ] S
)
1310, 12bitri 240 . . . . . . . 8  |-  ( y  e.  K  <->  E. q  e.  B  y  =  [ q ] S
)
148, 13anbi12i 678 . . . . . . 7  |-  ( ( x  e.  J  /\  y  e.  K )  <->  ( E. p  e.  A  x  =  [ p ] R  /\  E. q  e.  B  y  =  [ q ] S
) )
15 reeanv 2720 . . . . . . 7  |-  ( E. p  e.  A  E. q  e.  B  (
x  =  [ p ] R  /\  y  =  [ q ] S
)  <->  ( E. p  e.  A  x  =  [ p ] R  /\  E. q  e.  B  y  =  [ q ] S ) )
1614, 15bitr4i 243 . . . . . 6  |-  ( ( x  e.  J  /\  y  e.  K )  <->  E. p  e.  A  E. q  e.  B  (
x  =  [ p ] R  /\  y  =  [ q ] S
) )
173, 16sylibr 203 . . . . 5  |-  ( E. p  e.  A  E. q  e.  B  (
( x  =  [
p ] R  /\  y  =  [ q ] S )  /\  z  =  [ ( p  .+  q ) ] T
)  ->  ( x  e.  J  /\  y  e.  K ) )
1817pm4.71ri 614 . . . 4  |-  ( E. p  e.  A  E. q  e.  B  (
( x  =  [
p ] R  /\  y  =  [ q ] S )  /\  z  =  [ ( p  .+  q ) ] T
)  <->  ( ( x  e.  J  /\  y  e.  K )  /\  E. p  e.  A  E. q  e.  B  (
( x  =  [
p ] R  /\  y  =  [ q ] S )  /\  z  =  [ ( p  .+  q ) ] T
) ) )
19 eropr.3 . . . . . . . 8  |-  ( ph  ->  T  e.  Z )
20 eropr.4 . . . . . . . 8  |-  ( ph  ->  R  Er  U )
21 eropr.5 . . . . . . . 8  |-  ( ph  ->  S  Er  V )
22 eropr.6 . . . . . . . 8  |-  ( ph  ->  T  Er  W )
23 eropr.7 . . . . . . . 8  |-  ( ph  ->  A  C_  U )
24 eropr.8 . . . . . . . 8  |-  ( ph  ->  B  C_  V )
25 eropr.9 . . . . . . . 8  |-  ( ph  ->  C  C_  W )
26 eropr.10 . . . . . . . 8  |-  ( ph  ->  .+  : ( A  X.  B ) --> C )
27 eropr.11 . . . . . . . 8  |-  ( (
ph  /\  ( (
r  e.  A  /\  s  e.  A )  /\  ( t  e.  B  /\  u  e.  B
) ) )  -> 
( ( r R s  /\  t S u )  ->  (
r  .+  t ) T ( s  .+  u ) ) )
284, 9, 19, 20, 21, 22, 23, 24, 25, 26, 27eroveu 6769 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  J  /\  y  e.  K ) )  ->  E! z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) )
29 iota1 5249 . . . . . . 7  |-  ( E! z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T )  ->  ( E. p  e.  A  E. q  e.  B  ( (
x  =  [ p ] R  /\  y  =  [ q ] S
)  /\  z  =  [ ( p  .+  q ) ] T
)  <->  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) )  =  z ) )
3028, 29syl 15 . . . . . 6  |-  ( (
ph  /\  ( x  e.  J  /\  y  e.  K ) )  -> 
( E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T )  <-> 
( iota z E. p  e.  A  E. q  e.  B  ( (
x  =  [ p ] R  /\  y  =  [ q ] S
)  /\  z  =  [ ( p  .+  q ) ] T
) )  =  z ) )
31 eqcom 2298 . . . . . 6  |-  ( ( iota z E. p  e.  A  E. q  e.  B  ( (
x  =  [ p ] R  /\  y  =  [ q ] S
)  /\  z  =  [ ( p  .+  q ) ] T
) )  =  z  <-> 
z  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) )
3230, 31syl6bb 252 . . . . 5  |-  ( (
ph  /\  ( x  e.  J  /\  y  e.  K ) )  -> 
( E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T )  <-> 
z  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) )
3332pm5.32da 622 . . . 4  |-  ( ph  ->  ( ( ( x  e.  J  /\  y  e.  K )  /\  E. p  e.  A  E. q  e.  B  (
( x  =  [
p ] R  /\  y  =  [ q ] S )  /\  z  =  [ ( p  .+  q ) ] T
) )  <->  ( (
x  e.  J  /\  y  e.  K )  /\  z  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) ) )
3418, 33syl5bb 248 . . 3  |-  ( ph  ->  ( E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T )  <-> 
( ( x  e.  J  /\  y  e.  K )  /\  z  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) ) )
3534oprabbidv 5918 . 2  |-  ( ph  ->  { <. <. x ,  y
>. ,  z >.  |  E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) }  =  { <. <.
x ,  y >. ,  z >.  |  ( ( x  e.  J  /\  y  e.  K
)  /\  z  =  ( iota z E. p  e.  A  E. q  e.  B  ( (
x  =  [ p ] R  /\  y  =  [ q ] S
)  /\  z  =  [ ( p  .+  q ) ] T
) ) ) } )
36 eropr.12 . 2  |-  .+^  =  { <. <. x ,  y
>. ,  z >.  |  E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) }
37 df-mpt2 5879 . . 3  |-  ( x  e.  J ,  y  e.  K  |->  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) )  =  { <. <. x ,  y
>. ,  w >.  |  ( ( x  e.  J  /\  y  e.  K )  /\  w  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) }
38 nfv 1609 . . . 4  |-  F/ w
( ( x  e.  J  /\  y  e.  K )  /\  z  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) )
39 nfv 1609 . . . . 5  |-  F/ z ( x  e.  J  /\  y  e.  K
)
40 nfiota1 5237 . . . . . 6  |-  F/_ z
( iota z E. p  e.  A  E. q  e.  B  ( (
x  =  [ p ] R  /\  y  =  [ q ] S
)  /\  z  =  [ ( p  .+  q ) ] T
) )
4140nfeq2 2443 . . . . 5  |-  F/ z  w  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) )
4239, 41nfan 1783 . . . 4  |-  F/ z ( ( x  e.  J  /\  y  e.  K )  /\  w  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) )
43 eqeq1 2302 . . . . 5  |-  ( z  =  w  ->  (
z  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) )  <->  w  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) )
4443anbi2d 684 . . . 4  |-  ( z  =  w  ->  (
( ( x  e.  J  /\  y  e.  K )  /\  z  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) )  <->  ( (
x  e.  J  /\  y  e.  K )  /\  w  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) ) )
4538, 42, 44cbvoprab3 5938 . . 3  |-  { <. <.
x ,  y >. ,  z >.  |  ( ( x  e.  J  /\  y  e.  K
)  /\  z  =  ( iota z E. p  e.  A  E. q  e.  B  ( (
x  =  [ p ] R  /\  y  =  [ q ] S
)  /\  z  =  [ ( p  .+  q ) ] T
) ) ) }  =  { <. <. x ,  y >. ,  w >.  |  ( ( x  e.  J  /\  y  e.  K )  /\  w  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) }
4637, 45eqtr4i 2319 . 2  |-  ( x  e.  J ,  y  e.  K  |->  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) )  =  { <. <. x ,  y
>. ,  z >.  |  ( ( x  e.  J  /\  y  e.  K )  /\  z  =  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) }
4735, 36, 463eqtr4g 2353 1  |-  ( ph  -> 
.+^  =  ( x  e.  J ,  y  e.  K  |->  ( iota z E. p  e.  A  E. q  e.  B  ( ( x  =  [ p ] R  /\  y  =  [
q ] S )  /\  z  =  [
( p  .+  q
) ] T ) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1632    e. wcel 1696   E!weu 2156   E.wrex 2557    C_ wss 3165   class class class wbr 4039    X. cxp 4703   iotacio 5233   -->wf 5267  (class class class)co 5874   {coprab 5875    e. cmpt2 5876    Er wer 6673   [cec 6674   /.cqs 6675
This theorem is referenced by:  erov  6771  eroprf  6772
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-sep 4157  ax-nul 4165  ax-pr 4230  ax-un 4528
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  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-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-sbc 3005  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-br 4040  df-opab 4094  df-id 4325  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-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-er 6676  df-ec 6678  df-qs 6682
  Copyright terms: Public domain W3C validator