Users' Mathboxes Mathbox for Frédéric Liné < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ridlideq Unicode version

Theorem ridlideq 24734
Description: If a magma has a left identity element and a right identity element, they are equal. (Contributed by FL, 25-Sep-2011.)
Assertion
Ref Expression
ridlideq  |-  ( ( U  e.  X  /\  V  e.  X )  ->  ( A. x  e.  X  ( ( U G x )  =  x  /\  ( x G V )  =  x )  ->  U  =  V ) )
Distinct variable groups:    x, G    x, U    x, V    x, X

Proof of Theorem ridlideq
StepHypRef Expression
1 oveq2 5827 . . . . . . . 8  |-  ( x  =  U  ->  ( U G x )  =  ( U G U ) )
2 id 21 . . . . . . . 8  |-  ( x  =  U  ->  x  =  U )
31, 2eqeq12d 2298 . . . . . . 7  |-  ( x  =  U  ->  (
( U G x )  =  x  <->  ( U G U )  =  U ) )
4 oveq1 5826 . . . . . . . 8  |-  ( x  =  U  ->  (
x G V )  =  ( U G V ) )
54, 2eqeq12d 2298 . . . . . . 7  |-  ( x  =  U  ->  (
( x G V )  =  x  <->  ( U G V )  =  U ) )
63, 5anbi12d 693 . . . . . 6  |-  ( x  =  U  ->  (
( ( U G x )  =  x  /\  ( x G V )  =  x )  <->  ( ( U G U )  =  U  /\  ( U G V )  =  U ) ) )
76rspcv 2881 . . . . 5  |-  ( U  e.  X  ->  ( A. x  e.  X  ( ( U G x )  =  x  /\  ( x G V )  =  x )  ->  ( ( U G U )  =  U  /\  ( U G V )  =  U ) ) )
8 oveq2 5827 . . . . . . . 8  |-  ( x  =  V  ->  ( U G x )  =  ( U G V ) )
9 id 21 . . . . . . . 8  |-  ( x  =  V  ->  x  =  V )
108, 9eqeq12d 2298 . . . . . . 7  |-  ( x  =  V  ->  (
( U G x )  =  x  <->  ( U G V )  =  V ) )
11 oveq1 5826 . . . . . . . 8  |-  ( x  =  V  ->  (
x G V )  =  ( V G V ) )
1211, 9eqeq12d 2298 . . . . . . 7  |-  ( x  =  V  ->  (
( x G V )  =  x  <->  ( V G V )  =  V ) )
1310, 12anbi12d 693 . . . . . 6  |-  ( x  =  V  ->  (
( ( U G x )  =  x  /\  ( x G V )  =  x )  <->  ( ( U G V )  =  V  /\  ( V G V )  =  V ) ) )
1413rspcv 2881 . . . . 5  |-  ( V  e.  X  ->  ( A. x  e.  X  ( ( U G x )  =  x  /\  ( x G V )  =  x )  ->  ( ( U G V )  =  V  /\  ( V G V )  =  V ) ) )
157, 14im2anan9 810 . . . 4  |-  ( ( U  e.  X  /\  V  e.  X )  ->  ( ( A. x  e.  X  ( ( U G x )  =  x  /\  ( x G V )  =  x )  /\  A. x  e.  X  (
( U G x )  =  x  /\  ( x G V )  =  x ) )  ->  ( (
( U G U )  =  U  /\  ( U G V )  =  U )  /\  ( ( U G V )  =  V  /\  ( V G V )  =  V ) ) ) )
16 eqtr 2301 . . . . . . . . 9  |-  ( ( U  =  ( U G V )  /\  ( U G V )  =  V )  ->  U  =  V )
1716ex 425 . . . . . . . 8  |-  ( U  =  ( U G V )  ->  (
( U G V )  =  V  ->  U  =  V )
)
1817eqcoms 2287 . . . . . . 7  |-  ( ( U G V )  =  U  ->  (
( U G V )  =  V  ->  U  =  V )
)
1918adantrd 456 . . . . . 6  |-  ( ( U G V )  =  U  ->  (
( ( U G V )  =  V  /\  ( V G V )  =  V )  ->  U  =  V ) )
2019adantl 454 . . . . 5  |-  ( ( ( U G U )  =  U  /\  ( U G V )  =  U )  -> 
( ( ( U G V )  =  V  /\  ( V G V )  =  V )  ->  U  =  V ) )
2120imp 420 . . . 4  |-  ( ( ( ( U G U )  =  U  /\  ( U G V )  =  U )  /\  ( ( U G V )  =  V  /\  ( V G V )  =  V ) )  ->  U  =  V )
2215, 21syl6com 33 . . 3  |-  ( ( A. x  e.  X  ( ( U G x )  =  x  /\  ( x G V )  =  x )  /\  A. x  e.  X  ( ( U G x )  =  x  /\  ( x G V )  =  x ) )  -> 
( ( U  e.  X  /\  V  e.  X )  ->  U  =  V ) )
2322anidms 628 . 2  |-  ( A. x  e.  X  (
( U G x )  =  x  /\  ( x G V )  =  x )  ->  ( ( U  e.  X  /\  V  e.  X )  ->  U  =  V ) )
2423com12 29 1  |-  ( ( U  e.  X  /\  V  e.  X )  ->  ( A. x  e.  X  ( ( U G x )  =  x  /\  ( x G V )  =  x )  ->  U  =  V ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    /\ wa 360    = wceq 1624    e. wcel 1685   A.wral 2544  (class class class)co 5819
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-gen 1534  ax-5 1545  ax-17 1604  ax-9 1637  ax-8 1645  ax-6 1704  ax-7 1709  ax-11 1716  ax-12 1867  ax-ext 2265
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 938  df-tru 1312  df-ex 1530  df-nf 1533  df-sb 1632  df-clab 2271  df-cleq 2277  df-clel 2280  df-nfc 2409  df-ral 2549  df-rex 2550  df-rab 2553  df-v 2791  df-dif 3156  df-un 3158  df-in 3160  df-ss 3167  df-nul 3457  df-if 3567  df-sn 3647  df-pr 3648  df-op 3650  df-uni 3829  df-br 4025  df-opab 4079  df-xp 4694  df-cnv 4696  df-dm 4698  df-rn 4699  df-res 4700  df-ima 4701  df-fv 5229  df-ov 5822
  Copyright terms: Public domain W3C validator