Metamath Proof Explorer


Theorem dffn5f

Description: Representation of a function in terms of its values. (Contributed by Mario Carneiro, 3-Jul-2015)

Ref Expression
Hypothesis dffn5f.1 𝑥 𝐹
Assertion dffn5f ( 𝐹 Fn 𝐴𝐹 = ( 𝑥𝐴 ↦ ( 𝐹𝑥 ) ) )

Proof

Step Hyp Ref Expression
1 dffn5f.1 𝑥 𝐹
2 dffn5 ( 𝐹 Fn 𝐴𝐹 = ( 𝑧𝐴 ↦ ( 𝐹𝑧 ) ) )
3 nfcv 𝑥 𝑧
4 1 3 nffv 𝑥 ( 𝐹𝑧 )
5 nfcv 𝑧 ( 𝐹𝑥 )
6 fveq2 ( 𝑧 = 𝑥 → ( 𝐹𝑧 ) = ( 𝐹𝑥 ) )
7 4 5 6 cbvmpt ( 𝑧𝐴 ↦ ( 𝐹𝑧 ) ) = ( 𝑥𝐴 ↦ ( 𝐹𝑥 ) )
8 7 eqeq2i ( 𝐹 = ( 𝑧𝐴 ↦ ( 𝐹𝑧 ) ) ↔ 𝐹 = ( 𝑥𝐴 ↦ ( 𝐹𝑥 ) ) )
9 2 8 bitri ( 𝐹 Fn 𝐴𝐹 = ( 𝑥𝐴 ↦ ( 𝐹𝑥 ) ) )