Metamath Proof Explorer


Theorem ffrnb

Description: Characterization of a function with domain and codomain (essentially using that the range is always included in the codomain). Generalization of ffrn . (Contributed by BJ, 21-Sep-2024)

Ref Expression
Assertion ffrnb ( 𝐹 : 𝐴𝐵 ↔ ( 𝐹 : 𝐴 ⟶ ran 𝐹 ∧ ran 𝐹𝐵 ) )

Proof

Step Hyp Ref Expression
1 df-f ( 𝐹 : 𝐴𝐵 ↔ ( 𝐹 Fn 𝐴 ∧ ran 𝐹𝐵 ) )
2 dffn3 ( 𝐹 Fn 𝐴𝐹 : 𝐴 ⟶ ran 𝐹 )
3 2 anbi1i ( ( 𝐹 Fn 𝐴 ∧ ran 𝐹𝐵 ) ↔ ( 𝐹 : 𝐴 ⟶ ran 𝐹 ∧ ran 𝐹𝐵 ) )
4 1 3 bitri ( 𝐹 : 𝐴𝐵 ↔ ( 𝐹 : 𝐴 ⟶ ran 𝐹 ∧ ran 𝐹𝐵 ) )