Metamath Proof Explorer


Theorem elrnmpt

Description: The range of a function in maps-to notation. (Contributed by Mario Carneiro, 20-Feb-2015)

Ref Expression
Hypothesis rnmpt.1 𝐹 = ( 𝑥𝐴𝐵 )
Assertion elrnmpt ( 𝐶𝑉 → ( 𝐶 ∈ ran 𝐹 ↔ ∃ 𝑥𝐴 𝐶 = 𝐵 ) )

Proof

Step Hyp Ref Expression
1 rnmpt.1 𝐹 = ( 𝑥𝐴𝐵 )
2 eqeq1 ( 𝑦 = 𝐶 → ( 𝑦 = 𝐵𝐶 = 𝐵 ) )
3 2 rexbidv ( 𝑦 = 𝐶 → ( ∃ 𝑥𝐴 𝑦 = 𝐵 ↔ ∃ 𝑥𝐴 𝐶 = 𝐵 ) )
4 1 rnmpt ran 𝐹 = { 𝑦 ∣ ∃ 𝑥𝐴 𝑦 = 𝐵 }
5 3 4 elab2g ( 𝐶𝑉 → ( 𝐶 ∈ ran 𝐹 ↔ ∃ 𝑥𝐴 𝐶 = 𝐵 ) )