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

Theorem ecopovsymg 6600
Description: Assuming the operation  F is commutative, show that the relation  .~, specified by the first hypothesis, is symmetric. (Contributed by Jim Kingdon, 1-Sep-2019.)
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
) ) ) }
ecopoprg.com  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  =  ( y 
.+  x ) )
Assertion
Ref Expression
ecopovsymg  |-  ( 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 ecopovsymg
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 4678 . . . . 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 3174 . . . 4  |-  .~  C_  (
( S  X.  S
)  X.  ( S  X.  S ) )
43brel 4656 . . 3  |-  ( A  .~  B  ->  ( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S
) ) )
5 eqid 2165 . . . 4  |-  ( S  X.  S )  =  ( S  X.  S
)
6 breq1 3985 . . . . 5  |-  ( <.
f ,  g >.  =  A  ->  ( <.
f ,  g >.  .~  <. h ,  t
>. 
<->  A  .~  <. h ,  t >. )
)
7 breq2 3986 . . . . 5  |-  ( <.
f ,  g >.  =  A  ->  ( <.
h ,  t >.  .~  <. f ,  g
>. 
<-> 
<. h ,  t >.  .~  A ) )
86, 7bibi12d 234 . . . 4  |-  ( <.
f ,  g >.  =  A  ->  ( (
<. f ,  g >.  .~  <. h ,  t
>. 
<-> 
<. h ,  t >.  .~  <. f ,  g
>. )  <->  ( A  .~  <.
h ,  t >.  <->  <.
h ,  t >.  .~  A ) ) )
9 breq2 3986 . . . . 5  |-  ( <.
h ,  t >.  =  B  ->  ( A  .~  <. h ,  t
>. 
<->  A  .~  B ) )
10 breq1 3985 . . . . 5  |-  ( <.
h ,  t >.  =  B  ->  ( <.
h ,  t >.  .~  A  <->  B  .~  A ) )
119, 10bibi12d 234 . . . 4  |-  ( <.
h ,  t >.  =  B  ->  ( ( A  .~  <. h ,  t >.  <->  <. h ,  t >.  .~  A )  <-> 
( A  .~  B  <->  B  .~  A ) ) )
12 ecopoprg.com . . . . . . . . 9  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  =  ( y 
.+  x ) )
1312adantl 275 . . . . . . . 8  |-  ( ( ( ( f  e.  S  /\  g  e.  S )  /\  (
h  e.  S  /\  t  e.  S )
)  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x  .+  y
)  =  ( y 
.+  x ) )
14 simpll 519 . . . . . . . 8  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
f  e.  S )
15 simprr 522 . . . . . . . 8  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
t  e.  S )
1613, 14, 15caovcomd 5998 . . . . . . 7  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( f  .+  t
)  =  ( t 
.+  f ) )
17 simplr 520 . . . . . . . 8  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
g  e.  S )
18 simprl 521 . . . . . . . 8  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  ->  h  e.  S )
1913, 17, 18caovcomd 5998 . . . . . . 7  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( g  .+  h
)  =  ( h 
.+  g ) )
2016, 19eqeq12d 2180 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( ( f  .+  t )  =  ( g  .+  h )  <-> 
( t  .+  f
)  =  ( h 
.+  g ) ) )
21 eqcom 2167 . . . . . 6  |-  ( ( t  .+  f )  =  ( h  .+  g )  <->  ( h  .+  g )  =  ( t  .+  f ) )
2220, 21bitrdi 195 . . . . 5  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( ( f  .+  t )  =  ( g  .+  h )  <-> 
( h  .+  g
)  =  ( t 
.+  f ) ) )
231ecopoveq 6596 . . . . 5  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( <. f ,  g
>.  .~  <. h ,  t
>. 
<->  ( f  .+  t
)  =  ( g 
.+  h ) ) )
241ecopoveq 6596 . . . . . 6  |-  ( ( ( h  e.  S  /\  t  e.  S
)  /\  ( f  e.  S  /\  g  e.  S ) )  -> 
( <. h ,  t
>.  .~  <. f ,  g
>. 
<->  ( h  .+  g
)  =  ( t 
.+  f ) ) )
2524ancoms 266 . . . . 5  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( <. h ,  t
>.  .~  <. f ,  g
>. 
<->  ( h  .+  g
)  =  ( t 
.+  f ) ) )
2622, 23, 253bitr4d 219 . . . 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 4681 . . 3  |-  ( ( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S ) )  -> 
( A  .~  B  <->  B  .~  A ) )
284, 27syl 14 . 2  |-  ( A  .~  B  ->  ( A  .~  B  <->  B  .~  A ) )
2928ibi 175 1  |-  ( A  .~  B  ->  B  .~  A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1343   E.wex 1480    e. wcel 2136   <.cop 3579   class class class wbr 3982   {copab 4042    X. cxp 4602  (class class class)co 5842
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-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
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-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-xp 4610  df-iota 5153  df-fv 5196  df-ov 5845
This theorem is referenced by:  ecopoverg  6602
  Copyright terms: Public domain W3C validator