MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  otel3xp Structured version   Visualization version   GIF version

Theorem otel3xp 5723
Description: An ordered triple is an element of a doubled Cartesian product. (Contributed by Alexander van der Vekens, 26-Feb-2018.)
Assertion
Ref Expression
otel3xp ((𝑇 = ⟨𝐴, 𝐵, 𝐶⟩ ∧ (𝐴𝑋𝐵𝑌𝐶𝑍)) → 𝑇 ∈ ((𝑋 × 𝑌) × 𝑍))

Proof of Theorem otel3xp
StepHypRef Expression
1 df-ot 4638 . . . 4 𝐴, 𝐵, 𝐶⟩ = ⟨⟨𝐴, 𝐵⟩, 𝐶
2 3simpa 1149 . . . . . 6 ((𝐴𝑋𝐵𝑌𝐶𝑍) → (𝐴𝑋𝐵𝑌))
3 opelxp 5713 . . . . . 6 (⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑌) ↔ (𝐴𝑋𝐵𝑌))
42, 3sylibr 233 . . . . 5 ((𝐴𝑋𝐵𝑌𝐶𝑍) → ⟨𝐴, 𝐵⟩ ∈ (𝑋 × 𝑌))
5 simp3 1139 . . . . 5 ((𝐴𝑋𝐵𝑌𝐶𝑍) → 𝐶𝑍)
64, 5opelxpd 5716 . . . 4 ((𝐴𝑋𝐵𝑌𝐶𝑍) → ⟨⟨𝐴, 𝐵⟩, 𝐶⟩ ∈ ((𝑋 × 𝑌) × 𝑍))
71, 6eqeltrid 2838 . . 3 ((𝐴𝑋𝐵𝑌𝐶𝑍) → ⟨𝐴, 𝐵, 𝐶⟩ ∈ ((𝑋 × 𝑌) × 𝑍))
8 eleq1 2822 . . 3 (𝑇 = ⟨𝐴, 𝐵, 𝐶⟩ → (𝑇 ∈ ((𝑋 × 𝑌) × 𝑍) ↔ ⟨𝐴, 𝐵, 𝐶⟩ ∈ ((𝑋 × 𝑌) × 𝑍)))
97, 8imbitrrid 245 . 2 (𝑇 = ⟨𝐴, 𝐵, 𝐶⟩ → ((𝐴𝑋𝐵𝑌𝐶𝑍) → 𝑇 ∈ ((𝑋 × 𝑌) × 𝑍)))
109imp 408 1 ((𝑇 = ⟨𝐴, 𝐵, 𝐶⟩ ∧ (𝐴𝑋𝐵𝑌𝐶𝑍)) → 𝑇 ∈ ((𝑋 × 𝑌) × 𝑍))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397  w3a 1088   = wceq 1542  wcel 2107  cop 4635  cotp 4637   × cxp 5675
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-ext 2704  ax-sep 5300  ax-nul 5307  ax-pr 5428
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-sb 2069  df-clab 2711  df-cleq 2725  df-clel 2811  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-sn 4630  df-pr 4632  df-op 4636  df-ot 4638  df-opab 5212  df-xp 5683
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator