Metamath Proof Explorer


Theorem fafvelrn

Description: A function's value belongs to its codomain, analogous to ffvelrn . (Contributed by Alexander van der Vekens, 25-May-2017)

Ref Expression
Assertion fafvelrn ( ( 𝐹 : 𝐴𝐵𝐶𝐴 ) → ( 𝐹 ''' 𝐶 ) ∈ 𝐵 )

Proof

Step Hyp Ref Expression
1 ffn ( 𝐹 : 𝐴𝐵𝐹 Fn 𝐴 )
2 fnafvelrn ( ( 𝐹 Fn 𝐴𝐶𝐴 ) → ( 𝐹 ''' 𝐶 ) ∈ ran 𝐹 )
3 1 2 sylan ( ( 𝐹 : 𝐴𝐵𝐶𝐴 ) → ( 𝐹 ''' 𝐶 ) ∈ ran 𝐹 )
4 frn ( 𝐹 : 𝐴𝐵 → ran 𝐹𝐵 )
5 4 sseld ( 𝐹 : 𝐴𝐵 → ( ( 𝐹 ''' 𝐶 ) ∈ ran 𝐹 → ( 𝐹 ''' 𝐶 ) ∈ 𝐵 ) )
6 5 adantr ( ( 𝐹 : 𝐴𝐵𝐶𝐴 ) → ( ( 𝐹 ''' 𝐶 ) ∈ ran 𝐹 → ( 𝐹 ''' 𝐶 ) ∈ 𝐵 ) )
7 3 6 mpd ( ( 𝐹 : 𝐴𝐵𝐶𝐴 ) → ( 𝐹 ''' 𝐶 ) ∈ 𝐵 )