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

Theorem el2xptp 5833
Description: A member of a nested Cartesian product is an ordered triple. (Contributed by Alexander van der Vekens, 15-Feb-2018.)
Assertion
Ref Expression
el2xptp (𝐴 ∈ ((𝐵 × 𝐶) × 𝐷) ↔ ∃𝑥 ∈ 𝐵 ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
Distinct variable groups:   𝑥,𝐴,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥,𝐶,𝑦,𝑧   𝑥,𝐷,𝑦,𝑧

Proof of Theorem el2xptp
Dummy variable 𝑝 is distinct from all other variables.
StepHypRef Expression
1 elxp2 5685 . 2 (𝐴 ∈ ((𝐵 × 𝐶) × 𝐷) ↔ ∃𝑝 ∈ (𝐵 × 𝐶)∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑝, 𝑧⟩)
2 opeq1 4848 . . . . 5 (𝑝 = ⟨𝑥, 𝑦⟩ → ⟨𝑝, 𝑧⟩ = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
32eqeq2d 2780 . . . 4 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝐴 = ⟨𝑝, 𝑧⟩ ↔ 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
43rexbidv 3196 . . 3 (𝑝 = ⟨𝑥, 𝑦⟩ → (∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑝, 𝑧⟩ ↔ ∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
54rexxp 5832 . 2 (∃𝑝 ∈ (𝐵 × 𝐶)∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑝, 𝑧⟩ ↔ ∃𝑥 ∈ 𝐵 ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
6 df-ot 4867 . . . . . . 7 ⟨𝑥, 𝑦, 𝑧⟩ = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩
76eqcomi 2778 . . . . . 6 ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ = ⟨𝑥, 𝑦, 𝑧⟩
87eqeq2i 2782 . . . . 5 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
98rexbii 3119 . . . 4 (∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ ∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
109rexbii 3119 . . 3 (∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
1110rexbii 3119 . 2 (∃𝑥 ∈ 𝐵 ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ ∃𝑥 ∈ 𝐵 ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
121, 5, 113bitri 300 1 (𝐴 ∈ ((𝐵 × 𝐶) × 𝐷) ↔ ∃𝑥 ∈ 𝐵 ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   = wceq 1572   ∈ wcel 2151  ∃wrex 3096  ⟨cop 4843  ⟨cotp 4866   × cxp 5659
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-ot 4867  df-iun 4961  df-opab 5177  df-xp 5667  df-rel 5668
This theorem is used by:  mpt3mpt  7728  mpt3fvd  7731  el2xpss  8093  ralxp3f  8202  frpoins3xp3g  8206  poxp3  8215  xpord3pred  8217  sexp3  8218
  Copyright terms: Public domain W3C validator