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

Theorem raliunxp 5405
Description: Write a double restricted quantification as one universal quantifier. In this version of ralxp 5407, 𝐵(𝑦) 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 5403 . . . . . 6 (𝑥 𝑦𝐴 ({𝑦} × 𝐵) ↔ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)))
21imbi1i 338 . . . . 5 ((𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ (∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
3 19.23vv 2009 . . . . 5 (∀𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ (∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
42, 3bitr4i 267 . . . 4 ((𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
54albii 1884 . . 3 (∀𝑥(𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑥𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
6 alrot3 2175 . . . 4 (∀𝑥𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ∀𝑦𝑧𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑))
7 impexp 461 . . . . . . 7 (((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ (𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦𝐴𝑧𝐵) → 𝜑)))
87albii 1884 . . . . . 6 (∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ∀𝑥(𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦𝐴𝑧𝐵) → 𝜑)))
9 opex 5069 . . . . . . 7 𝑦, 𝑧⟩ ∈ V
10 ralxp.1 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
1110imbi2d 329 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (((𝑦𝐴𝑧𝐵) → 𝜑) ↔ ((𝑦𝐴𝑧𝐵) → 𝜓)))
129, 11ceqsalv 3361 . . . . . 6 (∀𝑥(𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦𝐴𝑧𝐵) → 𝜑)) ↔ ((𝑦𝐴𝑧𝐵) → 𝜓))
138, 12bitri 264 . . . . 5 (∀𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ((𝑦𝐴𝑧𝐵) → 𝜓))
14132albii 1885 . . . 4 (∀𝑦𝑧𝑥((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ∀𝑦𝑧((𝑦𝐴𝑧𝐵) → 𝜓))
156, 14bitri 264 . . 3 (∀𝑥𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) → 𝜑) ↔ ∀𝑦𝑧((𝑦𝐴𝑧𝐵) → 𝜓))
165, 15bitri 264 . 2 (∀𝑥(𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑) ↔ ∀𝑦𝑧((𝑦𝐴𝑧𝐵) → 𝜓))
17 df-ral 3043 . 2 (∀𝑥 𝑦𝐴 ({𝑦} × 𝐵)𝜑 ↔ ∀𝑥(𝑥 𝑦𝐴 ({𝑦} × 𝐵) → 𝜑))
18 r2al 3065 . 2 (∀𝑦𝐴𝑧𝐵 𝜓 ↔ ∀𝑦𝑧((𝑦𝐴𝑧𝐵) → 𝜓))
1916, 17, 183bitr4i 292 1 (∀𝑥 𝑦𝐴 ({𝑦} × 𝐵)𝜑 ↔ ∀𝑦𝐴𝑧𝐵 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  wal 1618   = wceq 1620  wex 1841  wcel 2127  wral 3038  {csn 4309  cop 4315   ciun 4660   × cxp 5252
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1859  ax-4 1874  ax-5 1976  ax-6 2042  ax-7 2078  ax-9 2136  ax-10 2156  ax-11 2171  ax-12 2184  ax-13 2379  ax-ext 2728  ax-sep 4921  ax-nul 4929  ax-pr 5043
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1623  df-ex 1842  df-nf 1847  df-sb 2035  df-clab 2735  df-cleq 2741  df-clel 2744  df-nfc 2879  df-ral 3043  df-rex 3044  df-rab 3047  df-v 3330  df-sbc 3565  df-csb 3663  df-dif 3706  df-un 3708  df-in 3710  df-ss 3717  df-nul 4047  df-if 4219  df-sn 4310  df-pr 4312  df-op 4316  df-iun 4662  df-opab 4853  df-xp 5260  df-rel 5261
This theorem is referenced by:  rexiunxp  5406  ralxp  5407  fmpt2x  7392  ovmptss  7414  filnetlem4  32653
  Copyright terms: Public domain W3C validator