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

Theorem ralxpxfr2d 3298
Description: Transfer a universal quantifier between one variable with pair-like semantics and two. (Contributed by Stefan O'Rear, 27-Feb-2015.)
Hypotheses
Ref Expression
ralxpxfr2d.a 𝐴 ∈ V
ralxpxfr2d.b (𝜑 → (𝑥𝐵 ↔ ∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴))
ralxpxfr2d.c ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
Assertion
Ref Expression
ralxpxfr2d (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶𝑧𝐷 𝜒))
Distinct variable groups:   𝜑,𝑥,𝑧   𝜑,𝑦,𝑥   𝜓,𝑦   𝜓,𝑧   𝑥,𝐴   𝑥,𝐶   𝑥,𝐷   𝜒,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦,𝑧)   𝐴(𝑦,𝑧)   𝐵(𝑥,𝑦,𝑧)   𝐶(𝑦,𝑧)   𝐷(𝑦,𝑧)

Proof of Theorem ralxpxfr2d
StepHypRef Expression
1 df-ral 2901 . . . 4 (∀𝑥𝐵 𝜓 ↔ ∀𝑥(𝑥𝐵𝜓))
2 ralxpxfr2d.b . . . . . 6 (𝜑 → (𝑥𝐵 ↔ ∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴))
32imbi1d 330 . . . . 5 (𝜑 → ((𝑥𝐵𝜓) ↔ (∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓)))
43albidv 1836 . . . 4 (𝜑 → (∀𝑥(𝑥𝐵𝜓) ↔ ∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓)))
51, 4syl5bb 271 . . 3 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓)))
6 ralcom4 3197 . . . 4 (∀𝑦𝐶𝑥𝑧𝐷 (𝑥 = 𝐴𝜓) ↔ ∀𝑥𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓))
7 ralcom4 3197 . . . . 5 (∀𝑧𝐷𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑥𝑧𝐷 (𝑥 = 𝐴𝜓))
87ralbii 2963 . . . 4 (∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑥𝑧𝐷 (𝑥 = 𝐴𝜓))
9 r19.23v 3005 . . . . . . 7 (∀𝑧𝐷 (𝑥 = 𝐴𝜓) ↔ (∃𝑧𝐷 𝑥 = 𝐴𝜓))
109ralbii 2963 . . . . . 6 (∀𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶 (∃𝑧𝐷 𝑥 = 𝐴𝜓))
11 r19.23v 3005 . . . . . 6 (∀𝑦𝐶 (∃𝑧𝐷 𝑥 = 𝐴𝜓) ↔ (∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓))
1210, 11bitr2i 264 . . . . 5 ((∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓))
1312albii 1737 . . . 4 (∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓) ↔ ∀𝑥𝑦𝐶𝑧𝐷 (𝑥 = 𝐴𝜓))
146, 8, 133bitr4ri 292 . . 3 (∀𝑥(∃𝑦𝐶𝑧𝐷 𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓))
155, 14syl6bb 275 . 2 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓)))
16 ralxpxfr2d.c . . . . . 6 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
1716pm5.74da 719 . . . . 5 (𝜑 → ((𝑥 = 𝐴𝜓) ↔ (𝑥 = 𝐴𝜒)))
1817albidv 1836 . . . 4 (𝜑 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑥(𝑥 = 𝐴𝜒)))
19 ralxpxfr2d.a . . . . 5 𝐴 ∈ V
20 biidd 251 . . . . 5 (𝑥 = 𝐴 → (𝜒𝜒))
2119, 20ceqsalv 3206 . . . 4 (∀𝑥(𝑥 = 𝐴𝜒) ↔ 𝜒)
2218, 21syl6bb 275 . . 3 (𝜑 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ 𝜒))
23222ralbidv 2972 . 2 (𝜑 → (∀𝑦𝐶𝑧𝐷𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑦𝐶𝑧𝐷 𝜒))
2415, 23bitrd 267 1 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶𝑧𝐷 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  wal 1473   = wceq 1475  wcel 1977  wral 2896  wrex 2897  Vcvv 3173
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-v 3175
This theorem is referenced by:  ralxpmap  7793
  Copyright terms: Public domain W3C validator