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

Theorem ecopovsym 7849
Description: Assuming the operation  F is commutative, show that the relation  .~, specified by the first hypothesis, is symmetric. (Contributed by NM, 27-Aug-1995.) (Revised by Mario Carneiro, 26-Apr-2015.)
Hypotheses
Ref Expression
ecopopr.1  |-  .~  =  { <. x ,  y
>.  |  ( (
x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ( z 
.+  u )  =  ( w  .+  v
) ) ) }
ecopopr.com  |-  ( x 
.+  y )  =  ( y  .+  x
)
Assertion
Ref Expression
ecopovsym  |-  ( A  .~  B  ->  B  .~  A )
Distinct variable groups:    x, y,
z, w, v, u, 
.+    x, S, y, z, w, v, u
Allowed substitution hints:    A( x, y, z, w, v, u)    B( x, y, z, w, v, u)    .~ ( x, y, z, w, v, u)

Proof of Theorem ecopovsym
Dummy variables  f 
g  h  t are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ecopopr.1 . . . . 5  |-  .~  =  { <. x ,  y
>.  |  ( (
x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ( z 
.+  u )  =  ( w  .+  v
) ) ) }
2 opabssxp 5193 . . . . 5  |-  { <. x ,  y >.  |  ( ( x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ( z  .+  u
)  =  ( w 
.+  v ) ) ) }  C_  (
( S  X.  S
)  X.  ( S  X.  S ) )
31, 2eqsstri 3635 . . . 4  |-  .~  C_  (
( S  X.  S
)  X.  ( S  X.  S ) )
43brel 5168 . . 3  |-  ( A  .~  B  ->  ( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S
) ) )
5 eqid 2622 . . . 4  |-  ( S  X.  S )  =  ( S  X.  S
)
6 breq1 4656 . . . . 5  |-  ( <.
f ,  g >.  =  A  ->  ( <.
f ,  g >.  .~  <. h ,  t
>. 
<->  A  .~  <. h ,  t >. )
)
7 breq2 4657 . . . . 5  |-  ( <.
f ,  g >.  =  A  ->  ( <.
h ,  t >.  .~  <. f ,  g
>. 
<-> 
<. h ,  t >.  .~  A ) )
86, 7bibi12d 335 . . . 4  |-  ( <.
f ,  g >.  =  A  ->  ( (
<. f ,  g >.  .~  <. h ,  t
>. 
<-> 
<. h ,  t >.  .~  <. f ,  g
>. )  <->  ( A  .~  <.
h ,  t >.  <->  <.
h ,  t >.  .~  A ) ) )
9 breq2 4657 . . . . 5  |-  ( <.
h ,  t >.  =  B  ->  ( A  .~  <. h ,  t
>. 
<->  A  .~  B ) )
10 breq1 4656 . . . . 5  |-  ( <.
h ,  t >.  =  B  ->  ( <.
h ,  t >.  .~  A  <->  B  .~  A ) )
119, 10bibi12d 335 . . . 4  |-  ( <.
h ,  t >.  =  B  ->  ( ( A  .~  <. h ,  t >.  <->  <. h ,  t >.  .~  A )  <-> 
( A  .~  B  <->  B  .~  A ) ) )
121ecopoveq 7848 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( <. f ,  g
>.  .~  <. h ,  t
>. 
<->  ( f  .+  t
)  =  ( g 
.+  h ) ) )
13 vex 3203 . . . . . . . . 9  |-  f  e. 
_V
14 vex 3203 . . . . . . . . 9  |-  t  e. 
_V
15 ecopopr.com . . . . . . . . 9  |-  ( x 
.+  y )  =  ( y  .+  x
)
1613, 14, 15caovcom 6831 . . . . . . . 8  |-  ( f 
.+  t )  =  ( t  .+  f
)
17 vex 3203 . . . . . . . . 9  |-  g  e. 
_V
18 vex 3203 . . . . . . . . 9  |-  h  e. 
_V
1917, 18, 15caovcom 6831 . . . . . . . 8  |-  ( g 
.+  h )  =  ( h  .+  g
)
2016, 19eqeq12i 2636 . . . . . . 7  |-  ( ( f  .+  t )  =  ( g  .+  h )  <->  ( t  .+  f )  =  ( h  .+  g ) )
21 eqcom 2629 . . . . . . 7  |-  ( ( t  .+  f )  =  ( h  .+  g )  <->  ( h  .+  g )  =  ( t  .+  f ) )
2220, 21bitri 264 . . . . . 6  |-  ( ( f  .+  t )  =  ( g  .+  h )  <->  ( h  .+  g )  =  ( t  .+  f ) )
2312, 22syl6bb 276 . . . . 5  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( <. f ,  g
>.  .~  <. h ,  t
>. 
<->  ( h  .+  g
)  =  ( t 
.+  f ) ) )
241ecopoveq 7848 . . . . . 6  |-  ( ( ( h  e.  S  /\  t  e.  S
)  /\  ( f  e.  S  /\  g  e.  S ) )  -> 
( <. h ,  t
>.  .~  <. f ,  g
>. 
<->  ( h  .+  g
)  =  ( t 
.+  f ) ) )
2524ancoms 469 . . . . 5  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( <. h ,  t
>.  .~  <. f ,  g
>. 
<->  ( h  .+  g
)  =  ( t 
.+  f ) ) )
2623, 25bitr4d 271 . . . 4  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( <. f ,  g
>.  .~  <. h ,  t
>. 
<-> 
<. h ,  t >.  .~  <. f ,  g
>. ) )
275, 8, 11, 262optocl 5196 . . 3  |-  ( ( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S ) )  -> 
( A  .~  B  <->  B  .~  A ) )
284, 27syl 17 . 2  |-  ( A  .~  B  ->  ( A  .~  B  <->  B  .~  A ) )
2928ibi 256 1  |-  ( A  .~  B  ->  B  .~  A )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 196    /\ wa 384    = wceq 1483   E.wex 1704    e. wcel 1990   <.cop 4183   class class class wbr 4653   {copab 4712    X. cxp 5112  (class class class)co 6650
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-xp 5120  df-iota 5851  df-fv 5896  df-ov 6653
This theorem is referenced by:  ecopover  7851  ecopoverOLD  7852
  Copyright terms: Public domain W3C validator