Metamath Proof Explorer


Theorem xp1st

Description: Location of the first element of a Cartesian product. (Contributed by Jeff Madsen, 2-Sep-2009)

Ref Expression
Assertion xp1st ( 𝐴 ∈ ( 𝐵 × 𝐶 ) → ( 1st𝐴 ) ∈ 𝐵 )

Proof

Step Hyp Ref Expression
1 elxp ( 𝐴 ∈ ( 𝐵 × 𝐶 ) ↔ ∃ 𝑏𝑐 ( 𝐴 = ⟨ 𝑏 , 𝑐 ⟩ ∧ ( 𝑏𝐵𝑐𝐶 ) ) )
2 vex 𝑏 ∈ V
3 vex 𝑐 ∈ V
4 2 3 op1std ( 𝐴 = ⟨ 𝑏 , 𝑐 ⟩ → ( 1st𝐴 ) = 𝑏 )
5 4 eleq1d ( 𝐴 = ⟨ 𝑏 , 𝑐 ⟩ → ( ( 1st𝐴 ) ∈ 𝐵𝑏𝐵 ) )
6 5 biimpar ( ( 𝐴 = ⟨ 𝑏 , 𝑐 ⟩ ∧ 𝑏𝐵 ) → ( 1st𝐴 ) ∈ 𝐵 )
7 6 adantrr ( ( 𝐴 = ⟨ 𝑏 , 𝑐 ⟩ ∧ ( 𝑏𝐵𝑐𝐶 ) ) → ( 1st𝐴 ) ∈ 𝐵 )
8 7 exlimivv ( ∃ 𝑏𝑐 ( 𝐴 = ⟨ 𝑏 , 𝑐 ⟩ ∧ ( 𝑏𝐵𝑐𝐶 ) ) → ( 1st𝐴 ) ∈ 𝐵 )
9 1 8 sylbi ( 𝐴 ∈ ( 𝐵 × 𝐶 ) → ( 1st𝐴 ) ∈ 𝐵 )