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

Theorem el2xptp 5820
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 5675 . 2 (𝐴 ∈ ((𝐵 × 𝐶) × 𝐷) ↔ ∃𝑝 ∈ (𝐵 × 𝐶)∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑝, 𝑧⟩)
2 opeq1 4833 . . . . 5 (𝑝 = ⟨𝑥, 𝑦⟩ → ⟨𝑝, 𝑧⟩ = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
32eqeq2d 2772 . . . 4 (𝑝 = ⟨𝑥, 𝑦⟩ → (𝐴 = ⟨𝑝, 𝑧⟩ ↔ 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
43rexbidv 3187 . . 3 (𝑝 = ⟨𝑥, 𝑦⟩ → (∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑝, 𝑧⟩ ↔ ∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
54rexxp 5819 . 2 (∃𝑝 ∈ (𝐵 × 𝐶)∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑝, 𝑧⟩ ↔ ∃𝑥 ∈ 𝐵 ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
6 df-ot 4593 . . . . . . 7 ⟨𝑥, 𝑦, 𝑧⟩ = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩
76eqcomi 2770 . . . . . 6 ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ = ⟨𝑥, 𝑦, 𝑧⟩
87eqeq2i 2774 . . . . 5 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
98rexbii 3110 . . . 4 (∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ ∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
109rexbii 3110 . . 3 (∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
1110rexbii 3110 . 2 (∃𝑥 ∈ 𝐵 ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ ∃𝑥 ∈ 𝐵 ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
121, 5, 113bitri 300 1 (𝐴 ∈ ((𝐵 × 𝐶) × 𝐷) ↔ ∃𝑥 ∈ 𝐵 ∃𝑦 ∈ 𝐶 ∃𝑧 ∈ 𝐷 𝐴 = ⟨𝑥, 𝑦, 𝑧⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   = wceq 1570   ∈ wcel 2145  ∃wrex 3087  ⟨cop 4590  ⟨cotp 4592   × cxp 5649
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-ot 4593  df-iun 4953  df-opab 5168  df-xp 5657  df-rel 5658
This theorem is used by:  mpt3mpt  7677  el2xpss  8037  ralxp3f  8138  frpoins3xp3g  8142  poxp3  8151  xpord3pred  8153  sexp3  8154
  Copyright terms: Public domain W3C validator