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

Theorem raliunxp 5821
Description: Write a double restricted quantification as one universal quantifier. In this version of ralxp 5823, 𝐵(𝑦) is not assumed to be constant. (Contributed by Mario Carneiro, 29-Dec-2014.)
Hypothesis
Ref Expression
ralxp.1 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
raliunxp (∀𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵)𝜑 ↔ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 𝜓)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐵,𝑧   𝜑,𝑦,𝑧   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦, 𝑧)   𝐵(𝑦)

Proof of Theorem raliunxp
StepHypRef Expression
1 eliunxp 5819 . . . . . 6 (𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) ↔ ∃𝑦∃𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)))
21imbi1i 352 . . . . 5 ((𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ (∃𝑦∃𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
3 19.23vv 1978 . . . . 5 (∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ (∃𝑦∃𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
42, 3bitr4i 281 . . . 4 ((𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
54albii 1852 . . 3 (∀𝑥(𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑥∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
6 alrot3 2200 . . . 4 (∀𝑥∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ∀𝑦∀𝑧∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
7 impexp 456 . . . . . . 7 (((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ (𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜑)))
87albii 1852 . . . . . 6 (∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ∀𝑥(𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜑)))
9 opex 5436 . . . . . . 7 ⟨𝑦, 𝑧⟩ ∈ V
10 ralxp.1 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑 ↔ 𝜓))
1110imbi2d 343 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜑) ↔ ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓)))
129, 11ceqsalv 3493 . . . . . 6 (∀𝑥(𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜑)) ↔ ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
138, 12bitri 278 . . . . 5 (∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
14132albii 1853 . . . 4 (∀𝑦∀𝑧∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ∀𝑦∀𝑧((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
156, 14bitri 278 . . 3 (∀𝑥∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ∀𝑦∀𝑧((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
165, 15bitri 278 . 2 (∀𝑥(𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑦∀𝑧((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
17 df-ral 3081 . 2 (∀𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵)𝜑 ↔ ∀𝑥(𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑))
18 r2al 3202 . 2 (∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 𝜓 ↔ ∀𝑦∀𝑧((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
1916, 17, 183bitr4i 306 1 (∀𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵)𝜑 ↔ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 𝜓)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∀wral 3080  {csn 4588  ⟨cop 4838  ∪ ciun 4954   × cxp 5653
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-pr 5395
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 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-iun 4956  df-opab 5171  df-xp 5661  df-rel 5662
This theorem is used by:  rexiunxp  5822  ralxp  5823  fmpox  8100  ovmptssOLD  8127  filnetlem4  37346
  Copyright terms: Public domain W3C validator