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

Theorem erovlem 6605
Description: Lemma for eroprf 6606. (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 2567 . . . . . . 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 2567 . . . . . 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 2237 . . . . . . . . 9  |-  ( x  e.  J  <->  x  e.  ( A /. R ) )
6 vex 2733 . . . . . . . . . 10  |-  x  e. 
_V
76elqs 6564 . . . . . . . . 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 2237 . . . . . . . . 9  |-  ( y  e.  K  <->  y  e.  ( B /. S ) )
11 vex 2733 . . . . . . . . . 10  |-  y  e. 
_V
1211elqs 6564 . . . . . . . . 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 457 . . . . . . 7  |-  ( ( x  e.  J  /\  y  e.  K )  <->  ( E. p  e.  A  x  =  [ p ] R  /\  E. q  e.  B  y  =  [ q ] S
) )
15 reeanv 2639 . . . . . . 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 6604 . . . . . . 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 5174 . . . . . . 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 2172 . . . . . 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 449 . . . 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 5907 . 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 5858 . . 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 1521 . . . 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 1521 . . . . 5  |-  F/ z ( x  e.  J  /\  y  e.  K
)
40 nfiota1 5162 . . . . . 6  |-  F/_ z
( iota z E. p  e.  A  E. q  e.  B  ( (
x  =  [ p ] R  /\  y  =  [ q ] S
)  /\  z  =  [ ( p  .+  q ) ] T
) )
4140nfeq2 2324 . . . . 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 1558 . . . 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 2177 . . . . 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 461 . . . 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 5929 . . 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 2194 . 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 2228 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 1348   E!weu 2019    e. wcel 2141   E.wrex 2449    C_ wss 3121   class class class wbr 3989    X. cxp 4609   iotacio 5158   -->wf 5194  (class class class)co 5853   {coprab 5854    e. cmpo 5855    Er wer 6510   [cec 6511   /.cqs 6512
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 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-sbc 2956  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-er 6513  df-ec 6515  df-qs 6519
This theorem is referenced by:  eroprf  6606
  Copyright terms: Public domain W3C validator