Metamath Proof Explorer


Theorem ffrnbd

Description: A function maps to its range iff the the range is a subset of its codomain. Generalization of ffrn . (Contributed by AV, 20-Sep-2024)

Ref Expression
Hypothesis ffrnbd.r ( 𝜑 → ran 𝐹𝐵 )
Assertion ffrnbd ( 𝜑 → ( 𝐹 : 𝐴𝐵𝐹 : 𝐴 ⟶ ran 𝐹 ) )

Proof

Step Hyp Ref Expression
1 ffrnbd.r ( 𝜑 → ran 𝐹𝐵 )
2 ffrnb ( 𝐹 : 𝐴𝐵 ↔ ( 𝐹 : 𝐴 ⟶ ran 𝐹 ∧ ran 𝐹𝐵 ) )
3 1 biantrud ( 𝜑 → ( 𝐹 : 𝐴 ⟶ ran 𝐹 ↔ ( 𝐹 : 𝐴 ⟶ ran 𝐹 ∧ ran 𝐹𝐵 ) ) )
4 2 3 bitr4id ( 𝜑 → ( 𝐹 : 𝐴𝐵𝐹 : 𝐴 ⟶ ran 𝐹 ) )