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

Theorem raliunxp 5815
Description: Write a double restricted quantification as one universal quantifier. In this version of ralxp 5817, 𝐵(𝑦) 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 5813 . . . . . 6 (𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) ↔ ∃𝑦∃𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)))
21imbi1i 352 . . . . 5 ((𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ (∃𝑦∃𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
3 19.23vv 1975 . . . . 5 (∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ (∃𝑦∃𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
42, 3bitr4i 281 . . . 4 ((𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
54albii 1851 . . 3 (∀𝑥(𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑥∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
6 alrot3 2196 . . . 4 (∀𝑥∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ∀𝑦∀𝑧∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑))
7 impexp 456 . . . . . . 7 (((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ (𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜑)))
87albii 1851 . . . . . 6 (∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ∀𝑥(𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜑)))
9 opex 5431 . . . . . . 7 ⟨𝑦, 𝑧⟩ ∈ V
10 ralxp.1 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑 ↔ 𝜓))
1110imbi2d 343 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜑) ↔ ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓)))
129, 11ceqsalv 3489 . . . . . 6 (∀𝑥(𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜑)) ↔ ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
138, 12bitri 278 . . . . 5 (∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
14132albii 1852 . . . 4 (∀𝑦∀𝑧∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ∀𝑦∀𝑧((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
156, 14bitri 278 . . 3 (∀𝑥∀𝑦∀𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵)) → 𝜑) ↔ ∀𝑦∀𝑧((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
165, 15bitri 278 . 2 (∀𝑥(𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑦∀𝑧((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → 𝜓))
17 df-ral 3077 . 2 (∀𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵)𝜑 ↔ ∀𝑥(𝑥 ∈ ∪ 𝑦 ∈ 𝐴 ({𝑦} × 𝐵) → 𝜑))
18 r2al 3198 . 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 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ∀wral 3076  {csn 4583  ⟨cop 4589  ∪ ciun 4950   × cxp 5648
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-iun 4952  df-opab 5167  df-xp 5656  df-rel 5657
This theorem is used by:  rexiunxp  5816  ralxp  5817  fmpox  8078  ovmptss  8104  filnetlem4  37169
  Copyright terms: Public domain W3C validator