Metamath Proof Explorer


Theorem 2ndrn

Description: The second ordered pair component of a member of a relation belongs to the range of the relation. (Contributed by NM, 17-Sep-2006)

Ref Expression
Assertion 2ndrn ( ( Rel 𝑅𝐴𝑅 ) → ( 2nd𝐴 ) ∈ ran 𝑅 )

Proof

Step Hyp Ref Expression
1 1st2nd ( ( Rel 𝑅𝐴𝑅 ) → 𝐴 = ⟨ ( 1st𝐴 ) , ( 2nd𝐴 ) ⟩ )
2 simpr ( ( Rel 𝑅𝐴𝑅 ) → 𝐴𝑅 )
3 1 2 eqeltrrd ( ( Rel 𝑅𝐴𝑅 ) → ⟨ ( 1st𝐴 ) , ( 2nd𝐴 ) ⟩ ∈ 𝑅 )
4 fvex ( 1st𝐴 ) ∈ V
5 fvex ( 2nd𝐴 ) ∈ V
6 4 5 opelrn ( ⟨ ( 1st𝐴 ) , ( 2nd𝐴 ) ⟩ ∈ 𝑅 → ( 2nd𝐴 ) ∈ ran 𝑅 )
7 3 6 syl ( ( Rel 𝑅𝐴𝑅 ) → ( 2nd𝐴 ) ∈ ran 𝑅 )