ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  erovlem Unicode version

Theorem erovlem 6593
Description: Lemma for eroprf 6594. (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 108 . . . . . . . 8  |-  ( ( ( x  =  [
p ] R  /\  y  =  [ q ] S )  /\  z  =  [ ( p  .+  q ) ] T
)  ->  ( x  =  [ p ] R  /\  y  =  [
q ] S ) )
21reximi 2563 . . . . . . 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 2563 . . . . . 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 2233 . . . . . . . . 9  |-  ( x  e.  J  <->  x  e.  ( A /. R ) )
6 vex 2729 . . . . . . . . . 10  |-  x  e. 
_V
76elqs 6552 . . . . . . . . 9  |-  ( x  e.  ( A /. R )  <->  E. p  e.  A  x  =  [ p ] R
)
85, 7bitri 183 . . . . . . . 8  |-  ( x  e.  J  <->  E. p  e.  A  x  =  [ p ] R
)
9 eropr.2 . . . . . . . . . 10  |-  K  =  ( B /. S
)
109eleq2i 2233 . . . . . . . . 9  |-  ( y  e.  K  <->  y  e.  ( B /. S ) )
11 vex 2729 . . . . . . . . . 10  |-  y  e. 
_V
1211elqs 6552 . . . . . . . . 9  |-  ( y  e.  ( B /. S )  <->  E. q  e.  B  y  =  [ q ] S
)
1310, 12bitri 183 . . . . . . . 8  |-  ( y  e.  K  <->  E. q  e.  B  y  =  [ q ] S
)
148, 13anbi12i 456 . . . . . . 7  |-  ( ( x  e.  J  /\  y  e.  K )  <->  ( E. p  e.  A  x  =  [ p ] R  /\  E. q  e.  B  y  =  [ q ] S
) )
15 reeanv 2635 . . . . . . 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 186 . . . . . 6  |-  ( ( x  e.  J  /\  y  e.  K )  <->  E. p  e.  A  E. q  e.  B  (
x  =  [ p ] R  /\  y  =  [ q ] S
) )
173, 16sylibr 133 . . . . 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 390 . . . 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 6592 . . . . . . 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 5167 . . . . . . 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 14 . . . . . 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 2167 . . . . . 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, 31bitrdi 195 . . . . 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 448 . . . 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 191 . . 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 5896 . 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-mpo 5847 . . 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 1516 . . . 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 1516 . . . . 5  |-  F/ z ( x  e.  J  /\  y  e.  K
)
40 nfiota1 5155 . . . . . 6  |-  F/_ z
( iota z E. p  e.  A  E. q  e.  B  ( (
x  =  [ p ] R  /\  y  =  [ q ] S
)  /\  z  =  [ ( p  .+  q ) ] T
) )
4140nfeq2 2320 . . . . 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 1553 . . . 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 2172 . . . . 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 460 . . . 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 5918 . . 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 2189 . 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 2224 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    /\ wa 103    <-> wb 104    = wceq 1343   E!weu 2014    e. wcel 2136   E.wrex 2445    C_ wss 3116   class class class wbr 3982    X. cxp 4602   iotacio 5151   -->wf 5184  (class class class)co 5842   {coprab 5843    e. cmpo 5844    Er wer 6498   [cec 6499   /.cqs 6500
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-fv 5196  df-ov 5845  df-oprab 5846  df-mpo 5847  df-er 6501  df-ec 6503  df-qs 6507
This theorem is referenced by:  eroprf  6594
  Copyright terms: Public domain W3C validator