Metamath Proof Explorer


Theorem 2ndinr

Description: The second component of the value of a right injection is its argument. (Contributed by AV, 27-Jun-2022)

Ref Expression
Assertion 2ndinr X V 2 nd inr X = X

Proof

Step Hyp Ref Expression
1 df-inr inr = x V 1 𝑜 x
2 opeq2 x = X 1 𝑜 x = 1 𝑜 X
3 elex X V X V
4 opex 1 𝑜 X V
5 4 a1i X V 1 𝑜 X V
6 1 2 3 5 fvmptd3 X V inr X = 1 𝑜 X
7 6 fveq2d X V 2 nd inr X = 2 nd 1 𝑜 X
8 1oex 1 𝑜 V
9 op2ndg 1 𝑜 V X V 2 nd 1 𝑜 X = X
10 8 9 mpan X V 2 nd 1 𝑜 X = X
11 7 10 eqtrd X V 2 nd inr X = X