Metamath Proof Explorer


Theorem funfv1st2nd

Description: The function value for the first component of an ordered pair is the second component of the ordered pair. (Contributed by AV, 17-Oct-2023)

Ref Expression
Assertion funfv1st2nd FunFXFF1stX=2ndX

Proof

Step Hyp Ref Expression
1 funrel FunFRelF
2 1st2nd RelFXFX=1stX2ndX
3 1 2 sylan FunFXFX=1stX2ndX
4 eleq1 X=1stX2ndXXF1stX2ndXF
5 4 adantl FunFX=1stX2ndXXF1stX2ndXF
6 funopfv FunF1stX2ndXFF1stX=2ndX
7 6 adantr FunFX=1stX2ndX1stX2ndXFF1stX=2ndX
8 5 7 sylbid FunFX=1stX2ndXXFF1stX=2ndX
9 8 impancom FunFXFX=1stX2ndXF1stX=2ndX
10 3 9 mpd FunFXFF1stX=2ndX