Metamath Proof Explorer


Theorem idrval

Description: The value of the identity element. (Contributed by FL, 12-Dec-2009) (Revised by Mario Carneiro, 22-Dec-2013) (New usage is discouraged.)

Ref Expression
Hypotheses idrval.1 𝑋 = ran 𝐺
idrval.2 𝑈 = ( GId ‘ 𝐺 )
Assertion idrval ( 𝐺𝐴𝑈 = ( 𝑢𝑋𝑥𝑋 ( ( 𝑢 𝐺 𝑥 ) = 𝑥 ∧ ( 𝑥 𝐺 𝑢 ) = 𝑥 ) ) )

Proof

Step Hyp Ref Expression
1 idrval.1 𝑋 = ran 𝐺
2 idrval.2 𝑈 = ( GId ‘ 𝐺 )
3 1 gidval ( 𝐺𝐴 → ( GId ‘ 𝐺 ) = ( 𝑢𝑋𝑥𝑋 ( ( 𝑢 𝐺 𝑥 ) = 𝑥 ∧ ( 𝑥 𝐺 𝑢 ) = 𝑥 ) ) )
4 2 3 eqtrid ( 𝐺𝐴𝑈 = ( 𝑢𝑋𝑥𝑋 ( ( 𝑢 𝐺 𝑥 ) = 𝑥 ∧ ( 𝑥 𝐺 𝑢 ) = 𝑥 ) ) )