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

Theorem ecopoverg 6498
Description: Assuming that operation  F is commutative (second hypothesis), closed (third hypothesis), associative (fourth hypothesis), and has the cancellation property (fifth hypothesis), show that the relation  .~, specified by the first hypothesis, is an equivalence relation. (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 ) )
ecopoprg.cl  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  e.  S )
ecopoprg.ass  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
ecopoprg.can  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  ->  y  =  z ) )
Assertion
Ref Expression
ecopoverg  |-  .~  Er  ( S  X.  S
)
Distinct variable groups:    x, y, z, w, v, u,  .+    x, S, y, z, w, v, u
Allowed substitution hints:    .~ ( x, y,
z, w, v, u)

Proof of Theorem ecopoverg
Dummy variables  f  g  h 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
) ) ) }
21relopabi 4635 . . . 4  |-  Rel  .~
32a1i 9 . . 3  |-  ( T. 
->  Rel  .~  )
4 ecopoprg.com . . . . 5  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  =  ( y 
.+  x ) )
51, 4ecopovsymg 6496 . . . 4  |-  ( f  .~  g  ->  g  .~  f )
65adantl 275 . . 3  |-  ( ( T.  /\  f  .~  g )  ->  g  .~  f )
7 ecopoprg.cl . . . . 5  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  e.  S )
8 ecopoprg.ass . . . . 5  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
9 ecopoprg.can . . . . 5  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  ->  y  =  z ) )
101, 4, 7, 8, 9ecopovtrng 6497 . . . 4  |-  ( ( f  .~  g  /\  g  .~  h )  -> 
f  .~  h )
1110adantl 275 . . 3  |-  ( ( T.  /\  ( f  .~  g  /\  g  .~  h ) )  -> 
f  .~  h )
124adantl 275 . . . . . . . . . . 11  |-  ( ( ( ( g  e.  S  /\  h  e.  S )  /\  (
g  e.  S  /\  h  e.  S )
)  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x  .+  y
)  =  ( y 
.+  x ) )
13 simpll 503 . . . . . . . . . . 11  |-  ( ( ( g  e.  S  /\  h  e.  S
)  /\  ( g  e.  S  /\  h  e.  S ) )  -> 
g  e.  S )
14 simplr 504 . . . . . . . . . . 11  |-  ( ( ( g  e.  S  /\  h  e.  S
)  /\  ( g  e.  S  /\  h  e.  S ) )  ->  h  e.  S )
1512, 13, 14caovcomd 5895 . . . . . . . . . 10  |-  ( ( ( g  e.  S  /\  h  e.  S
)  /\  ( g  e.  S  /\  h  e.  S ) )  -> 
( g  .+  h
)  =  ( h 
.+  g ) )
161ecopoveq 6492 . . . . . . . . . 10  |-  ( ( ( g  e.  S  /\  h  e.  S
)  /\  ( g  e.  S  /\  h  e.  S ) )  -> 
( <. g ,  h >.  .~  <. g ,  h >.  <-> 
( g  .+  h
)  =  ( h 
.+  g ) ) )
1715, 16mpbird 166 . . . . . . . . 9  |-  ( ( ( g  e.  S  /\  h  e.  S
)  /\  ( g  e.  S  /\  h  e.  S ) )  ->  <. g ,  h >.  .~ 
<. g ,  h >. )
1817anidms 394 . . . . . . . 8  |-  ( ( g  e.  S  /\  h  e.  S )  -> 
<. g ,  h >.  .~ 
<. g ,  h >. )
1918rgen2a 2463 . . . . . . 7  |-  A. g  e.  S  A. h  e.  S  <. g ,  h >.  .~  <. g ,  h >.
20 breq12 3904 . . . . . . . . 9  |-  ( ( f  =  <. g ,  h >.  /\  f  =  <. g ,  h >. )  ->  ( f  .~  f  <->  <. g ,  h >.  .~  <. g ,  h >. ) )
2120anidms 394 . . . . . . . 8  |-  ( f  =  <. g ,  h >.  ->  ( f  .~  f 
<-> 
<. g ,  h >.  .~ 
<. g ,  h >. ) )
2221ralxp 4652 . . . . . . 7  |-  ( A. f  e.  ( S  X.  S ) f  .~  f 
<-> 
A. g  e.  S  A. h  e.  S  <. g ,  h >.  .~ 
<. g ,  h >. )
2319, 22mpbir 145 . . . . . 6  |-  A. f  e.  ( S  X.  S
) f  .~  f
2423rspec 2461 . . . . 5  |-  ( f  e.  ( S  X.  S )  ->  f  .~  f )
2524a1i 9 . . . 4  |-  ( T. 
->  ( f  e.  ( S  X.  S )  ->  f  .~  f
) )
26 opabssxp 4583 . . . . . . 7  |-  { <. 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 ) )
271, 26eqsstri 3099 . . . . . 6  |-  .~  C_  (
( S  X.  S
)  X.  ( S  X.  S ) )
2827ssbri 3942 . . . . 5  |-  ( f  .~  f  ->  f
( ( S  X.  S )  X.  ( S  X.  S ) ) f )
29 brxp 4540 . . . . . 6  |-  ( f ( ( S  X.  S )  X.  ( S  X.  S ) ) f  <->  ( f  e.  ( S  X.  S
)  /\  f  e.  ( S  X.  S
) ) )
3029simplbi 272 . . . . 5  |-  ( f ( ( S  X.  S )  X.  ( S  X.  S ) ) f  ->  f  e.  ( S  X.  S
) )
3128, 30syl 14 . . . 4  |-  ( f  .~  f  ->  f  e.  ( S  X.  S
) )
3225, 31impbid1 141 . . 3  |-  ( T. 
->  ( f  e.  ( S  X.  S )  <-> 
f  .~  f )
)
333, 6, 11, 32iserd 6423 . 2  |-  ( T. 
->  .~  Er  ( S  X.  S ) )
3433mptru 1325 1  |-  .~  Er  ( S  X.  S
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    /\ w3a 947    = wceq 1316   T. wtru 1317   E.wex 1453    e. wcel 1465   A.wral 2393   <.cop 3500   class class class wbr 3899   {copab 3958    X. cxp 4507   Rel wrel 4514  (class class class)co 5742    Er wer 6394
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 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-14 1477  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099  ax-sep 4016  ax-pow 4068  ax-pr 4101
This theorem depends on definitions:  df-bi 116  df-3an 949  df-tru 1319  df-nf 1422  df-sb 1721  df-eu 1980  df-mo 1981  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ral 2398  df-rex 2399  df-v 2662  df-sbc 2883  df-csb 2976  df-un 3045  df-in 3047  df-ss 3054  df-pw 3482  df-sn 3503  df-pr 3504  df-op 3506  df-uni 3707  df-iun 3785  df-br 3900  df-opab 3960  df-xp 4515  df-rel 4516  df-cnv 4517  df-co 4518  df-dm 4519  df-iota 5058  df-fv 5101  df-ov 5745  df-er 6397
This theorem is referenced by:  enqer  7134  enrer  7511
  Copyright terms: Public domain W3C validator