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

Theorem raliunxp 5167
Description: Write a double restricted quantification as one universal quantifier. In this version of ralxp 5169, 𝐵(𝑦) 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 5165 . . . . . 6 (𝑥 𝑦𝐴 ({𝑦} × 𝐵) ↔ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)))
21imbi1i 337 . . . . 5 ((𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ (∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
3 19.23vv 1888 . . . . 5 (∀𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ (∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
42, 3bitr4i 265 . . . 4 ((𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
54albii 1735 . . 3 (∀𝑥(𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑥𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
6 alrot3 2023 . . . 4 (∀𝑥𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ∀𝑦𝑧𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
7 impexp 460 . . . . . . 7 (((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ (𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦𝐴𝑧𝐵) → 𝜑)))
87albii 1735 . . . . . 6 (∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ∀𝑥(𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦𝐴𝑧𝐵) → 𝜑)))
9 opex 4849 . . . . . . 7 𝑦, 𝑧⟩ ∈ V
10 ralxp.1 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
1110imbi2d 328 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (((𝑦𝐴𝑧𝐵) → 𝜑) ↔ ((𝑦𝐴𝑧𝐵) → 𝜓)))
129, 11ceqsalv 3201 . . . . . 6 (∀𝑥(𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦𝐴𝑧𝐵) → 𝜑)) ↔ ((𝑦𝐴𝑧𝐵) → 𝜓))
138, 12bitri 262 . . . . 5 (∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ((𝑦𝐴𝑧𝐵) → 𝜓))
14132albii 1736 . . . 4 (∀𝑦𝑧𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ∀𝑦𝑧((𝑦𝐴𝑧𝐵) → 𝜓))
156, 14bitri 262 . . 3 (∀𝑥𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ∀𝑦𝑧((𝑦𝐴𝑧𝐵) → 𝜓))
165, 15bitri 262 . 2 (∀𝑥(𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑦𝑧((𝑦𝐴𝑧𝐵) → 𝜓))
17 df-ral 2896 . 2 (∀𝑥 𝑦𝐴 ({𝑦} × 𝐵)𝜑 ↔ ∀𝑥(𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑))
18 r2al 2918 . 2 (∀𝑦𝐴𝑧𝐵 𝜓 ↔ ∀𝑦𝑧((𝑦𝐴𝑧𝐵) → 𝜓))
1916, 17, 183bitr4i 290 1 (∀𝑥 𝑦𝐴 ({𝑦} × 𝐵)𝜑 ↔ ∀𝑦𝐴𝑧𝐵 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wa 382  wal 1472   = wceq 1474  wex 1694  wcel 1975  wral 2891  {csn 4120  cop 4126   ciun 4445   × cxp 5022
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1711  ax-4 1726  ax-5 1825  ax-6 1873  ax-7 1920  ax-9 1984  ax-10 2004  ax-11 2019  ax-12 2031  ax-13 2228  ax-ext 2585  ax-sep 4699  ax-nul 4708  ax-pr 4824
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1866  df-clab 2592  df-cleq 2598  df-clel 2601  df-nfc 2735  df-ral 2896  df-rex 2897  df-rab 2900  df-v 3170  df-sbc 3398  df-csb 3495  df-dif 3538  df-un 3540  df-in 3542  df-ss 3549  df-nul 3870  df-if 4032  df-sn 4121  df-pr 4123  df-op 4127  df-iun 4447  df-opab 4634  df-xp 5030  df-rel 5031
This theorem is referenced by:  rexiunxp  5168  ralxp  5169  fmpt2x  7098  ovmptss  7118  filnetlem4  31348
  Copyright terms: Public domain W3C validator