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

Theorem ecopover 6495
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 NM, 16-Feb-1996.) (Revised by Mario Carneiro, 12-Aug-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
)
ecopopr.cl  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  e.  S )
ecopopr.ass  |-  ( ( x  .+  y ) 
.+  z )  =  ( x  .+  (
y  .+  z )
)
ecopopr.can  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  ->  y  =  z ) )
Assertion
Ref Expression
ecopover  |-  .~  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 ecopover
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 ecopopr.com . . . . 5  |-  ( x 
.+  y )  =  ( y  .+  x
)
51, 4ecopovsym 6493 . . . 4  |-  ( f  .~  g  ->  g  .~  f )
65adantl 275 . . 3  |-  ( ( T.  /\  f  .~  g )  ->  g  .~  f )
7 ecopopr.cl . . . . 5  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  e.  S )
8 ecopopr.ass . . . . 5  |-  ( ( x  .+  y ) 
.+  z )  =  ( x  .+  (
y  .+  z )
)
9 ecopopr.can . . . . 5  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  ->  y  =  z ) )
101, 4, 7, 8, 9ecopovtrn 6494 . . . 4  |-  ( ( f  .~  g  /\  g  .~  h )  -> 
f  .~  h )
1110adantl 275 . . 3  |-  ( ( T.  /\  ( f  .~  g  /\  g  .~  h ) )  -> 
f  .~  h )
12 vex 2663 . . . . . . . . . . 11  |-  g  e. 
_V
13 vex 2663 . . . . . . . . . . 11  |-  h  e. 
_V
1412, 13, 4caovcom 5896 . . . . . . . . . 10  |-  ( g 
.+  h )  =  ( h  .+  g
)
151ecopoveq 6492 . . . . . . . . . 10  |-  ( ( ( g  e.  S  /\  h  e.  S
)  /\  ( g  e.  S  /\  h  e.  S ) )  -> 
( <. g ,  h >.  .~  <. g ,  h >.  <-> 
( g  .+  h
)  =  ( h 
.+  g ) ) )
1614, 15mpbiri 167 . . . . . . . . 9  |-  ( ( ( g  e.  S  /\  h  e.  S
)  /\  ( g  e.  S  /\  h  e.  S ) )  ->  <. g ,  h >.  .~ 
<. g ,  h >. )
1716anidms 394 . . . . . . . 8  |-  ( ( g  e.  S  /\  h  e.  S )  -> 
<. g ,  h >.  .~ 
<. g ,  h >. )
1817rgen2a 2463 . . . . . . 7  |-  A. g  e.  S  A. h  e.  S  <. g ,  h >.  .~  <. g ,  h >.
19 breq12 3904 . . . . . . . . 9  |-  ( ( f  =  <. g ,  h >.  /\  f  =  <. g ,  h >. )  ->  ( f  .~  f  <->  <. g ,  h >.  .~  <. g ,  h >. ) )
2019anidms 394 . . . . . . . 8  |-  ( f  =  <. g ,  h >.  ->  ( f  .~  f 
<-> 
<. g ,  h >.  .~ 
<. g ,  h >. ) )
2120ralxp 4652 . . . . . . 7  |-  ( A. f  e.  ( S  X.  S ) f  .~  f 
<-> 
A. g  e.  S  A. h  e.  S  <. g ,  h >.  .~ 
<. g ,  h >. )
2218, 21mpbir 145 . . . . . 6  |-  A. f  e.  ( S  X.  S
) f  .~  f
2322rspec 2461 . . . . 5  |-  ( f  e.  ( S  X.  S )  ->  f  .~  f )
2423a1i 9 . . . 4  |-  ( T. 
->  ( f  e.  ( S  X.  S )  ->  f  .~  f
) )
25 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 ) )
261, 25eqsstri 3099 . . . . . 6  |-  .~  C_  (
( S  X.  S
)  X.  ( S  X.  S ) )
2726ssbri 3942 . . . . 5  |-  ( f  .~  f  ->  f
( ( S  X.  S )  X.  ( S  X.  S ) ) f )
28 brxp 4540 . . . . . 6  |-  ( f ( ( S  X.  S )  X.  ( S  X.  S ) ) f  <->  ( f  e.  ( S  X.  S
)  /\  f  e.  ( S  X.  S
) ) )
2928simplbi 272 . . . . 5  |-  ( f ( ( S  X.  S )  X.  ( S  X.  S ) ) f  ->  f  e.  ( S  X.  S
) )
3027, 29syl 14 . . . 4  |-  ( f  .~  f  ->  f  e.  ( S  X.  S
) )
3124, 30impbid1 141 . . 3  |-  ( T. 
->  ( f  e.  ( S  X.  S )  <-> 
f  .~  f )
)
323, 6, 11, 31iserd 6423 . 2  |-  ( T. 
->  .~  Er  ( S  X.  S ) )
3332mptru 1325 1  |-  .~  Er  ( S  X.  S
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = 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: (None)
  Copyright terms: Public domain W3C validator